Blender Git Loki

Git Commits -> Revision 478ba53

Revision 478ba53 by Yevgeny Makarov (master)
December 20, 2020, 17:27 (GMT)
UI: Fix text padding in some list widgets

Normally, pure text buttons have no padding at their edges so they
align with edges of buttons, see D9058. However, in several cases
there are labels aligned to the right side of a list widget row,
so they're missing padding against the right edge.

The fix is to use emboss = 'NONE' for such labels, which changes
the drawing style, adding padding on the right edge. (Normally so
labels aligned with the text from non-embossed buttons). This is
not necessarily intended, but it works properly.

For more information, see the revision.

Differential Revision: https://developer.blender.org/D9874

Commit Details:

Full Hash: 478ba532700fa4c2bbcccfd821d1386653729fb5
Parent Commit: 16527eb
Committed By: Hans Goudey
Lines Changed: +5, -2

3 Modified Paths:

/release/scripts/startup/bl_ui/properties_data_hair.py (+2, -1) (Diff)
/release/scripts/startup/bl_ui/properties_data_pointcloud.py (+2, -1) (Diff)
/release/scripts/startup/bl_ui/properties_data_volume.py (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021