Inconsistent text alignment for operator buttons #50438
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#50438
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
To put it simple, current state is:
Toolbar operator butons:
All other areas:
rest of the UI aligns everything to left in most cases.
possible solution 1 :
Align to left
if an icon is present in a column of buttons under each other, offset by icon width, also for buttons which don't have an icon.
this is consistent with menu drawing in 2.78, where icons aren't everywhere too.
possible solution 2
align left
drop icons for operator buttons completely. It is a question if these are actually of any use except for add primitive panel, where they are used a lot. Icons in operator buttons are actually so rare they often look like a mistake, or taking an operator out of context.
Changed status to: 'Open'
Added subscriber: @VilemDuha
Added subscriber: @JoshuaLeung
This task is mainly about why buttons in toolbars may align text differently than buttons anywhere else in Blender. I don't see why this should be the case. Also reported in #41592.
There is an explicit check for toolbars in code to align text in operator buttons to the left if they don't have an icon. Added in
c6dbbde16b
. @JoshuaLeung, do you remember the reason for this?Changing this would be a minor task, but would prefer to have approval from others first - also from the rest of the UI team.
(Note that I approved this design task.)
Added subscriber: @Blendify
Poke.
Added subscriber: @FilipMond
Seems like I can join with this proposal . . . That comes from practicle reason, if you try to eliminate borders of buttons to make them less prominent you loose visual connection between elements. In this example easily solved by moving text to left.
Drop down icon with triangle in a corner is already used for tool bar icons. There it's separate action icon and corner, I mention that for visual continuity. Corner symbol in this size doesnt colide with icon square itself.
To see what elements are able to hold together without framing I set theme called Empty. Framing elements should be additional visual support not primary solution to distinguish buttons.
https://blenderartists.org/t/monoicons/1103103/59
Changed status from 'Open' to: 'Resolved'
I removed the special handling of toolbar buttons a bit ago (
6e8a76c96a
), so operator items should align consistently by default now. Closing this.@FilipMond this is something that should be handled by the theme. Ideally they'd be able to set the text alignment (e.g. like CSS does it). However making such general design decisions just for these unusual theme usages is not something we should do.