B4J Question Resize / autoresize

postasat

Active Member
Licensed User
Longtime User
Hi,

I have a form with a lot of label, pane and some buttons and imageview.
I set the layout variant to 1280x800.

When I run it for example on a screen 1920x1080, if I switch to fullscreen, all the object remain with the same size and I lost my form layout.

Is it possible to resize all object (in an easy mode) when the form size change ?

Thank you.
 

postasat

Active Member
Licensed User
Longtime User
Hi,
thank you for tutorial link, but for my form is not useful because I have a lot of pane with inside a lot of label.
See image.

I think I must use the event
B4X:
Sub MainForm_Resize (Width As Double, Height As Double)
.

Programmatically with Mainform_resize I must resize every single item on my form.
I hope in something more easy and fast to resize all the items.

Thank you.
 

Attachments

  • example.png
    example.png
    31.8 KB · Views: 267
Upvote 0
Top