Blender Git Loki

Git Commits -> Revision 6e8a76c

Revision 6e8a76c by Julian Eisel (master)
August 21, 2019, 08:35 (GMT)
UI: Don't left align operator buttons in toolbars

This hack would make operator (push down) buttons without icons align
their text to the left in toolbars. Everywhere else in Blender, we
center it by default.

We barely use operator buttons in toolbars anymore. Even if we do and
there's a good reason to make text left aligned, it's better to use
`uiLayout.alignment = 'LEFT'` to achieve the same effect, but without
lowish-level hacks for a specific region type.

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

Commit Details:

Full Hash: 6e8a76c96a61d716c02aab4a7ca2ac40d2ae63ff
Parent Commit: f041d2f
Lines Changed: +0, -5

1 Modified Path:

/source/blender/editors/interface/interface_layout.c (+0, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021