blured scaled zoom gui
vizvasrj opened this issue · comments
Checklist
- I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
- This issue only relates to a single bug. I will open new issues for any other problems.
Describe the bug
there is two version of scaling thing it uses and how to fix it i don't know.
when i drag from 720 pixel to 1080 pixel monitor the scaled zoomed of this gui
why there is so many drastic changes in size
720 pixel is of laptop screen 15.5 inch may be and 1080 pixel is of monitor 24 inch some what.
How to reproduce
go run main.go
Screenshots
Example code
package main
import (
"fyne.io/fyne/v2/app"
"fyne.io/fyne/v2/widget"
)
func main() {
a := app.New()
w := a.NewWindow("Hello World")
w.SetContent(widget.NewLabel("Hello World!"))
w.ShowAndRun()
}
Fyne version
2.4.5
Go compiler version
go1.22.1
Operating system and version
debian linux
Additional Information
No response
Our Linux driver tries to ensure consistent window size according to the DPI of the monitor it is on.
I tried the ruler app you are using and it gave me inconsistent results.
By placing an actual ruler on the window you should see that it is the same physical size on each of the screens (it thinks all of my screens from 14" to 27" are 17" monitors?)
If that is not the case then perhaps some of the metadata about your monitor is not being read correctly.
Please try running the fyne_demo app and going to the "Advanced" tab - that will list the details about how scale is calculated and you can move it to each screen to record the information.