D22505: [SpinBox] Set renderType

2019-07-18 Thread Kai Uwe Broulik
This revision was automatically updated to reflect the committed changes. Closed by commit R858:8927e90ac08f: [SpinBox] Set renderType (authored by broulik). REPOSITORY R858 Qt Quick Controls 2: Desktop Style CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D22505?vs=61898&id=61983 REV

D22505: [SpinBox] Set renderType

2019-07-18 Thread Kai Uwe Broulik
broulik added a comment. I want `NativeRendering` which Qt doesn't do by default. This patch is needed either way, be it `true` or that annoying workaround. If someone with shader knowledge could fix the native rendering shader that would be lovely, yes. REPOSITORY R858 Qt Quick Controls 2

D22505: [SpinBox] Set renderType

2019-07-18 Thread Aleix Pol Gonzalez
apol accepted this revision. apol added a comment. :shrug: well sounds like a fix upstream is due, either fixing nativerendering on non-integer scaling or just doing this everywhere. Also if it ever gets fixed we'll stay with this workaround until someone remembers to remove. REPOSITORY

D22505: [SpinBox] Set renderType

2019-07-18 Thread Kai Uwe Broulik
broulik added inline comments. INLINE COMMENTS > apol wrote in SpinBox.qml:69 > Should that be the case for every TextInput then? why's the SpinBox special? It should. It was already done for `ComboBox` and `TextField` but `SpinBox` got forgotten :) REPOSITORY R858 Qt Quick Controls 2: Deskt

D22505: [SpinBox] Set renderType

2019-07-18 Thread Aleix Pol Gonzalez
apol added inline comments. INLINE COMMENTS > SpinBox.qml:69 > +// https://bugreports.qt.io/browse/QTBUG-67007 > +renderType: Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : > Text.NativeRendering > + Should that be the case for every TextInput then? why's the SpinBox spe

D22505: [SpinBox] Set renderType

2019-07-17 Thread Kai Uwe Broulik
broulik created this revision. broulik added reviewers: Plasma, mart. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. broulik requested review of this revision. REVISION SUMMARY Ensures it uses the system's font rendering settings BUG: 409888 TEST PLAN Fonts KCM