Commit 318c16f3 authored by Nate Graham's avatar Nate Graham 🔩

[KCM] Revert change to reduce size of screens in visualization

Summary:
This was done in D23798, but in retrospect, that was a mistake. When more than one output
is connected, their representations in the visualization become tiny and their text gets
scrunched and elided. The old size worked better. So, let's revert to that.

BUG: 413142

Test Plan: Multi-screen display is much improved: {F7641754}

Reviewers: #vdg, #plasma, romangg

Reviewed By: #plasma, romangg

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D24833
parent e47dc21a
......@@ -31,8 +31,8 @@ Controls.ScrollView {
onHeightChanged: resetTotalSize()
property real relativeFactor: {
var relativeSize = Qt.size(totalSize.width / (0.35 * width),
totalSize.height / (0.35 * height));
var relativeSize = Qt.size(totalSize.width / (0.6 * width),
totalSize.height / (0.6 * height));
if (relativeSize.width > relativeSize.height) {
// Available width smaller than height, optimize for width (we have
// '>' because the available width, height is in the denominator).
......
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