First time here? Check out the FAQ!
Hi,
I got a ZUL Page, which is aligned by a "borderlayout". In "north" I got a Menubar, which is aligned left.
Now I want 2x Buttons and 2x Labels in "north", on the opposite direction of the Menubar (right).
I tried:
<north border="none">
<hbox width="100%">
<menubar id="menubar" width="380px">
<menu label="A">
<menupopup>
<menuitem label="A1"/>
</menupopup>
</menu>
....
</menubar>
<hbox vflex="1" hflex="1" align="center">
<div hflex="1"></div>
<label id="B"/>
<button id="C" label="C" />
<button id="D" label="D" />
<label id="E"/>
</hbox>
</hbox>
</north>
which looks fine, but when I set a value for label "b" or "e", the design gets broken.
h**p://i.imgur.com/HnRnxmj.png
The top part in the image is the right looking one, while the bottom one is screwed up. Any Idea how to fix this? The buttons are "fixed width" while both labels can "grow".
Thanks
Asked: 2013-10-23 15:53:25 +0800
Seen: 30 times
Last updated: Mar 11 '14
onBookmarkChange and update component via ajax
how to splitter collapse same function work on mover hover?
How splitter panel slide smooth when click on left and right button?
New component not rendering properly
Upload Button dosn't work on chrome
How to open Tab box collapse with link ?
</menubar> <hbox vflex="1" hflex="1" align="center" pack="end"> <label id="B"/>
IngoB ( 2013-10-24 12:19:08 +0800 )edit