Use the show(int int int int) method and specify your margins

On Thu, 18 Mar 2021, 14:45 'P5music' via CodenameOne Discussions, <
[email protected]> wrote:

> @Javier that works but it seems a bit extreme: the dialogs now are on the
> top part of the interface.
>
> Il giorno giovedì 18 marzo 2021 alle 10:16:12 UTC+1 [email protected]
> ha scritto:
>
>> I assume you are talking about InteractionDialog. There is a method
>> setFormMode that switches drawing over toolbar I believe
>>
>> On Thu, 18 Mar 2021 at 09:11, 'P5music' via CodenameOne Discussions <
>> [email protected]> wrote:
>>
>>> Sorry,
>>> what I wrote is misleading, the issue is that the topbar being huge, the
>>> dialogs are overflowing at the bottom, they are in good shape, like they
>>> are in portrait mode. Just there is not enough space. Maybe I have to use
>>> smaller text and optimize spacings.
>>>
>>>
>>> Il giorno giovedì 18 marzo 2021 alle 09:54:50 UTC+1 [email protected]
>>> ha scritto:
>>>
>>>> Are you placing a TextArea/SpanLabel in your Dialog? If so, you need to
>>>> recalculate its size after shown and resize it
>>>>
>>>> On Thu, 18 Mar 2021 at 08:40, 'P5music' via CodenameOne Discussions <
>>>> [email protected]> wrote:
>>>>
>>>>> I am testing my CodenameOne app on real Android device or emulators,
>>>>> and I see that in landscape mode it can happens that dialogs, even small
>>>>> ones, are in bad positioning ad their buttons does not appear.
>>>>>
>>>>> I have some long dialogs, like the license disclaimer, that are
>>>>> scrollable and it solves for it.
>>>>>
>>>>> But I cannot make small dialogs scrollable just to see the buttons.
>>>>>
>>>>> So is it possible to have a better positioning of dialogs?
>>>>> The screen space is severely limited by the topbar, that is huge.
>>>>> Many dialogs are truncated, some of them are not readable at all.
>>>>>
>>>>> Is there a solution?
>>>>>
>>>>> --
>>>>> 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/1d9f520b-e177-4e13-a446-9e2afabc9b15n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/codenameone-discussions/1d9f520b-e177-4e13-a446-9e2afabc9b15n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>> 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/69eb571b-415c-4b31-a351-06db52366c6bn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/codenameone-discussions/69eb571b-415c-4b31-a351-06db52366c6bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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/87a44294-fb0d-4834-a57a-85641509d773n%40googlegroups.com
> <https://groups.google.com/d/msgid/codenameone-discussions/87a44294-fb0d-4834-a57a-85641509d773n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAG90yJ3r8e_bz8Y_yzH0CAfYRUmLzXYnCA2gkf%2BFNqEhDxkadw%40mail.gmail.com.

Reply via email to