Commit 5519a0a5 authored by Filip Fila's avatar Filip Fila 🌆

[WidgetExplorer] Fix blurry previews

Summary: Round the cell width to avoid getting blurry previews.

Test Plan:
Before:
{F6809406}

After:
{F6810901}

Reviewers: #plasma, #vdg, ngraham, davidedmundson

Reviewed By: #plasma, #vdg, ngraham, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D21030
parent 748094a1
......@@ -292,7 +292,7 @@ Item {
activeFocusOnTab: true
keyNavigationWraps: true
cellWidth: (width - units.smallSpacing) / 2
cellWidth: Math.floor((width - units.smallSpacing) / 2)
cellHeight: cellWidth + units.gridUnit * 4 + units.smallSpacing * 2
delegate: AppletDelegate {}
......
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