Threaded View
-
26 Jul 2011 10:16 PM #1
HBoxLayoutContainer displays items in a column, not in a row
HBoxLayoutContainer displays items in a column, not in a row
HBoxLayoutContainer displays items contained in a column, not in a row.
I tried different usecases - with boxlayoutdata and without, setting Text component width and without setting the width, using Margins and not using margins, the output is the same:Code:Window w = new Window(); HBoxLayoutContainer lcHbox = new HBoxLayoutContainer(); Text t1 = new Text("first"); Text t2 = new Text("second"); t1.setWidth(40); t2.setWidth(60); lcHbox.add(t1); lcHbox.add(t2); w.setWidget(lcHbox); w.show();
first
second
and not first second.
Firebug shows, that both HBoxLayoutContainer and VBoxLayoutContainer uses the same css class.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote