diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-30 15:03:04 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-30 15:03:04 +0300 |
commit | 8ab2c6c2a27f888602ea05afaf05a75ecca9bf02 (patch) | |
tree | f6160a88fa05ae2fc6b34c04d96f5cc637f40ba4 /src/ui/text.h | |
parent | 23f70040368e8d5577f89b2bacf303b5dac8561f (diff) |
Widget: Arrangement debugging; min size
There is a problem with repeated arrangements: the previous set sizes affect subsequent outcomes. This results in Preferences not being able to reduce in size, only to expand.
It should be possible to reset sizes back to zero/minimum size before starting an arrangement, but LabelWidget needs to cooperate by using `minSize` to set its default size. `minSize` is preferable to fixedSize because then the widget can go through the usual arranging logic.
To be continued at a later time...
Diffstat (limited to 'src/ui/text.h')
0 files changed, 0 insertions, 0 deletions