Blender Git Commit Log

Git Commits -> Revision f157373

Revision f157373 by Julian Eisel (master)
April 5, 2020, 12:49 (GMT)
UI: Support split property layout for pointer search buttons

Pointer search buttons created with `uiItemPointerR()` (which allows
also passing a collection property to search in) did not work with the
split property layout (i.e. `uiLayout.use_property_split`).
For example vertex group search buttons typically use this.

Note that decorators (`uiLayout.use_property_decorate`) are not
supported yet. Although if they are enabled, the decorator column is
still created to keep the layout alignment visually intact. Also re-uses
the existing hack to allow placing multiple items in the row before the
decorator column.

Needed for some in-progress changes to the modifier stack UI.

Commit Details:

Full Hash: f1573731bc8b80c03ef5db4292568781969846c3
Parent Commit: 3e8a818
Lines Changed: +38, -22

2 Modified Paths:

/source/blender/editors/interface/interface_layout.c (+37, -21) (Diff)
/source/blender/editors/interface/interface_templates.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021