UI: adjust popover width for overlays & toolbar
This commit is contained in:
parent
9e5002aded
commit
46bdbc6c78
Notes:
blender-bot
2023-02-14 09:33:11 +01:00
Referenced by issue #55742, Blender 2.8 Crash on sculpt smooth with multiresolution modifier Referenced by issue #55744, Blender 2.8 assertion failure when using the Knife angle constraint option Referenced by issue #55747, [Crash] Typing ^ character
|
@ -2400,7 +2400,7 @@ class WM_OT_toolbar(Operator):
|
|||
layout = popover.layout
|
||||
cls.draw_cls(layout, context, detect_layout=False, scale_y=1.0)
|
||||
|
||||
wm.popover(draw_menu, keymap=keymap)
|
||||
wm.popover(draw_menu, ui_units_x=8, keymap=keymap)
|
||||
return {'FINISHED'}
|
||||
|
||||
|
||||
|
|
|
@ -3805,6 +3805,7 @@ class VIEW3D_PT_overlay(Panel):
|
|||
bl_space_type = 'VIEW_3D'
|
||||
bl_region_type = 'HEADER'
|
||||
bl_label = "Overlays"
|
||||
bl_ui_units_x = 14
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
|
|
Loading…
Reference in New Issue