You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Scrolltable on a tabPanel, were scrollTable tab panel is not visible (
not selected tab ).
2. Executing the table.fillWidth() method.
3. Select the tab where's the ScrollTable.
What is the expected output? What do you see instead?
When the ScrollTable tab is selected ( visible ) the fillWidth() runs
properly, but when this is not selected (unvisible) the fillWidth makes
nothing.
What version of the product are you using? On what operating system?
GWT 1.4.6, and Ubuntu Feisty
Please provide any additional information below.
Because I resize several widget areas ( some not always visible, like some
unvisible tabs on a tabPanel ) it'll be good, that the table column adjust
be fired before any resizing ( visible or unvisible tab ).
Actual way to solve it, on my case, is every time I set visible a tab with
a scrollPanel then fire the fillWidth method.
Original issue reported on code.google.com by darkman...@gmail.com on 22 Oct 2007 at 9:38
The text was updated successfully, but these errors were encountered:
The ScrollTable must be visible for fillWidth to work properly. If the
ScrollTable
is not visible, its clientWidth is 0, so we have no way of determining how much
width
is available to fill.
However, you can set the policy to RESIZE_POLICY_FILL_WIDTH, which will
automatically
try to fill the width every time the ScrollTable becomes visible.
scrollTable.setResizePolicy(ScrollTable.RESIZE_POLICY_FILL_WIDTH);
Original comment by gwt.team...@gmail.com on 28 Jan 2008 at 10:50
Original issue reported on code.google.com by
darkman...@gmail.com
on 22 Oct 2007 at 9:38The text was updated successfully, but these errors were encountered: