Jump to content

Fit panel to children (components)


neseir

Recommended Posts

Hi

 

Have tried to create panels that resize to the content but it is easier to make panel grow to parent layout than to shrink to create a more tight layou (e.g. a container panel to to hold labels and editboxes where the parent panel resizes to the number of pairs of label and editboxes :

 

Parent panel with VBox layout

-container panel with HBox

--Label1 - Editbox1

-container panel with HBox

--Label2 - Editbox2

 

etc

 

Any suggestion for this ? The layout mechanism in UniGUI is strong but some times tricky to get proper grasp off.

 

Regards

Eirik

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...