|
|
a59559 |
diff --git a/plasma/generic/applets/systemtray/package/contents/ui/IconsList.qml b/plasma/generic/applets/systemtray/package/contents/ui/IconsList.qml
|
|
|
a59559 |
index d72733c..7ec7346 100644
|
|
|
a59559 |
--- a/plasma/generic/applets/systemtray/package/contents/ui/IconsList.qml
|
|
|
a59559 |
+++ b/plasma/generic/applets/systemtray/package/contents/ui/IconsList.qml
|
|
|
a59559 |
@@ -33,7 +33,7 @@ MouseArea {
|
|
|
a59559 |
id: root_item
|
|
|
a59559 |
|
|
|
a59559 |
property int icons_size: 24 ///< Size of icons, icons are square i.e. width == height
|
|
|
a59559 |
- property int icons_margins: icons_size/6 ///< Margins for icons
|
|
|
a59559 |
+ property int icons_margins: 4 ///< Margins for icons
|
|
|
a59559 |
property alias icons_number: repeater.count ///< [readonly] Number of icons
|
|
|
a59559 |
property alias model: repeater.model; ///< Model for grid
|
|
|
a59559 |
property int cell_size: icons_size + 2*icons_margins ///< [readonly] size of grid cell
|
|
|
a59559 |
diff --git a/plasma/generic/applets/systemtray/package/contents/ui/main.qml b/plasma/generic/applets/systemtray/package/contents/ui/main.qml
|
|
|
a59559 |
index 209091b..8577362 100644
|
|
|
a59559 |
--- a/plasma/generic/applets/systemtray/package/contents/ui/main.qml
|
|
|
a59559 |
+++ b/plasma/generic/applets/systemtray/package/contents/ui/main.qml
|
|
|
a59559 |
@@ -34,7 +34,7 @@ Item {
|
|
|
a59559 |
property int minimumWidth: JS.MINIMUM_SIZE
|
|
|
a59559 |
property int minimumHeight: JS.MINIMUM_SIZE
|
|
|
a59559 |
|
|
|
a59559 |
- property int iconSize: Math.min(root_item.width, Math.min(root_item.height, theme.defaultFont.mSize.height < 20 ? 24 : theme.largeIconSize)) //Math.min(root_item.width, Math.min(root_item.height, JS.ICONS_SIZE))
|
|
|
a59559 |
+ property int iconSize: Math.min(root_item.width, Math.min(root_item.height, JS.ICONS_SIZE))
|
|
|
a59559 |
|
|
|
a59559 |
// Data Models
|
|
|
a59559 |
property list<ListModel> models: [
|
|
|
a59559 |
@@ -112,7 +112,7 @@ Item {
|
|
|
a59559 |
|
|
|
a59559 |
content: IconsList {
|
|
|
a59559 |
id: popup_area
|
|
|
a59559 |
- icons_size: root_item.iconSize
|
|
|
a59559 |
+ icons_size: JS.ICONS_SIZE
|
|
|
a59559 |
model: model_popup
|
|
|
a59559 |
}
|
|
|
a59559 |
}
|