Commit f3b9b6d3 authored by Fushan Wen's avatar Fushan Wen 💬 Committed by Nate Graham
Browse files

Apply 2 suggestion(s) to 1 file(s)

parent 4b85a089
Pipeline #104908 passed with stage
in 6 minutes and 21 seconds
......@@ -469,15 +469,15 @@ function checkLastSpacer() {
GridLayout {
id: currentLayout
property bool isLayoutHorizontal: root.isHorizontal
readonly property bool isLayoutHorizontal: root.isHorizontal
rowSpacing: PlasmaCore.Units.smallSpacing
columnSpacing: PlasmaCore.Units.smallSpacing
x: (isLayoutHorizontal && root.toolBox && Qt.application.layoutDirection === Qt.RightToLeft && plasmoid.editMode) ? root.toolBox.width : 0;
y: 0
width: root.width - (root.isHorizontal && root.toolBox && plasmoid.editMode ? root.toolBox.width : 0)
height: root.height - (!root.isHorizontal && root.toolBox && plasmoid.editMode ? root.toolBox.height : 0)
width: root.width - (isLayoutHorizontal && root.toolBox && plasmoid.editMode ? root.toolBox.width : 0)
height: root.height - (!isLayoutHorizontal && root.toolBox && plasmoid.editMode ? root.toolBox.height : 0)
Layout.preferredWidth: {
var width = 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment