Blender Git Loki

Git Commits -> Revision 972677b

Revision 972677b by Hans Goudey (master)
October 25, 2021, 15:01 (GMT)
UI: Improve layout of custom property edit panel

This patch makes the layout of the custom property panel more coherent
with the rest of the property editor interface, makes it less busy,
allows more space for the buttons for the actual properties, and
simplifies editing values of unsupported property types or long arrays.

- Remove the box around each property.
- Use an non-embossed X icon for deleting.
- Use an "edit" icon instead of the text for the meta-data edit operator.
The "gear" icon used for editing isn't ideal here.
- Increase the max array length for drawing the values directly to 8.
- Add an "Edit Property Value" operator for dictionaries or longer arrays.
- Replace the "Library Override" text with an icon.
- Use a proper split factor, the same as the rest of the UI.

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

Commit Details:

Full Hash: 972677b25e1d84e4c02d0e55b12ce87661faff5e
Parent Commit: a84f1c0
Lines Changed: +101, -63

2 Modified Paths:

/release/scripts/modules/rna_prop_ui.py (+35, -55) (Diff)
/release/scripts/startup/bl_operators/wm.py (+66, -8) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021