Jump to content

Recommended Posts

Posted

Are there plans to add alignment widgets to the toolkit?

Toolkits, such as NanoGUI, have layout widgets that control how the contained widgets are laid out and their centering.

Posted

Yes I have watched the video. The "Bottom Panel" gives me the parent arrangement I want, but now I have to go in an manually calculate the button positions within that panel, and keep that up to date as the UI is resized.

I think I see how I can accomplish what I am after. If I subclass Panel, I can create a HorizontalPanel and VerticalPanel that will recenter the content on a call to UpdateLayout(?).

Posted

You could also use ListenEvent to catch the window resize event and then adjust the shape of whatever widgets you want to modify.

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

This is a good question. It may on some systems, and it may under some conditions, like if the specified size of the window is bigger than the maximum size, and it has to be adjusted.

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

Hi!

I was on vacation the last 2 weeks so i couldn't reply earlier. Take a look here: 

I am currently working on a full featured layout system with Container Gadgets which will work like (kind of) the way you can layout things in xaml or in other GUI libraries. I will post more info on that new system in a later blog entry but in general it should work the way you described. There will be Container, Grid, Flow, Stackpanel and other widgets to control the layout as well as additional layouting features (Alignment, Margin, Padding, etc.)

 

  • Like 1
  • Windows 10 Pro 64-Bit-Version
  • NVIDIA Geforce 1080 TI
Posted
7 hours ago, klepto2 said:

I was on vacation the last 2 weeks so i couldn't reply earlier. Take a look here: 

Found the European! :P

My job is to make tools you love, with the features you want, and performance you can't live without.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...