godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.1k stars 21.18k forks source link

Godot scroll container's scrollbars visible rect and size are not pixel perfect #52089

Open Shadowblitz16 opened 3 years ago

Shadowblitz16 commented 3 years ago

Godot version

3.3.stable

System information

Kubuntu 20.04 Nvidia GeForce GTX 650, metapackage from nividia-driver-470 (propretary, tested)

Issue description

Both the rect in which scrollbar containers show and hide their scrollbars and the size of the scrollbar between both scrollbars being shown or just either vertical or horizontal are not pixel perfect.

things that work.. image image

things that are inaccurate.. image image image

Ideally the scrollbars should meet each other when they are both enabled in the corner leaving a corner gap and they should show and hide the scrollbars when they are inside or outside the container's size minus the v and h scrollbar's size.

Steps to reproduce

open the project and mess with the custom editor's scene's panel container. you can also try to get it to work by messing with the theme resource but its not possible.

Minimal reproduction project

MazeyGame.zip

kleonc commented 3 years ago

Minimal reproduction project

Uploading MazeyGame.zip…

Waiting and waiting and it's still uploading. :smile: (please upload it properly)

Shadowblitz16 commented 3 years ago

@kleonc fixed