Custom layouts
It's likely that your application has requirements that are different to standard layouts or more complicated than the toolkit's API supports. Using standard layouts where possible is recommended but that doesn't have to mean giving up on your ideal application design. Every toolkit supports custom layouts in some manner that you can make use of to fill the gaps in the available standard layouts. When implementing a custom layout in this manner, the basic approach is to set a fixed position for each component within the parent container. To better adapt to the available screen space, remember to factor in the current width and height of the interface; it's often easier to implement using ratios or percentages rather than absolute ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access