-
-
Notifications
You must be signed in to change notification settings - Fork 335
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
GTK scrollable seems to misbehave compared to WPF/mac #2023
Comments
Hey @philstopford, thanks for submitting the issue! On some GTK themes the scrollbar only appears when you scroll or move the cursor near the scroll area.. This isn't the case, is it? |
It doesn't appear to be. I have to resize the window to see the out-of-view controls.
|
@philstopford cool, just wanted to check. I'll take a look! .. and get to that Veldrid issue soon too.. |
OK. So it looks like a VMware install of Kubuntu does show the scrollbars when I hover over them, but for some reason this isn't behaving consistently with other platforms - the progress bar and label are out-of-view, rather than pinned at the bottom of the window. The scrollable is moving the full content of the left panel : |
- Get proper preferred height in some cases by implementing OnGetPreferredHeightForWidth Fixes picoe#2023
Ok, so I got some time to look into this. The main problem was the top level scrollable was expanding its content to fit everything even though you have set a desired height of 270 for the settings panel. So even though it didn't appear like the scrollbar was there, it was in fact there only if you scrolled down to the very bottom of the main panel, as it is a separate scrollable. The main culprit of this issue was that the |
@cwensley : great - thank you for digging into this and fixing it up! |
Expected Behavior
Add scrollbars when content is out of view.
Actual Behavior
No scrollbars under GTK
Steps to Reproduce the Problem
Notice the scrollbars when content is out of view, and resizing panels, or the application window has a corresponding effect on the scrollbars.
Code that Demonstrates the Problem
Repositories above; will work on a smaller test case if desired.
Specifications
The text was updated successfully, but these errors were encountered: