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
Something is strange with the MinSize of the slider widget and I don't quite know why. It results in part of the drag handle being cut of at the sides. I can't replicate this on all my screens. It is the most apparent on my 15" laptop screen.
Steps to reproduce the behaviour:
package main import ( "fyne.io/fyne/v2/app" "fyne.io/fyne/v2/container" "fyne.io/fyne/v2/widget" ) func main() { a := app.New() w := a.NewWindow("Hello") w.SetContent(container.NewVBox( widget.NewSlider(0, 5), )) w.ShowAndRun() }
The text was updated successfully, but these errors were encountered:
From that app screenshot it looks like the whole widget is offset from where it should be drawn - which may be the cause of this glitch
Trying to replicate this I saw some different issues, perhaps it is linked:
If I run the app with any resolution and scaling at 100% I see a shortened bar
As soon as I resize the window, it fixes itself, even just adding 1 pixel to the height. (Moving the slider does not resize the bar)
When using any value over 100% scaling I do not see any issues
I have been unable to replicate the side of the ball being cropped
Windows 10 Go 1.18.1 Fyne v2.1.4
Windows 10
Go 1.18.1
Fyne v2.1.4
@Jacalz Does the cropping disappear if you resize the window?
Sorry for the late reply @itsjustdel. No, it seems to be consistently clipped off for me. See attached screen recording. Screencast from 26-08-22 12:59:04.webm .
This looks to have been fixed with the new theme changes. I will close it but potentially reopen if the issue occurs again.
Jacalz commentedMay 7, 2022
•
edited
Describe the bug:
Something is strange with the MinSize of the slider widget and I don't quite know why. It results in part of the drag handle being cut of at the sides. I can't replicate this on all my screens. It is the most apparent on my 15" laptop screen.
To Reproduce:
Steps to reproduce the behaviour:
Screenshots:
Example code:
Device (please complete the following information):
The text was updated successfully, but these errors were encountered: