UI: Slightly widen some popovers

Increase width in some popovers where labels would get trimmed.

This was even worst for other languages, but at least now labels don't
get ellipsis by default (English at 1.0 UI scale).
This commit is contained in:
Pablo Vazquez
2025-10-05 23:35:14 +02:00
parent a7923de9e3
commit 65d5b94740
3 changed files with 8 additions and 4 deletions

View File

@@ -1363,6 +1363,7 @@ class IMAGE_PT_paint_stroke(BrushButtonsPanel, Panel, StrokePanel):
bl_parent_id = "IMAGE_PT_paint_settings"
bl_category = "Tool"
bl_options = {'DEFAULT_CLOSED'}
bl_ui_units_x = 14
class IMAGE_PT_paint_stroke_smooth_stroke(Panel, BrushButtonsPanel, SmoothStrokePanel):

View File

@@ -6950,7 +6950,7 @@ class VIEW3D_PT_overlay(Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'HEADER'
bl_label = "Overlays"
bl_ui_units_x = 13
bl_ui_units_x = 14
def draw(self, _context):
layout = self.layout

View File

@@ -762,7 +762,7 @@ class VIEW3D_PT_tools_brush_display(Panel, View3DPaintBrushPanel, DisplayPanel):
bl_parent_id = "VIEW3D_PT_tools_brush_settings"
bl_label = "Cursor"
bl_options = {'DEFAULT_CLOSED'}
bl_ui_units_x = 12
bl_ui_units_x = 15
class VIEW3D_PT_tools_brush_texture(Panel, View3DPaintPanel):
@@ -770,6 +770,7 @@ class VIEW3D_PT_tools_brush_texture(Panel, View3DPaintPanel):
bl_parent_id = "VIEW3D_PT_tools_brush_settings"
bl_label = "Texture"
bl_options = {'DEFAULT_CLOSED'}
bl_ui_units_x = 13
@classmethod
def poll(cls, context):
@@ -802,6 +803,7 @@ class VIEW3D_PT_tools_mask_texture(Panel, View3DPaintPanel, TextureMaskPanel):
bl_parent_id = "VIEW3D_PT_tools_brush_settings"
bl_label = "Texture Mask"
bl_options = {'DEFAULT_CLOSED'}
bl_ui_units_x = 13
@classmethod
def poll(cls, context):
@@ -826,6 +828,7 @@ class VIEW3D_PT_tools_brush_stroke(Panel, View3DPaintPanel, StrokePanel):
bl_label = "Stroke"
bl_parent_id = "VIEW3D_PT_tools_brush_settings"
bl_options = {'DEFAULT_CLOSED'}
bl_ui_units_x = 14
class VIEW3D_PT_tools_brush_stroke_smooth_stroke(Panel, View3DPaintPanel, SmoothStrokePanel):
@@ -1023,7 +1026,7 @@ class VIEW3D_PT_sculpt_options(Panel, View3DPaintPanel):
bl_context = ".sculpt_mode" # dot on purpose (access from topbar)
bl_label = "Options"
bl_options = {'DEFAULT_CLOSED'}
bl_ui_units_x = 12
bl_ui_units_x = 13
@classmethod
def poll(cls, context):
@@ -1735,7 +1738,7 @@ class VIEW3D_PT_tools_grease_pencil_paint_appearance(GreasePencilDisplayPanel, P
bl_parent_id = "VIEW3D_PT_tools_grease_pencil_v3_brush_settings"
bl_label = "Cursor"
bl_category = "Tool"
bl_ui_units_x = 15
bl_ui_units_x = 16
class VIEW3D_PT_tools_grease_pencil_sculpt_appearance(GreasePencilDisplayPanel, Panel, View3DPanel):