Revert "Fix Label having non-integer sizes"
It messes with QtQuick Layouts in various ways and experience from PlasmaComponents 2 has shown that giving `Label` any kind of explicit size is just asking for trouble. This reverts commit a4e4156a4714199498cdec0c1ab2415f0040dc7e.
This commit is contained in:
parent
33eb00127a
commit
6b932130a2
@ -12,9 +12,6 @@ import org.kde.plasma.core 2.0 as PlasmaCore
|
||||
T.Label {
|
||||
id: control
|
||||
|
||||
height: Math.ceil(implicitHeight)
|
||||
width: Math.ceil(implicitWidth)
|
||||
|
||||
verticalAlignment: lineCount > 1 ? Text.AlignTop : Text.AlignVCenter
|
||||
|
||||
activeFocusOnTab: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user