Pablo Vazquez
1112f49a14
UI: Cleanup - Remove Show Panel Header and Background
...
A toggle for this is no longer required now that both header and background
colors are RGBA (disabling Show Header is the same setting the alpha to 0).
Thanks Brecht for reviewing!
2018-07-10 00:47:08 +02:00
Brecht Van Lommel
02f903d099
Fix layout issue with enum property separators.
2018-07-06 14:19:11 +02:00
Brecht Van Lommel
a883f0fd54
UI: add separators in properties editor header tabs.
2018-07-05 19:27:50 +02:00
Clément Foucault
dc87648970
UI: Fix Properties with consecutive icons enabled in dropdown menus
...
It was using ICON_UNLOCKED when the property was true.
This affected the use_lock_interface properties now displayed in the Render
menu.
2018-07-02 19:14:06 +02:00
Campbell Barton
37994e0af2
Merge branch 'master' into blender2.8
2018-07-01 20:15:21 +02:00
Campbell Barton
26c5a1c301
Cleanup: right shift in interface code
2018-07-01 20:12:07 +02:00
Campbell Barton
36a9436d80
Merge branch 'master' into blender2.8
2018-07-01 16:22:06 +02:00
Campbell Barton
ddee0931b8
RNA: use bool for boolean RNA types
...
We were using int's for bool arguments in BKE,
just to avoid having wrapper functions.
2018-07-01 15:57:59 +02:00
Campbell Barton
bc95c7a3ea
Cleanup: remove num argument prefix
2018-07-01 09:23:51 +02:00
Campbell Barton
eb63b32dee
Merge branch 'master' into blender2.8
2018-06-30 13:52:04 +02:00
Campbell Barton
bdc1108e8c
Cleanup: remove unused context arg to menu
2018-06-30 12:31:53 +02:00
Campbell Barton
25b7bdb6a9
Merge branch 'master' into blender2.8
2018-06-30 09:29:38 +02:00
Brecht Van Lommel
728e92422e
Fix T54524: keyframe and driver colors not showing in shape key list.
...
This reverts commit 357b72e0a7 which caused
the issue, we need a better fix for that cosmetic issue from T50862. For
now displaying keyframes and drivers is the more important one.
2018-06-29 21:23:13 +02:00
Brecht Van Lommel
3aa61499d0
Fix unnecessary empty space in shading popover.
2018-06-29 17:58:58 +02:00
Brecht Van Lommel
e69e62a90a
UI: decrease status bar height.
2018-06-26 17:15:43 +02:00
Campbell Barton
29182dd570
Cleanup: style
2018-06-26 08:35:35 +02:00
Campbell Barton
861b0ec417
UI: Right align check-box for extra text space
...
See: T54951
2018-06-25 12:06:51 +02:00
Campbell Barton
762dec21f6
UI: decorators hid non-array buttons
...
Error in last commit.
2018-06-18 15:50:21 +02:00
Campbell Barton
55623368b4
UI: decorators weren't showing icon-only buttons
2018-06-18 15:11:10 +02:00
Campbell Barton
b2f0803b5b
Fix T55511: Decorator drag makes many undo steps
...
Each keyframe made a separate undo step.
2018-06-18 08:25:05 +02:00
Campbell Barton
a794da5200
Fix T55517: Property-split fails w/ expanded enum
2018-06-18 08:05:46 +02:00
Campbell Barton
e960920f2f
UI: decorator color button assert
...
Also set 'all' argument based on the RNA-index
(even though it worked, better set to correct value).
2018-06-17 12:15:32 +02:00
Campbell Barton
0a8e6b48c4
Correct assert in recent changes
2018-06-16 17:31:37 +02:00
Campbell Barton
3cf239ccfa
UI: support dragging to key-frame
2018-06-16 16:29:05 +02:00
Campbell Barton
d8c2c63c00
UI: Add property decorator buttons
...
When use_property_split is enabled, this template adds
buttons to set keyframes, (Alternative to showing color).
See: T54951
2018-06-16 16:28:42 +02:00
Bastien Montagne
5b6ae0523e
Merge branch 'master' into blender2.8
2018-06-15 17:25:41 +02:00
Bastien Montagne
da9b1b14ed
Cleanup: some more G.main removal/validation...
2018-06-15 17:21:07 +02:00
Campbell Barton
51f1ed8221
Cleanup: style
2018-06-14 22:44:53 +02:00
Campbell Barton
ca7a93953a
Error in recent popover width
2018-06-13 11:57:52 +02:00
Campbell Barton
e4ab04b8bb
Fix pop-over buttons always getting space for icon
2018-06-13 11:22:15 +02:00
Campbell Barton
2a5d4d7573
Merge branch 'master' into blender2.8
2018-06-13 11:11:23 +02:00
Campbell Barton
5788f24337
Cleanup: swapped X/Y UI_UNIT
2018-06-13 11:10:55 +02:00
Dalai Felinto
070830c62d
Fix separator element for headers with multiple directions
2018-06-11 14:54:04 +02:00
Dalai Felinto
d90fc119c2
UI: Separator spacer
...
This support layout.separator_spacer() to be used by headers as a way to
dynamically separate the ui buttons.
Right now no UI file is changed, though we can use this right away in the
timeline, and shortly after in the viewport header (moving settings from
the topbar to it).
Original design by William Reynish.
Review: Campbell Barton
D3468
2018-06-11 14:46:35 +02:00
Campbell Barton
45a5ddb57b
Merge branch 'master' into blender2.8
2018-06-09 18:58:14 +02:00
Campbell Barton
2e14b7fb97
RNA: remove Layout.introspect
...
This was added as an experiment to extract information for docs
but this was never all that useful for its intended purpose.
2018-06-09 18:55:51 +02:00
Campbell Barton
726ed7244e
UI: always show popover subpanel header text
2018-06-09 18:15:08 +02:00
Campbell Barton
2ae404252d
UI: fix popover subpanel header display
2018-06-09 18:03:22 +02:00
Campbell Barton
7fdde7fd86
UI: use draw_header function for popover buttons
...
Add 'is_popover' for panel draw functions to check if they're in a popup.
This puts dyntopo toggle next to the popover.
2018-06-09 17:38:32 +02:00
Bastien Montagne
ec8a20fec0
Add new GridFlow layout.
...
This mimics the 'spreadsheet' behavior. Columns and/or rows can have
equal sizes, or adapt to their content - but always in a grid way (i.e.
all items in a same column will always have same available width, and
all items in a same row will always have same available height).
Also, you can fill (order) the grid in a row- or column-major way.
Not used anywhere for now.
Differential: https://developer.blender.org/D2395
2018-06-09 16:54:26 +02:00
Campbell Barton
09ce794dc8
UI: initial support for parent panels in popovers
...
Currently this just includes the panels, no support for collapsing yet.
2018-06-09 14:21:39 +02:00
Campbell Barton
80d86f303a
UI: support property split for 'prop_search'
2018-06-05 08:56:14 +02:00
Campbell Barton
82b8fd8eaf
UI: don't show XYZ text w/ direction buttons
2018-06-01 14:10:43 +02:00
Campbell Barton
1f693aefca
Cleanup: style/whitespace
...
Also use 'uint'.
2018-05-30 19:49:33 +02:00
Campbell Barton
efd0333a9c
UI: fix property split w/ color buttons & empty text
2018-05-30 17:29:20 +02:00
Campbell Barton
1d320f10ac
UI: Option to layout properties in two columns
...
Needed for proposed alternate layout, see T54951.
2018-05-28 16:49:30 +02:00
Campbell Barton
47f2b3b80d
Merge branch 'master' into blender2.8
2018-05-27 12:54:21 +02:00
Campbell Barton
56254a42e0
UI: replace BLI_strncpy w/ memcpy
...
Size is already checked.
2018-05-27 12:50:03 +02:00
Campbell Barton
5901c1ca42
UI: fix event handling direction
...
Correct arrow key direction in popovers,
also de-duplicate menu callback,
2018-05-25 15:47:12 +02:00
Campbell Barton
e9908134e8
UI: Move UI_paneltype_draw into layout code
...
No functional changes, needed for persistent popovers.
2018-05-25 12:55:22 +02:00