I have a dialog (filter options) that shows when a command button on the
right of the title bar get pressed. Currently it pops to the center of the
screen, how can I get it to pop to the upper right?
Command cmdFilter = new Command("",
FontImage.createMaterial(FontImage.MATERIAL_FILTER_LIST,
UIManager.getInstance().getComponentStyle("Command"))) {
public void actionPerformed(com.codename1.ui.events.ActionEvent ev) {
onFilter();
}
};
this.getToolbar().addCommandToRightBar(cmdFilter);
protected void onFilter() {
dlgFilter.show();
MessageBox.OK("canceled:" + dlgFilter.Cancelled, "Result");
}
I tried showPacked, but that only supports NORTH or EAST not NORTHEAST
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/7f712b1f-a5c4-4415-bc4d-e365cb883ca5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.