Files
test/source/blender
Campbell Barton c7d94a7827 UI: avoid excessive padding for labels in headers
Labels in headers reserved space for an icon even when no icon was used.

This is caused by the shared function ui_text_icon_width adding 1.5x
a buttons X-units width the the width of the string.

Menu buttons detected this and subtracted the extra padding.

Instead of adding the same workaround for labels,
add ui_text_icon_width_ex that takes a padding argument.

Add presets for 'default', 'compact' and 'none' to avoid duplicating
padding values.

This allows removal of hard-coded label scaling for the add-object tool.
2021-09-28 14:36:52 +10:00
..
2021-03-29 19:11:17 -06:00
2021-09-24 11:31:23 +10:00
2021-09-27 21:04:34 +10:00
2021-09-24 11:31:23 +10:00
2021-09-27 13:29:53 -05:00
2021-09-23 22:08:02 +10:00
2021-08-02 15:22:54 +10:00
2021-09-17 12:22:00 +02:00