Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix scrollbar rect not respecting border size in all cases, most noti… #8267

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dfalcone
Copy link

@dfalcone dfalcone commented Dec 28, 2024

Steps to repro:

  1. open the imgui_examples project and run it
  2. open style editor, set the child border size to 6 or higher to see bug clearly using arrow keys and enter key to set custom size
  3. navigate to scrolling section, observe the scrollbar placements for vertical and horizontal

Result:
Before this bug fix, the window border overlaps the top of the scrollbar for vertical and left of the scrollbar for horizontal.

(size 12 to be very obvious)
image

Image Fixed (size 6):
image

@ocornut ocornut added the style label Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants