Commit 43bfb812 authored by Tigran Gabrielyan's avatar Tigran Gabrielyan Committed by Aleix Pol Gonzalez

Fix initial width/height in KCMs that use qml

Summary:
This change fixes width/height for File Index Manager and Energy Information modules.

BUG: 398820

Reviewers: apol

Reviewed By: apol

Subscribers: ngraham, apol, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D20027
parent 23fa3698
......@@ -104,8 +104,8 @@ Item {
currentUdi = kcm.batteries.udi(0)
}
width: units.gridUnit * 25
height: !!currentBattery ? units.gridUnit * 25 : units.gridUnit * 12
implicitWidth: units.gridUnit * 25
implicitHeight: !!currentBattery ? units.gridUnit * 25 : units.gridUnit * 12
SystemPalette {
id: syspal
......
......@@ -31,6 +31,9 @@ import "constants.js" as Constants
Item {
id: mainWindow
implicitWidth: units.gridUnit * 25
implicitHeight: units.gridUnit * 10
Baloo.Monitor {
id: monitor
}
......
Markdown is supported
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