Two Questions around flex table sizing and

2009-06-18 Thread bpetro

I'm creating a header which has three columns - the middle of which is
the main title.  The left is a logout link and the right is an
image...

Question1:  Is there a way to force centering the middle column to the
page instead of just within the cell itself?  One approach is to
ensure the cells on the left and right are equal sizes... is there
another solution as well?

Working on trying to make two outside cells being equal sizes leads to
another question.  If I hide the logout link during the login screen
- the remaining two cells shift around.  Is there a way to hide the
contents of a cell but keep its sizing as is?

THANKS!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Two Questions around flex table sizing and

2009-06-18 Thread Bruce Petro
OK, I hate to answer my own question, but I think I found how to solve
question #2 - which more or less solves Question #1 (although if anyone has
another technique I'd love to hear about it).  So, if anyone else is
researching this - here's a solution to maintaining cell sizing after hiding
its contents.

Performing the following on the cell itself appears to then maintain it's
size after the link is hidden.

flexTable.getCellFormatter().setWidth( 0, 0, 150);


On Thu, Jun 18, 2009 at 4:33 PM, bpetro brucepe...@gmail.com wrote:


 I'm creating a header which has three columns - the middle of which is
 the main title.  The left is a logout link and the right is an
 image...

 Question1:  Is there a way to force centering the middle column to the
 page instead of just within the cell itself?  One approach is to
 ensure the cells on the left and right are equal sizes... is there
 another solution as well?

 Working on trying to make two outside cells being equal sizes leads to
 another question.  If I hide the logout link during the login screen
 - the remaining two cells shift around.  Is there a way to hide the
 contents of a cell but keep its sizing as is?

 THANKS!
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---