UI: Fix Scrollbar overlaps sidebar on zoom #106014

Closed
Guillermo Venegas wants to merge 1 commits from guishe:scrollbar-offset into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Contributor

When zooming into an area with a sidebar, the vertical scroll bar may
overlay the sidebar.

Solution: Adjust scrollbar offset to sit next to sidebar

To address this issue, the proposed patch adjusts the offset of the
scrollbar so that it sits next to the sidebar and avoids overlapping it.

When zooming into an area with a sidebar, the vertical scroll bar may overlay the sidebar. Solution: Adjust scrollbar offset to sit next to sidebar To address this issue, the proposed patch adjusts the offset of the scrollbar so that it sits next to the sidebar and avoids overlapping it.
Guillermo Venegas force-pushed scrollbar-offset from d5a1b4d833 to 645232d6dd 2023-03-22 23:45:50 +01:00 Compare
Author
Contributor

Here is a image and video showing the before and after.
image
2023-03-22 17-15-00.mp4

Here is a image and video showing the before and after. ![image](/attachments/a3016880-6944-4178-bbbf-09365d8add4c) [2023-03-22 17-15-00.mp4](/attachments/08471c9b-3746-412c-8d43-8974077a3da7)
Pablo Vazquez added the
Module
User Interface
label 2023-03-23 00:42:19 +01:00
Pablo Vazquez added this to the User Interface project 2023-03-23 00:42:25 +01:00
Guillermo Venegas force-pushed scrollbar-offset from 645232d6dd to b7132c9bc2 2023-03-26 23:12:27 +02:00 Compare
Guillermo Venegas force-pushed scrollbar-offset from b7132c9bc2 to 7566bd0a8a 2023-03-26 23:15:19 +02:00 Compare
Guillermo Venegas force-pushed scrollbar-offset from 7566bd0a8a to 7029e74be8 2023-05-03 19:31:07 +02:00 Compare
Guillermo Venegas force-pushed scrollbar-offset from 7029e74be8 to e31341552c 2023-05-24 17:49:14 +02:00 Compare
Guillermo Venegas force-pushed scrollbar-offset from e31341552c to 3ec5930db0 2023-05-24 17:50:22 +02:00 Compare
Guillermo Venegas force-pushed scrollbar-offset from 3ec5930db0 to c9470fbacc 2023-05-24 18:01:11 +02:00 Compare
Guillermo Venegas force-pushed scrollbar-offset from c9470fbacc to 9fb800a83b 2023-05-24 18:04:25 +02:00 Compare
Guillermo Venegas force-pushed scrollbar-offset from 9fb800a83b to cc2d7aeac6 2023-05-25 19:54:28 +02:00 Compare
Guillermo Venegas force-pushed scrollbar-offset from cc2d7aeac6 to c87d05b236 2023-05-25 19:55:25 +02:00 Compare
Member

Hey @Guillermo! I rudely made a different version of your solution here: #108295

We had a bit of a panic that we hadn't reviewed this yet, but we might want it in as a fix for 3.6. So I tried making a version of it with as little change as possible to make review easier.

If you want to you could always take my code, update yours with it, then I can close mine in favor of yours. Whatever you like. I just don't want you to feel like I trampled on you. I couldn't have made mine without yours as inspiration.

Hey @Guillermo! I **rudely** made a different version of your solution here: https://projects.blender.org/blender/blender/pulls/108295 We had a bit of a panic that we hadn't reviewed this yet, but we might want it in as a fix for 3.6. So I tried making a version of it with as little change as possible to make review easier. If you want to you could always take my code, update yours with it, then I can close mine in favor of yours. Whatever you like. I just don't want you to feel like I trampled on you. I couldn't have made mine without yours as inspiration.
Author
Contributor

No worries, I hope it does come out for 3.6!

No worries, I hope it does come out for 3.6!
Guillermo Venegas deleted branch scrollbar-offset 2023-05-26 21:45:49 +02:00

Pull request closed

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#106014
No description provided.