UI: Node Panels: Inconsistent margins for panel headers #112499

Closed
opened 2023-09-18 09:14:59 +02:00 by Daybreak · 3 comments
Contributor

This isn't the biggest deal, but I did find it noticable and worth pointing out.

1. When a panel is expanded, the panel below it ends up with a shorter header margin on the top than the bottom.

It seems that expanding a panel 'eats' a bit of the margin for the following panel's header.

image

2. A collapsed panel at the bottom of a node has a significantly greater bottom header margin than top.

See the above image, where the Emission panel has a significantly greater bottom margin than top.

This is due to the node itself (I believe) having a bit of internal padding, and is only noticable due to the color difference between the panel header and the preceding panel's contents. I do not forsee this being changed.

An open panel looks fine, and the same is true for multiple collapsed panels in a row.

image

This isn't the biggest deal, but I did find it noticable and worth pointing out. **1. When a panel is expanded, the panel below it ends up with a shorter header margin on the top than the bottom.** It seems that expanding a panel 'eats' a bit of the margin for the following panel's header. ![image](/attachments/4180870b-b313-46ac-866a-9763ec78a98d) **2. A collapsed panel at the bottom of a node has a significantly greater bottom header margin than top.** See the above image, where the Emission panel has a significantly greater bottom margin than top. This is due to the node itself (I believe) having a bit of internal padding, and is only noticable due to the color difference between the panel header and the preceding panel's contents. I do not forsee this being changed. An open panel looks fine, and the same is true for multiple collapsed panels in a row. ![image](/attachments/469bdc2f-97b1-452d-b6b6-c2d44002e199)
Daybreak added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2023-09-18 09:15:00 +02:00
Member

Hi, thanks for the report.

panel 'eats' a bit of the margin for the following panel's header.

I think @lone_noel has dealt with similar alignment/precision bugs. Can you check Leon? 🙂

A collapsed panel at the bottom of a node has a significantly greater bottom header margin than top.

Not sure any improvement is expected in this case. Padding might be intentional at the node borders.

Hi, thanks for the report. > panel 'eats' a bit of the margin for the following panel's header. I think @lone_noel has dealt with similar alignment/precision bugs. Can you check Leon? 🙂 > A collapsed panel at the bottom of a node has a significantly greater bottom header margin than top. Not sure any improvement is expected in this case. Padding might be intentional at the node borders.
Member

Thanks for the ping!

panel 'eats' a bit of the margin for the following panel's header.

I think @lone_noel has dealt with similar alignment/precision bugs. Can you check Leon? 🙂

The vertical alignment of the header text is definitely a bit odd. Usually the text is aligned to be centered without taking decenders into account (e.g. compare the 'Sheen' inside the number button compared to the one in the header in the report).

There's a lot (new stuff) going on in the node layout code so I haven't been able to make out if there is actually some kind of alignment error anywhere, but I think this should be adjusted to better match the other text either way.

A collapsed panel at the bottom of a node has a significantly greater bottom header margin than top.

Not sure any improvement is expected in this case. Padding might be intentional at the node borders.

Yeah, the little bit of padding at the bottom belongs to the body of the node and is intentional.

Thanks for the ping! > > panel 'eats' a bit of the margin for the following panel's header. > > I think @lone_noel has dealt with similar alignment/precision bugs. Can you check Leon? 🙂 The vertical alignment of the header text is definitely a bit odd. Usually the text is aligned to be centered without taking decenders into account (e.g. compare the 'Sheen' inside the number button compared to the one in the header in the report). There's a lot (new stuff) going on in the node layout code so I haven't been able to make out if there is actually some kind of alignment error anywhere, but I think this should be adjusted to better match the other text either way. > > A collapsed panel at the bottom of a node has a significantly greater bottom header margin than top. > > Not sure any improvement is expected in this case. Padding might be intentional at the node borders. Yeah, the little bit of padding at the bottom belongs to the body of the node and is intentional.
Leon Schittek added
Status
Confirmed
and removed
Status
Needs Info from Developers
labels 2023-09-19 00:09:14 +02:00
Member

Now that #112593 is merged, I think we can consider this resolved.

Thanks again for the report!

Now that https://projects.blender.org/blender/blender/pulls/112593 is merged, I think we can consider this resolved. Thanks again for the report!
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-09-21 06:31:44 +02:00
Pratik Borhade added
Status
Resolved
and removed
Status
Archived
labels 2023-09-21 06:33:36 +02:00
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
3 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#112499
No description provided.