Skip to main content

2 GUI Features

2 replies [Last post]
Anonymous

Hi all,

I place this question here first, since I am not sure if its doable out
of the box:

1) Instead of a menu bar taking the whole space of the bottom I would
like just 2 soft bottoms left & right of the bottom screen (and normal
screen in the middle) as menus as you see it a lot in mobile apps.

2) I would like to have dialogs that auto-layout / shrink/expand
depending on content. Right now Dialogs always have a minimum size which
in my cases is often too big and doesn't look nice.

Cheers Ben
[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Shai Almog

Hi,

> 1) Instead of a menu bar taking the whole space of the bottom I would
> like just 2 soft bottoms left & right of the bottom screen (and normal
> screen in the middle) as menus as you see it a lot in mobile apps.
>
You can use a softbutton area image with transparency in the middle but
this won't pass touch events through that area.

> 2) I would like to have dialogs that auto-layout / shrink/expand
> depending on content. Right now Dialogs always have a minimum size
> which in my cases is often too big and doesn't look nice.
>
Either use showPacked in dialog or use Dialog.setDefaultDialogPosition

>
> Cheers Ben
>

[att1.html]

Klemens

Hi,

I already asked question 1) a while ago here:
http://forums.java.net/jive/thread.jspa?messageID=338106
So it seems that there is no real solution for this issue without
re-implementing the menu bar...

Regards

On 24.05.2009 06:58, Shai Almog wrote:
> Hi,
>
>> 1) Instead of a menu bar taking the whole space of the bottom I would
>> like just 2 soft bottoms left & right of the bottom screen (and
>> normal screen in the middle) as menus as you see it a lot in mobile
>> apps.
>>
> You can use a softbutton area image with transparency in the middle
> but this won't pass touch events through that area.
>
>> 2) I would like to have dialogs that auto-layout / shrink/expand
>> depending on content. Right now Dialogs always have a minimum size
>> which in my cases is often too big and doesn't look nice.
>>
> Either use showPacked in dialog or use Dialog.setDefaultDialogPosition
>
>>
>> Cheers Ben
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net