Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win7 Show Desktop - Icon height on vertical panel #59

Closed
sicherist opened this issue Jan 22, 2017 · 4 comments
Closed

Win7 Show Desktop - Icon height on vertical panel #59

sicherist opened this issue Jan 22, 2017 · 4 comments

Comments

@sicherist
Copy link

Hello,

first of all I would like to thank you for creating the Win7 Show Desktop widget!

I use a vertical panel in KDE and the Win7 Show Desktop - Icon is way too high because it scales with the width of the vertical control panel. Would it be possible to reduce the icon height or even make it adjustable?

kde screenshot

@Zren
Copy link
Owner

Zren commented Jan 22, 2017

You still using v2? It should be using a sane size on vertical panel (~8px high) since v3.

@sicherist
Copy link
Author

I tried both v2 and v6. Both show the same result. However I have KDE 5.5.5 (kubuntu 16.04) and have not yet tried on version >= 5.7.

@Zren
Copy link
Owner

Zren commented Jan 22, 2017

You need to restart plasmashell for a widget's update to take effect (eg: relog). v6 does not work on kde 5.5.5 though.

If you're interested, you could try editing ~/.local/share/plasma/plasmoids/org.kde.plasma.win7showdesktop/contents/ui/main.qml then restarting plasmashell by running the following command: killall plasmshell; kstart5 plasmashell

You probably just need to change Layout.maximumWidth: 3 // + 5 = 8 to Layout.maximumHeight: 3 // + 5 = 8 but here's how I fixed it properly:

af771fd

@sicherist
Copy link
Author

Thank you, it worked! I edited
~/.local/share/plasma/plasmoids/org.kde.plasma.win7showdesktop/contents/ui/main.qml
changed
Layout.maximumWidth: 3 // + 5 = 8
to
Layout.maximumHeight: 3 // + 5 = 8
and restarted plasma shell
killall plasmashell; kstart5 plasmashell

One problem however that I encountered was that KDE didn't seem to uninstall v6 properly and after I uninstalled v6 and reinstalled v2, I still had v6 - which doesn't work on KDE 5.5.5.

What I did was I uninstalled it again, and manually deleted the directory ~/.local/share/plasma/plasmoids/org.kde.plasma.win7showdesktop and reinstalled v2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants