mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
plasma: set the minimum size of keyboard applet to twice the desktop icon size for non-panel form factor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
6e08b4df9a
commit
752bf96aaa
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ void KeyboardApplet::constraintsEvent(Plasma::Constraints constraints)
|
|||
if (kIsPanel(formFactor())) {
|
||||
iconsize = KIconLoader::global()->currentSize(KIconLoader::Panel);
|
||||
} else {
|
||||
iconsize = KIconLoader::global()->currentSize(KIconLoader::Desktop);
|
||||
iconsize = (KIconLoader::global()->currentSize(KIconLoader::Desktop) * 2);
|
||||
}
|
||||
setMinimumSize(iconsize, iconsize);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue