This is a toolstrip:
Its being added to
I've tried adding hieghts, etc... I also tried absolute positioning, no beuno. This seems so simple. I also saw something about using the watch tab of the console to debug layout. I couldn't really figure out how these messages helped me?
I'd really appreciate some help.
Its being added to
Code:
final VLayout gridLayout = new VLayout();
gridLayout.setSize("100%", "100%");
gridLayout.setDefaultLayoutAlign(VerticalAlignment.CENTER);
topMenu = setupToolStrip();
setupToolStrip method:
final ToolStrip ts = new ToolStrip();
ts.setDefaultLayoutAlign(VerticalAlignment.CENTER);
ts.setHeight(52);
ts.addSeparator();
Label fltrLabel = new Label("Active Filter");
fltrLabel.setWidth(75);
ts.addMember(fltrLabel);
DynamicForm form = new DynamicForm();
form.setHeight(52);
form.setStyleName("filterDropDown", true);
form.setItemLayout(FormLayoutType.TABLE);
form.setLayoutAlign(VerticalAlignment.CENTER);
activeFilter = new SelectItem("activeFilter", "");
activeFilter.setAlign(Alignment.RIGHT);
activeFilter.setTextAlign(Alignment.CENTER);
//activeFilter.setHeight(20);
activeFilter.setValueMap(activeValueMap);
activeFilter.setAlign(Alignment.CENTER);
activeFilter.setValue("Show All");
activeFilter.addChangedHandler(filterChangedHandler());
form.setItems(activeFilter);
ts.addMember(form);
ts
I've tried adding hieghts, etc... I also tried absolute positioning, no beuno. This seems so simple. I also saw something about using the watch tab of the console to debug layout. I couldn't really figure out how these messages helped me?
I'd really appreciate some help.