diff options
author | Hans Goudey <h.goudey@me.com> | 2021-01-26 20:55:36 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-01-26 20:55:36 +0300 |
commit | a6016bf5af95ab9f7a7b75a0d129555be12d3f8b (patch) | |
tree | c8ce10335d0cc7fe624eb67f62128988d7e8ec6c /release | |
parent | 23e108c5b608e58ae46f11a0f2badde6710b7495 (diff) |
UI: Fix ugly alignment of timeline popover buttons
Apparently things have changed since {rB98d205508977a6f72bf55},
and putting the buttons in two separate rows is no longer enough
to keep the right-most popover button in the timeline header from
aligning with the menu buttons. This just adds a separator large
enough to avoid the alignment.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_time.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_time.py b/release/scripts/startup/bl_ui/space_time.py index 3b9ce5311f3..774e2938deb 100644 --- a/release/scripts/startup/bl_ui/space_time.py +++ b/release/scripts/startup/bl_ui/space_time.py @@ -107,6 +107,9 @@ class TIME_MT_editor_menus(Menu): text="Keying", ) + # Add a separator to keep the popover button from aligning with the menu button. + sub.separator(factor=0.4) + if horizontal: sub = row.row(align=True) |