public void addOverflowMenuCommands(final Form f) {
Image im = FontImage.createMaterial(FontImage.MATERIAL_PLACE, UIManager.getInstance().getComponentStyle("Command"));
Image sel = FontImage.createMaterial(FontImage.MATERIAL_PLACE, UIManager.getInstance().getComponentSelectedStyle("Command"));
for (int i = 0; i < 6; i++) {
final int j = i;
Command command = new Command(addresses[i].getName() + " Store") {
@Override
public void actionPerformed(ActionEvent evt) {
/**
* store form is always created as needs specific stuff
*/
StoreForm store = new StoreForm().init();
store.setup(f, j).show();
}
};
command.setIcon(im);
command.setPressedIcon(sel);
command.setRolloverIcon(sel);
f.getToolbar().addCommandToOverflowMenu(command);
}
}
--
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 codenameone-discussions+unsub...@googlegroups.com.
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/c4dce49b-2d1d-44c4-8f67-6b915a435b25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Strange. When was your last known good build?
Have this code to add overflow menu commands:--public void addOverflowMenuCommands(final Form f) {
Image im = FontImage.createMaterial(FontImage.MATERIAL_PLACE, UIManager.getInstance().getComponentStyle("Command"));
Image sel = FontImage.createMaterial(FontImage.MATERIAL_PLACE, UIManager.getInstance().getComponentSelectedStyle("Command"));
for (int i = 0; i < 6; i++) {
final int j = i;
Command command = new Command(addresses[i].getName() + " Store") {
@Override
public void actionPerformed(ActionEvent evt) {
/**
* store form is always created as needs specific stuff
*/
StoreForm store = new StoreForm().init();
store.setup(f, j).show();
}
};
command.setIcon(im);
command.setPressedIcon(sel);
command.setRolloverIcon(sel);
f.getToolbar().addCommandToOverflowMenu(command);
}
}
Was displaying fine, but a rebuild today displays as attached image. Android image also attached, which is fine.
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 codenameone-discussions+unsubscr...@googlegroups.com.
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/c4dce49b-2d1d-44c4-8f67-6b915a435b25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
UWP Debug build -> works OK
UWP Store Build -> labels are incorrect
--
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 codenameone-discussions+unsub...@googlegroups.com.
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/d0a62297-4f77-4f40-a229-78cc6f781833%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Was the good build last week a debug build or a windows store build?
--
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 codenameone-discussions+unsub...@googlegroups.com.
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/105878f7-039d-4e07-8731-1431194712f6%40googlegroups.com.
OK. So not a regression. Just a problem with windows store builds that was probably always there. Lovely.
--
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 codenameone-discussions+unsub...@googlegroups.com.
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/7ef2982e-0e4a-448d-8b25-b13491ba5c64%40googlegroups.com.