Hi!
I'm trying to resize buttons, tabViews etc.
Obviously, through the primefaces .css.
Any help is welcome,
Thanks.
How to resize components?
hi,
I don't get what you mean with resize...
if you mean at design time you can use style = "width: 200px; height: 400px;" in the component.
or, if you mean from the backbean
you can use style = "#{bean.componentstyle}" and build your own style sentence with the width and height you want at any moment !
or if you mean user can resize the components, watch this:
http://www.primefaces.org/showcase/ui/resizable.jsf
I hope this helps!
I don't get what you mean with resize...
if you mean at design time you can use style = "width: 200px; height: 400px;" in the component.
or, if you mean from the backbean
you can use style = "#{bean.componentstyle}" and build your own style sentence with the width and height you want at any moment !
or if you mean user can resize the components, watch this:
http://www.primefaces.org/showcase/ui/resizable.jsf
I hope this helps!
-
- Posts: 3
- Joined: 07 Jan 2011, 19:00
Thanks!
Your backBean suggestion is exctaly what I need.
Sometimes a simple solution is the last that we try/remember!
Your backBean suggestion is exctaly what I need.
Sometimes a simple solution is the last that we try/remember!
-
- Information
-
Who is online
Users browsing this forum: No registered users and 43 guests