This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Task Manager "Show A Launcher When Not Running" => Icon Size

Tags: None
(comma "," separated)
polster
Registered Member
Posts
1
Karma
0
Hi guys,

I'm running KDE 4.14.2 on Debian Jessie.
The task manager feature "Show A Launcher When Not Running" will minimize the application icon to an tiny starter icon when the app isn't running.
I love this feature, especially because there is no visible start icon when the app is running which saves space on the task manager panel.

However, the size of the starter icon is too small for my screen. It would be perfect if the icon would stay at his default size.
I have a feeling that the function for this feature is:

/usr/share/kde4/apps/plasma/packages/org.kde.plasma.tasks/contents/layout.js
Code: Select all
function launcherWidth() {
    return horizontalMargins() + theme.smallIconSize;
}


I have to change theme.smallIconSize to ?

Could someone give me a hint or lead me into the right direction?

Thanks for your time!

/Edit: Should have posted this under "Appearance & System Customization"?


/Edit 2:
Ok I got it! :D
The layout functions ofc return a numeric value.

Code: Select all
function launcherWidth() {
    return horizontalMargins() + (theme.smallIconSize * 2);
}


I could dig more into "theme.variables", but the sloppy solutions is ok for me.
I know that any update could overwrite the layout.js.

Thanks for the awesome software guys!


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft