Fix ugly half alignment in timeline header.
This commit is contained in:
parent
5b5e23cec3
commit
98d2055089
Notes:
blender-bot
2023-02-14 05:39:44 +01:00
Referenced by commit a6016bf5af
, UI: Fix ugly alignment of timeline popover buttons
Referenced by issue #55772, Crashes opening a file
Referenced by issue #55700, render crashes and freezes computer on both mac and windows
Referenced by issue #55696, Blender OpenGL crash on startup (Linux)
|
@ -91,20 +91,24 @@ class TIME_MT_editor_menus(Menu):
|
|||
|
||||
@staticmethod
|
||||
def draw_menus(layout, context):
|
||||
layout.popover(
|
||||
row = layout.row()
|
||||
sub = row.row(align=True)
|
||||
sub.popover(
|
||||
space_type='DOPESHEET_EDITOR',
|
||||
region_type='HEADER',
|
||||
panel_type="TIME_PT_playback",
|
||||
text="Playback",
|
||||
)
|
||||
layout.popover(
|
||||
sub.popover(
|
||||
space_type='DOPESHEET_EDITOR',
|
||||
region_type='HEADER',
|
||||
panel_type="TIME_PT_keyframing_settings",
|
||||
text="Keying",
|
||||
)
|
||||
layout.menu("TIME_MT_view")
|
||||
layout.menu("TIME_MT_marker")
|
||||
|
||||
sub = row.row(align=True)
|
||||
sub.menu("TIME_MT_view")
|
||||
sub.menu("TIME_MT_marker")
|
||||
|
||||
|
||||
class TIME_MT_marker(Menu):
|
||||
|
|
Loading…
Reference in New Issue