Blender Git Commit Log

Git Commits -> Revision da02624

Revision da02624 by Bastien Montagne (master)
January 10, 2017, 15:24 (GMT)
UI Layout: fix some cases mixing fixed and expandable sizes

When layout has only small buttons (buttons with icon and without label)
its size should be fixed. Code was modified to be able to add a new UI_ITEM_MIN
flag which indicates that the layout has only small fixed-width buttons.

Patch by @raa, with minor style edits by @mont29.

Reviewers: Severin, mont29

Reviewed By: mont29

Tags: #bf_blender, #user_interface

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

Commit Details:

Full Hash: da026249abbe058321f815a9ac39c92761e405ea
Parent Commit: d5cf90f
Lines Changed: +47, -5

1 Modified Path:

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