If the container inside the InteractionDialog is created before, and then 
added to the dialog, is it possible or sensible to  measure it and set the 
dimensions like that?
(centering should be easy given the screen width/height values)

Il giorno mercoledì 2 dicembre 2020 alle 04:29:50 UTC+1 Shai Almog ha 
scritto:

> These APIs were never migrated from Dialog but probably should be. This 
> would be a relatively easy task for a PR.
>
> On Tuesday, December 1, 2020 at 10:59:29 PM UTC+2 P5music wrote:
>
>> InteractionDialog is suitable for me when I have BrowserComponents in the 
>> layout, because it is not blocking the BC itself.
>> It is a special dialog because I have to pass top, bottom, left, right 
>> parameters but I would like to reproduce the common behaviour of a dialog.
>> I used to create dialogs with containers and the size was automatically 
>> established, and the position was centered.
>> How can I have this behaviour in a simple way?
>> Thanks in advance
>>
>

-- 
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/c2b34349-0db7-40e7-bb86-b6b89349383bn%40googlegroups.com.

Reply via email to