I just tried a build with a slight modification of this code (since your
example isn't convex), and it seemed to work fine.

https://gist.github.com/shannah/768a095d2529b9018c48e262c613a3e2

[image: Inline image 1]

On Wed, Aug 31, 2016 at 4:28 PM, Steve Hannah <steve.han...@codenameone.com>
wrote:

> Strange.  When was your last known good build?
>
>
> On Wednesday, 31 August 2016, Bryan Buchanan <bry...@webbtide.com> wrote:
>
>> 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/grou
>> p/codenameone-discussions.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/codenameone-discussions/c4dce49b-2d1d-44c4-8f67-6b915a43
>> 5b25%40googlegroups.com
>> <https://groups.google.com/d/msgid/codenameone-discussions/c4dce49b-2d1d-44c4-8f67-6b915a435b25%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> Steve Hannah
> Software Developer
> Codename One
> http://www.codenameone.com
>
>


-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
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/CAGOYrKVUDXgGmctHk%2BYAWJLh7z0EoqF_D5398N51qaXZwVqNgA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to