[vlc-devel] [PATCH 3/3] qml: use size values from VLCStyle in CheckedDelegate widget

Prince Gupta guptaprince8832 at gmail.com
Tue Nov 17 20:22:52 CET 2020


---
 modules/gui/qt/widgets/qml/CheckedDelegate.qml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt/widgets/qml/CheckedDelegate.qml b/modules/gui/qt/widgets/qml/CheckedDelegate.qml
index 0aaf1f2c17..d41c7db810 100644
--- a/modules/gui/qt/widgets/qml/CheckedDelegate.qml
+++ b/modules/gui/qt/widgets/qml/CheckedDelegate.qml
@@ -27,6 +27,7 @@ T.ItemDelegate {
     id: control
 
     checkable: true
+    font.pixelSize: VLCStyle.fontSize_large
     leftPadding: VLCStyle.margin_xlarge
     rightPadding: VLCStyle.margin_xsmall
 
@@ -41,7 +42,7 @@ T.ItemDelegate {
             text: VLCIcons.check
             visible: control.checked
             height: parent.height
-            font.pixelSize: 24
+            font.pixelSize: VLCStyle.dp(24, VLCStyle.scale)
             color: "white"
             verticalAlignment: Text.AlignVCenter
         }
-- 
2.25.1



More information about the vlc-devel mailing list