More matcaps and brushes consistency #44741

Closed
opened 2015-05-17 18:13:05 +02:00 by Inês Almeida · 11 comments
Member

I am adding optional labels to the matcaps widget. 'Optional' here means that the actual matcaps will look exactly the same, with no text.
The labels would show when using the same widget for preview enums. I expect this template to be more used with the ui-previews: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.75/Addons#UI_Examples

Simply adding text below the image looks great if the image is landscape, but otherwise the label overlaps the image and it's not perceptible.
So, solutions?
What the brushes template does is adding a blue overlay behind the text and over the image. Using the same solution:
pasted_file

Imho it doesn't look very nice. I can try to make nicer overlays with a gradient, but it will look bad if it is only on top of some images or on top of portrait images. With gradient overlays, I would have to make a square crop of the image. This is actually what most galleries use in other programs: big squares and text on top with an overlay.

Third option: have non squared buttons:
pasted_file

In short:

  1. copy brushes solution
  2. make a better looking overlay, implying the use of cropped square images only
  3. have non square buttons with room for icon and text

Again, the use of text in this template would be optional. The actual matcaps will still look exactly the same, squared and with no overlays.

I can apply the chosen solution to both the matcaps and the brushes template so that everything is consistent.
(Note: the brushes icons are 4x UI_size, the matcaps are 5x. should I do something about this?)

Opinions?

I am adding **optional** labels to the matcaps widget. 'Optional' here means that the actual matcaps will look exactly the same, with no text. The labels would show when using the same widget for preview enums. I expect this template to be more used with the ui-previews: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.75/Addons#UI_Examples Simply adding text below the image looks great if the image is landscape, but otherwise the label overlaps the image and it's not perceptible. So, solutions? What the brushes template does is adding a blue overlay behind the text and over the image. Using the same solution: ![pasted_file](https://archive.blender.org/developer/F175876/pasted_file) Imho it doesn't look very nice. I can try to make nicer overlays with a gradient, but it will look bad if it is only on top of some images or on top of portrait images. With gradient overlays, I would have to make a square crop of the image. This is actually what most galleries use in other programs: big squares and text on top with an overlay. Third option: have non squared buttons: ![pasted_file](https://archive.blender.org/developer/F175873/pasted_file) In short: 1) copy brushes solution 2) make a better looking overlay, implying the use of cropped square images only 3) have non square buttons with room for icon and text Again, the use of text in this template would be optional. The actual matcaps will still look exactly the same, squared and with no overlays. I can apply the chosen solution to both the matcaps and the brushes template so that everything is consistent. (Note: the brushes icons are 4x UI_size, the matcaps are 5x. should I do something about this?) Opinions?
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Inês Almeida self-assigned this 2015-05-17 18:13:05 +02:00
Author
Member

Added subscriber: @brita

Added subscriber: @brita
Added subscribers: @mont29, @JulianEisel, @JonathanWilliamson, @PawelLyczkowski-1

Personally, I would go for solution #3 (text below image, non-squared buttons in this case), and also harmonize UI size of previews between enum-previews (matcaps) and ID previews (brushes).

Personally, I would go for solution #3 (text below image, non-squared buttons in this case), and also harmonize UI size of previews between enum-previews (matcaps) and ID previews (brushes).
Member

Yep, agree with @mont29 :)

Yep, agree with @mont29 :)

For me - what @mont29 said.

For me - what @mont29 said.
Author
Member

Should I make the labels for ID previews optional too? to match better the template for non id previews (of course then the default for showing labels in ID prevs is true, and false for non ID).

Should I make the labels for ID previews optional too? to match better the template for non id previews (of course then the default for showing labels in ID prevs is true, and false for non ID).

Added subscriber: @Psy-Fi

Added subscriber: @Psy-Fi

I would also agree with Bastien. If possible to make text optional it would be good too.

I would also agree with Bastien. If possible to make text optional it would be good too.
Author
Member

Update on this:
I committed the changes to the drawing of the brushes' labels. It's in master now.
I kept the ID template with 4 units of side and the non ID with 5, because Ton said the brushes are meant to be small and not occupy the all screen.
I did not make the labels optional for ID templates, because it is not just a matter of not displaying the text. It would make sense to remove the search too, but that is much too complicated for something without a clear use case.

If there are no issues raised, I'll close this task with the release.

Update on this: I committed the changes to the drawing of the brushes' labels. It's in master now. I kept the ID template with 4 units of side and the non ID with 5, because Ton said the brushes are meant to be small and not occupy the all screen. I did not make the labels optional for ID templates, because it is not just a matter of not displaying the text. It would make sense to remove the search too, but that is much too complicated for something without a clear use case. If there are no issues raised, I'll close this task with the release.
Author
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
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
5 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#44741
No description provided.