5.wxWidgets – Layouts


The main power of wxWidgets is in its layout management. All modern UI frameworks are responsive i.e the GUI arranges itself based on changes in the size of the window or frame. wxWidgets supports both Absolute Positioning and Dynamic Positioning.

Absolute Positioning creates a fixed layout where the positioning and sizing of the controls and widgets will not change even if the window size changes.

Dynamic Positioning is responsive and the layout of the controls is rearranged when the window size changes. Dynamic Positioning is done by using Sizers. There are various kinds of Sizers depending on the need. We will look into each in the coming sections.

Be the first to comment

Leave a Reply

Your email address will not be published.