Results 1 to 3 of 3

Thread: Love 1.2 JSF/PrimeFaces but...

  1. #1
    Join Date
    Nov 2010
    Location
    Santo Domingo, Albay Philippines
    Posts
    158

    Question Love 1.2 JSF/PrimeFaces but...

    I want to use all the real estate in a browser window, and the Spring Roo generated JSF/PrimeFaces GUI doesn't make that easy. My GUI developer has spent all day trying to get a screen to scale with the browser. I tried changes to .wrapper styleClass to percentage width instead of fixed pixels, and no dice. I tried setting percentage width on the view component, and the menu and content style classes and nothing would let me scale the whole mess up and down with the browser window.

    I am sure it can be done but can't find the secret.

  2. #2
    Join Date
    Dec 2005
    Posts
    935

    Default

    The JSF/PrimeFaces add-on moved to 1024 wide from the 800 that you get with the MVC add-on.

    I was just playing around with the Roo bikeshop sample and just changing the widths in the .wrapper style doesn't work as you have seen, but I also changed the width of the "content" style and this worked.
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  3. #3
    Join Date
    Nov 2010
    Location
    Santo Domingo, Albay Philippines
    Posts
    158

    Default Right

    But 90% instead of 1024px gives me 90% of the panel not of the window.

    Also it doesn't use the layout component with its north south east west and central panes which seems to be more useful and scales with the window.

    I couldn't find a setting in the CSS tree to change the 1024 width overall and suspect it is buried in a jar someplace.

    Ollie

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •