UI: Discrete Thumbnail Sizes for Menus #112455

Merged
Harley Acheson merged 3 commits from Harley/blender:ThumbnailSizeDiscrete into main 2023-09-22 18:49:10 +02:00
Member

Allow menus to select thumbnail sizes in discrete steps.


Since #105815 we are allowing users to select any size of thumbnail from 16-256. Although this is convenient to select sizes quickly on headers and popovers, it is not convenient for menus. For example selecting a size from the File Browser or Asset Browser "View" menu. Or from the context menu of either.

This PR adds a way of selecting thumbnails in discrete steps, meant primarily for menu items. Yes, it works well even if the current size is not one of the steps.

Allow menus to select thumbnail sizes in discrete steps. --- Since #105815 we are allowing users to select any size of thumbnail from 16-256. Although this is convenient to select sizes quickly on headers and popovers, it is not convenient for menus. For example selecting a size from the File Browser or Asset Browser "View" menu. Or from the context menu of either. This PR adds a way of selecting thumbnails in discrete steps, meant primarily for menu items. Yes, it works well even if the current size is not one of the steps.
Harley Acheson added 1 commit 2023-09-16 18:35:52 +02:00
3386995f33 UI: Discrete Thumbnail Sizes for Menus
Allow menus to select thumbnail sizes in discrete steps.
Harley Acheson added this to the User Interface project 2023-09-16 18:36:02 +02:00
Harley Acheson requested review from Julian Eisel 2023-09-16 18:36:09 +02:00
Julian Eisel reviewed 2023-09-22 18:15:47 +02:00
@ -6742,0 +6745,4 @@
{96, "NORMAL", 0, "Medium", ""},
{128, "BIG", 0, "Big", ""},
{192, "LARGE", 0, "Large", ""},
{256, "HUGE", 0, "Huge", ""},
Member

Don't think "Huge" is a useful size. Plus "Huge" is a weird term to see in a UI :) I rather have a "Normal" size, and then two smaller, and two bigger.

Don't think "Huge" is a useful size. Plus "Huge" is a weird term to see in a UI :) I rather have a "Normal" size, and then two smaller, and two bigger.
Harley marked this conversation as resolved
Julian Eisel approved these changes 2023-09-22 18:16:04 +02:00
Julian Eisel left a comment
Member

Design wise I think this is a reasonable way to go about this.

Design wise I think this is a reasonable way to go about this.
Author
Member

Don't think "Huge" is a useful size. Plus "Huge" is a weird term to see in a UI :) I rather have a "Normal" size, and then two smaller, and two bigger.

Agree 100% - I just ran out of nice size adjectives.

I'll update it without the dumb "Huge" level and merge. Thanks!!

> Don't think "Huge" is a useful size. Plus "Huge" is a weird term to see in a UI :) I rather have a "Normal" size, and then two smaller, and two bigger. Agree 100% - I just ran out of nice size adjectives. I'll update it without the dumb "Huge" level and merge. Thanks!!
Harley Acheson added 2 commits 2023-09-22 18:42:56 +02:00
Harley Acheson merged commit 0dab5818d7 into main 2023-09-22 18:49:10 +02:00
Harley Acheson deleted branch ThumbnailSizeDiscrete 2023-09-22 18:49:12 +02:00
Sign in to join this conversation.
No reviewers
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
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#112455
No description provided.