@ -362,6 +362,9 @@ KCM.SimpleKCM {
RowLayout {
RowLayout {
Layout.preferredWidth: formLayout . maxImplicitWidth
Layout.preferredWidth: formLayout . maxImplicitWidth
/ / W e d o n ' t w a n t p e o p l e m e s s i n g w i t h t h e f o n t D P I o n W a y l a n d ;
/ / t h e y s h o u l d a l w a y s b e u s i n g t h e g l o b a l s c a l i n g s y s t e m i n s t e a d
visible: Qt . platform . pluginName === "xcb"
QtControls . CheckBox {
QtControls . CheckBox {
id: dpiCheckBox
id: dpiCheckBox
@ -372,13 +375,6 @@ KCM.SimpleKCM {
dpiTwiddledMessage . visible = checked
dpiTwiddledMessage . visible = checked
}
}
/ / d p i S p i n B o x w i l l s e t f o r c e F o n t D P I o r f o r c e F o n t D P I W a y l a n d ,
/ / s o o n l y o n e S e t t i n g S t a t e B i n d i n g w i l l b e a c t i v a t e d a t a t i m e .
KCM . SettingStateBinding {
configObject: kcm . fontsAASettings
settingName: "forceFontDPIWayland"
extraEnabledConditions: antiAliasingCheckBox . checked && ! kcm . fontsAASettings . isAaImmutable
}
KCM . SettingStateBinding {
KCM . SettingStateBinding {
configObject: kcm . fontsAASettings
configObject: kcm . fontsAASettings
settingName: "forceFontDPI"
settingName: "forceFontDPI"
@ -394,13 +390,6 @@ KCM.SimpleKCM {
to: 999
to: 999
from: 1
from: 1
/ / d p i S p i n B o x w i l l s e t f o r c e F o n t D P I o r f o r c e F o n t D P I W a y l a n d ,
/ / s o o n l y o n e S e t t i n g S t a t e B i n d i n g w i l l b e a c t i v a t e d a t a t i m e .
KCM . SettingStateBinding {
configObject: kcm . fontsAASettings
settingName: "forceFontDPIWayland"
extraEnabledConditions: dpiCheckBox . enabled && dpiCheckBox . checked
}
KCM . SettingStateBinding {
KCM . SettingStateBinding {
configObject: kcm . fontsAASettings
configObject: kcm . fontsAASettings
settingName: "forceFontDPI"
settingName: "forceFontDPI"