Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 472382
Collapse All | Expand All

(-)a/plasma/generic/applets/batterymonitor/contents/ui/batterymonitor.qml (-2 / +6 lines)
Lines 70-77 Link Here
70
70
71
            Component.onCompleted: {
71
            Component.onCompleted: {
72
                if (!isConstrained()) {
72
                if (!isConstrained()) {
73
                    minimumWidth = 32;
73
                    minimumWidth = theme.iconSizes.dialog;
74
                    minimumHeight = 32;
74
                    minimumHeight = minimumHeight * view.count;
75
                } else {
76
                    // NOTE: Keep in sync with systray
77
                    minimumHeight = 24;
78
                    minimumWidth = 24;
75
                }
79
                }
76
                plasmoid.addEventListener('ConfigChanged', configChanged);
80
                plasmoid.addEventListener('ConfigChanged', configChanged);
77
            }
81
            }

Return to bug 472382