1 Reply Latest reply on Feb 24, 2009 9:42 AM by Nick Belaevski

    How to autocentre rich:modalPanel

    Jamon Portu Newbie

      On my page I have modalPanel (which showed by clicking some button); within this modalPanel placed some dynamically data, and act of change this data may prevent to change width/height parametrs of own modalPanel; I build some limits for this properties, but I can't achieve my goal - I want dynamically auto centre my modalPanel.

      What should I do to get these behavior? I think, I may use some code in backin bean, but I don't know how get dynamically user's screen properties - i.e. height and width of visible region.