Re: [codenameone-discussions] UWP Overflow menu commands stopped displaying correctly

2016-09-08 Thread Steve Hannah
This is now fixed.  Will be on the build server soon.  (I think tomorrow,
but don't quote me on that).

Steve

On Wed, Aug 31, 2016 at 9:58 PM, Bryan Buchanan  wrote:

> On Thursday, September 1, 2016 at 2:56:17 PM UTC+10, Steve Hannah wrote:
>>
>> OK.  So not a regression.  Just a problem with windows store builds that
>> was probably always there.  Lovely.
>>
>
> Quite likely.
>
> Isn't being a software developer such fun :)
>
> --
> 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/7ef2982e-0e4a-448d-8b25-
> b13491ba5c64%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
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/CAGOYrKVqX7dotCSZT0G%2BtG0xBG%2B6GTEQ%2BSDA6eQDnOgDWP%2BKCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] UWP Overflow menu commands stopped displaying correctly

2016-08-31 Thread Bryan Buchanan
On Thursday, September 1, 2016 at 1:39:13 PM UTC+10, Steve Hannah wrote:
>
> Was the good build last week a debug build or a windows store build?
>
>
Debug. 

-- 
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/105878f7-039d-4e07-8731-1431194712f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] UWP Overflow menu commands stopped displaying correctly

2016-08-31 Thread Bryan Buchanan
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+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/d0a62297-4f77-4f40-a229-78cc6f781833%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] UWP Overflow menu commands stopped displaying correctly

2016-08-31 Thread Bryan Buchanan
Last week.

On Thursday, September 1, 2016 at 9:28:38 AM UTC+10, Steve Hannah wrote:
>
> Strange.  When was your last known good 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+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/f88a45f7-14ec-4e82-9972-f3d96febb554%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] UWP Overflow menu commands stopped displaying correctly

2016-08-31 Thread Steve Hannah
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 
wrote:

> Strange.  When was your last known good build?
>
>
> On Wednesday, 31 August 2016, Bryan Buchanan  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
>> 
>> .
>> 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.


Re: [codenameone-discussions] UWP Overflow menu commands stopped displaying correctly

2016-08-31 Thread Steve Hannah
Strange.  When was your last known good build?

On Wednesday, 31 August 2016, Bryan Buchanan  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/
> 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.
>


-- 
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/CAGOYrKUBZYBb5yQEePEaAC7qHgHFjf_qzXyC_Wwn%3DUhC%3DQ7NBQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.