From: Jamie C. <jca...@we...> - 2003-07-22 22:51:15
|
On Wed, 2003-07-23 at 02:51, Rainer Drop wrote: > Hi, > > JC> Yeah, I really need to modify the layout for the button bar, so that > JC> icons go onto a second row if there is no space for them. Currently, the > JC> window has to be at less than 900 pixels wide for the icons to be shrunk > JC> down by removing the labels under them, so that they fit on smaller > JC> screens. However, this 900 pixel limit is a bit of a guess, since some > JC> people (like yourself) may have a browser window wider than 900, but > JC> still too small to fit in the icons .. it all depends on the font and > JC> browser in use. > > JC> - Jamie > As you mention this, I recognized that the button bar kind of wraps > around but the directory- and filewindows dont resize vertically. I > can see the top edges of the missing buttons on the left side of the > window while the rest of them hide behind the directory pane. > Hope that helps... It seems that the standard Java class for putting buttons in a row (FlowLayout) doesn't do wrapping, which is the cause of this problem. However, in the next Webmin release I'll use a different class that does do wrapping, so if your window is too narrow the icons are shown in two rows. - Jamie |