knightxd
Member
where can i change top menu layout?
optionsButton = modules.client_topmenu.addLeftButton('optionsButton', tr('Options'), '/images/topbuttons/options', toggle)
this add buttons to it, but they're all 16x16 and if you change its size, it's implements, but the background of it stays on 16x16 (in this case 26x26..)
Solution
optionsButton = modules.client_topmenu.addLeftButton('optionsButton', tr('Options'), '/images/topbuttons/options', toggle)
this add buttons to it, but they're all 16x16 and if you change its size, it's implements, but the background of it stays on 16x16 (in this case 26x26..)
Solution
Code:
image-clip: 0 0 145 40 -- first is the inicial wildt // second is the inicial height
$hover :
image-clip: 0 40 145 40 -- third is the wildt size// fourth is the height size
$pressed:
image-clip: 0 80 145 40
Last edited: