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

Homerun Kicker - How to change the columns width ?

Tags: None
(comma "," separated)
Pafrape
Registered Member
Posts
12
Karma
0
OS
I found a new Kde launcher a few months ago, I find great (of course this is only my opinion).
It is the smaller version (not full screen) Homerun , which can be seen in the following link : http://blogs.kde.org/2014/01/29/homerun-120 , although the current version is slightly advanced.

This launcher version not full screen, works like Lancelot , but is more simply and more faster.
Moreover, it displays the recently used applications and the recently used documents .

However, I have a slight regret about this launcher : the column width is fixed and can not be changed.

Does anyone know how to change the columns width ?

Thank you for your help.
metzman
Registered Member
Posts
171
Karma
3
OS
I also recently changed to using this as the default launcher... and, like yourself, finding no obvious way to alter column widths.

They can be changed if you don't mind editing a couple of the *.qml files. These are located at:
/usr/share/kde4/apps/plasma/plasmoids/org.kde.homerun-kicker/contents/ui

To change the width of the Top-Level Menu:
in 'main.qml' in the region of line 262 find this section of code
Code: Select all
width: theme.defaultFont.mSize.width * 18
increase '18' until you have a satisfactory width for the column. (I'm using 28)


To change the width of Sub-Menus:
in 'ItemListView.qml' in the region of line 29 find this section of code
Code: Select all
width: theme.defaultFont.mSize.width * ((nameFormat > 1) ? 20 : 18)
insert a multiplier...
Code: Select all
width: theme.defaultFont.mSize.width * n.n * ((nameFormat > 1) ? 20 : 18)
where 'n.n' is the factor to increase the width by. (I'm using 1.5)


You will need to log out / in for the changes to take effect.

** Note: These changes will be overwritten on any (Homerun) update and will need re-applying. **

This is how it looks using values of 28 and 1.5

Image

edit: forgot to mention... using version 1.2.4-14.4 of homerun-kicker
Pafrape
Registered Member
Posts
12
Karma
0
OS
Thank you for the reply.

We can thus adjust kde Homerun as we want.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]