qskinny icon indicating copy to clipboard operation
qskinny copied to clipboard

Depending sizeHints

Open uwerat opened this issue 7 years ago • 0 comments

The default size of a SVG provides an aspect ratio, but is usually not very helpful for calculating a good sizeHint. Instead its width or height is often related to the preferred height/width of another control.

Layouts can solve many situations, but f.e when the height of a graphic label depends on the font height of a text label ad both are not horizontally aligned we are lost.

So we need to find an easy to use API for how to make the calculation of the preferred size of one control being dependent from the preferred size of another.

uwerat avatar Aug 31 '17 06:08 uwerat