More math rounding to avoid any blur.

This commit is contained in:
ItsLemmy
2025-10-10 15:47:14 -04:00
parent 9c7dab92d0
commit f77bbaa5e3
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ PopupWindow {
readonly property int menuWidth: 180
implicitWidth: menuWidth * scaling
implicitWidth: Math.round(menuWidth * scaling)
// Use the content height of the Flickable for implicit height
implicitHeight: Math.min(screen ? screen.height * 0.9 : Screen.height * 0.9, flickable.contentHeight + (Style.marginS * 2 * scaling))