No, this is not my case.
I don't use setOnTopSideMenu(false)
and I alredy call setAllowEnableLayoutOnPaint(true).

Base on your reply I experimented with setAllowEnableLayoutOnPaint(true) 
and I found out, that when I break the code on this istruction (in 
debugger) and then let it continue it works as expected.
But when it runs normaly it does not work (the button still disappeares).
It seems to be some kind of race condition, but I'm not able to resolve it 
....

Dátum: sobota 24. októbra 2020, čas: 7:36:36 UTC+2, odosielateľ: Shai Almog

> Hi,
> could it be related to this: 
> https://stackoverflow.com/questions/64503017/the-menu-button-disappear
>
> On Friday, October 23, 2020 at 10:26:23 PM UTC+3 Ivan wrote:
>
>> Hi guys,
>>
>> I started to use left side menu in my application and I have following 
>> issue.
>> Whenever Toolbar.closeSideMenu (or closeLeftSideMenu) method is called 
>> (either programatically or clicking outside the menu to close it) the 
>> overflow menu button disappeares (and back button sometimes too)
>> Using component browser I found out that button is still present but has 
>> zero size.
>> I need to call Toobar.revalidate() to show it again.
>>
>> Is it bug or how can I get rid of this behavior?
>>
>> Thanks
>> Ivan
>>
>> Tested in simulator and android device too (Xiaomi Redmi Note 6 Pro, 
>> Android 9) 
>>
>>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/a0311f32-0122-4271-ba9f-b3c293482fc6n%40googlegroups.com.

Reply via email to