Commit 02c62885 authored by Javad Rahmatzadeh's avatar Javad Rahmatzadeh
Browse files

panel icon size

Closes #40
parent f3b97939
......@@ -18,6 +18,7 @@ We go to the next version after each release on [GNOME Shell Extensions website]
### Added
- Libadwaita for GNOME Shell 42 prefs.
- Panel icon size.
- Panel world clock visiblity.
- Weather visiblity.
......@@ -348,3 +349,4 @@ We go to the next version after each release on [GNOME Shell Extensions website]
- Hide workspace switcher.
- Hot corner to toggle overview visibility.
......@@ -32,6 +32,7 @@ This extension allows you to do the following:
| Panel Arrow Visibility | :black_circle: | :black_circle: | :white_circle: | :white_circle: | :white_circle: |
| Panel Button Padding Size | :black_circle: | :black_circle: | :black_circle: | :black_circle: | :black_circle: |
| Panel Height | :black_circle: | :black_circle: | :black_circle: | :black_circle: | :black_circle: |
| Panel icon size | :black_circle: | :black_circle: | :black_circle: | :black_circle: | :black_circle: |
| Panel Indicator Padding Size | :black_circle: | :black_circle: | :black_circle: | :black_circle: | :black_circle: |
| Panel Notification icon Visibility | :black_circle: | :black_circle: | :black_circle: | :black_circle: | :black_circle: |
| Panel Position | :black_circle: | :black_circle: | :black_circle: | :black_circle: | :black_circle: |
......
......@@ -2805,10 +2805,15 @@ var API = class
let classnameStarter = this._getAPIClassname('panel-icon-size');
this.UIStyleClassRemove(classnameStarter + this._panelIconSize);
this._emitRefreshStyles();
let defaultSize = this._originals['panelIconSize'];
this._panel.PANEL_ICON_SIZE = defaultSize;
this._main.panel.statusArea['dateMenu']._indicator.icon_size = defaultSize;
this._main.panel.statusArea['dateMenu']._indicator.set_icon_size(defaultSize);
this._main.panel.statusArea['appMenu']._onIconThemeChanged();
this._activitiesButtonIconSetSize(defaultSize);
delete(this._panelIconSize);
}
/**
......@@ -2828,14 +2833,17 @@ var API = class
this._originals['panelIconSize'] = this._panel.PANEL_ICON_SIZE;
}
this._panelIconSize = size;
let classnameStarter = this._getAPIClassname('panel-icon-size');
this.UIStyleClassRemove(classnameStarter + this.panelIconGetSize());
this.UIStyleClassAdd(classnameStarter + size);
this._emitRefreshStyles();
this._panel.PANEL_ICON_SIZE = size;
this._main.panel.statusArea['dateMenu']._indicator.icon_size = size;
this._main.panel.statusArea['dateMenu']._indicator.set_icon_size(size);
this._main.panel.statusArea['appMenu']._onIconThemeChanged();
this._activitiesButtonIconSetSize(size);
this._panelIconSize = size;
}
/**
......
......@@ -233,6 +233,10 @@ var Manager = class
this._settings.connect('changed::weather', () => {
this._applyWeather(false);
});
this._settings.connect('changed::panel-icon-size', () => {
this._applyPanelIconSize(false);
});
}
/**
......@@ -288,6 +292,7 @@ var Manager = class
this._applyDoubleSuperToAppgrid(false);
this._applyWorldClock(false);
this._applyWeather(false);
this._applyPanelIconSize(false);
}
/**
......@@ -343,6 +348,7 @@ var Manager = class
this._applyDoubleSuperToAppgrid(true);
this._applyWorldClock(true);
this._applyWeather(true);
this._applyPanelIconSize(true);
}
/**
......@@ -1168,5 +1174,23 @@ var Manager = class
this._api.weatherHide();
}
}
/**
* apply panel icon size settings
*
* @param {boolean} forceOriginal force original shell setting
*
* @returns {void}
*/
_applyPanelIconSize(forceOriginal)
{
let size = this._settings.get_int('panel-icon-size');
if (forceOriginal || size === 0) {
this._api.panelIconSetDefaultSize();
} else {
this._api.panelIconSetSize(size);
}
}
}
......@@ -630,6 +630,18 @@ var PrefsKeys = class
}
);
this.setKey(
'customize',
'panel-icon-size',
'GtkComboBoxText',
true,
{
default: 0,
minimal: 0,
superminimal: 0,
}
);
this.setKey(
'override',
'theme',
......
......@@ -322,6 +322,13 @@
<summary>Weather Visibility in Clock Menu</summary>
<description>Weather Visibility Status</description>
</key>
<key type="i" name="panel-icon-size">
<default>0</default>
<range min="0" max="60"/>
<summary>0 means use Shell theme, 1 - 60 means panel icon size</summary>
<description>Panel Icon Size</description>
</key>
</schema>
......
......@@ -712,7 +712,9 @@
* values are not important here. Just do something that can change the look
*/
.just-perfection-api-refresh-styles .panel-button,
.just-perfection-api-refresh-styles .panel-status-indicators-box
.just-perfection-api-refresh-styles .panel-status-indicators-box,
.just-perfection-api-refresh-styles .panel-button StIcon,
.just-perfection-api-refresh-styles .system-status-icon
{
background-color: gold;
color: gold;
......@@ -731,64 +733,66 @@
width: 0;
}
.just-perfection-api-panel-icon-size1 .system-status-icon, .just-perfection-api-panel-icon-size1 .panel-button StIcon { icon-size: 1px; min-width: 1px; min-height: 1px; }
.just-perfection-api-panel-icon-size2 .system-status-icon, .just-perfection-api-panel-icon-size2 .panel-button StIcon { icon-size: 2px; min-width: 2px; min-height: 2px; }
.just-perfection-api-panel-icon-size3 .system-status-icon, .just-perfection-api-panel-icon-size3 .panel-button StIcon { icon-size: 3px; min-width: 3px; min-height: 3px; }
.just-perfection-api-panel-icon-size4 .system-status-icon, .just-perfection-api-panel-icon-size4 .panel-button StIcon { icon-size: 4px; min-width: 4px; min-height: 4px; }
.just-perfection-api-panel-icon-size5 .system-status-icon, .just-perfection-api-panel-icon-size5 .panel-button StIcon { icon-size: 5px; min-width: 5px; min-height: 5px; }
.just-perfection-api-panel-icon-size6 .system-status-icon, .just-perfection-api-panel-icon-size6 .panel-button StIcon { icon-size: 6px; min-width: 6px; min-height: 6px; }
.just-perfection-api-panel-icon-size7 .system-status-icon, .just-perfection-api-panel-icon-size7 .panel-button StIcon { icon-size: 7px; min-width: 7px; min-height: 7px; }
.just-perfection-api-panel-icon-size8 .system-status-icon, .just-perfection-api-panel-icon-size8 .panel-button StIcon { icon-size: 8px; min-width: 8px; min-height: 8px; }
.just-perfection-api-panel-icon-size9 .system-status-icon, .just-perfection-api-panel-icon-size9 .panel-button StIcon { icon-size: 9px; min-width: 9px; min-height: 9px; }
.just-perfection-api-panel-icon-size10 .system-status-icon, .just-perfection-api-panel-icon-size10 .panel-button StIcon { icon-size: 10px; min-width: 10px; min-height: 10px; }
.just-perfection-api-panel-icon-size11 .system-status-icon, .just-perfection-api-panel-icon-size11 .panel-button StIcon { icon-size: 11px; min-width: 11px; min-height: 11px; }
.just-perfection-api-panel-icon-size12 .system-status-icon, .just-perfection-api-panel-icon-size12 .panel-button StIcon { icon-size: 12px; min-width: 12px; min-height: 12px; }
.just-perfection-api-panel-icon-size13 .system-status-icon, .just-perfection-api-panel-icon-size13 .panel-button StIcon { icon-size: 13px; min-width: 13px; min-height: 13px; }
.just-perfection-api-panel-icon-size14 .system-status-icon, .just-perfection-api-panel-icon-size14 .panel-button StIcon { icon-size: 14px; min-width: 14px; min-height: 14px; }
.just-perfection-api-panel-icon-size15 .system-status-icon, .just-perfection-api-panel-icon-size15 .panel-button StIcon { icon-size: 15px; min-width: 15px; min-height: 15px; }
.just-perfection-api-panel-icon-size16 .system-status-icon, .just-perfection-api-panel-icon-size16 .panel-button StIcon { icon-size: 16px; min-width: 16px; min-height: 16px; }
.just-perfection-api-panel-icon-size17 .system-status-icon, .just-perfection-api-panel-icon-size17 .panel-button StIcon { icon-size: 17px; min-width: 17px; min-height: 17px; }
.just-perfection-api-panel-icon-size18 .system-status-icon, .just-perfection-api-panel-icon-size18 .panel-button StIcon { icon-size: 18px; min-width: 18px; min-height: 18px; }
.just-perfection-api-panel-icon-size19 .system-status-icon, .just-perfection-api-panel-icon-size19 .panel-button StIcon { icon-size: 19px; min-width: 19px; min-height: 19px; }
.just-perfection-api-panel-icon-size20 .system-status-icon, .just-perfection-api-panel-icon-size20 .panel-button StIcon { icon-size: 20px; min-width: 20px; min-height: 20px; }
.just-perfection-api-panel-icon-size21 .system-status-icon, .just-perfection-api-panel-icon-size21 .panel-button StIcon { icon-size: 21px; min-width: 21px; min-height: 21px; }
.just-perfection-api-panel-icon-size22 .system-status-icon, .just-perfection-api-panel-icon-size22 .panel-button StIcon { icon-size: 22px; min-width: 22px; min-height: 22px; }
.just-perfection-api-panel-icon-size23 .system-status-icon, .just-perfection-api-panel-icon-size23 .panel-button StIcon { icon-size: 23px; min-width: 23px; min-height: 23px; }
.just-perfection-api-panel-icon-size24 .system-status-icon, .just-perfection-api-panel-icon-size24 .panel-button StIcon { icon-size: 24px; min-width: 24px; min-height: 24px; }
.just-perfection-api-panel-icon-size25 .system-status-icon, .just-perfection-api-panel-icon-size25 .panel-button StIcon { icon-size: 25px; min-width: 25px; min-height: 25px; }
.just-perfection-api-panel-icon-size26 .system-status-icon, .just-perfection-api-panel-icon-size26 .panel-button StIcon { icon-size: 26px; min-width: 26px; min-height: 26px; }
.just-perfection-api-panel-icon-size27 .system-status-icon, .just-perfection-api-panel-icon-size27 .panel-button StIcon { icon-size: 27px; min-width: 27px; min-height: 27px; }
.just-perfection-api-panel-icon-size28 .system-status-icon, .just-perfection-api-panel-icon-size28 .panel-button StIcon { icon-size: 28px; min-width: 28px; min-height: 28px; }
.just-perfection-api-panel-icon-size29 .system-status-icon, .just-perfection-api-panel-icon-size29 .panel-button StIcon { icon-size: 29px; min-width: 29px; min-height: 29px; }
.just-perfection-api-panel-icon-size30 .system-status-icon, .just-perfection-api-panel-icon-size30 .panel-button StIcon { icon-size: 30px; min-width: 30px; min-height: 30px; }
.just-perfection-api-panel-icon-size31 .system-status-icon, .just-perfection-api-panel-icon-size31 .panel-button StIcon { icon-size: 31px; min-width: 31px; min-height: 31px; }
.just-perfection-api-panel-icon-size32 .system-status-icon, .just-perfection-api-panel-icon-size32 .panel-button StIcon { icon-size: 32px; min-width: 32px; min-height: 32px; }
.just-perfection-api-panel-icon-size33 .system-status-icon, .just-perfection-api-panel-icon-size33 .panel-button StIcon { icon-size: 33px; min-width: 33px; min-height: 33px; }
.just-perfection-api-panel-icon-size34 .system-status-icon, .just-perfection-api-panel-icon-size34 .panel-button StIcon { icon-size: 34px; min-width: 34px; min-height: 34px; }
.just-perfection-api-panel-icon-size35 .system-status-icon, .just-perfection-api-panel-icon-size35 .panel-button StIcon { icon-size: 35px; min-width: 35px; min-height: 35px; }
.just-perfection-api-panel-icon-size36 .system-status-icon, .just-perfection-api-panel-icon-size36 .panel-button StIcon { icon-size: 36px; min-width: 36px; min-height: 36px; }
.just-perfection-api-panel-icon-size37 .system-status-icon, .just-perfection-api-panel-icon-size37 .panel-button StIcon { icon-size: 37px; min-width: 37px; min-height: 37px; }
.just-perfection-api-panel-icon-size38 .system-status-icon, .just-perfection-api-panel-icon-size38 .panel-button StIcon { icon-size: 38px; min-width: 38px; min-height: 38px; }
.just-perfection-api-panel-icon-size39 .system-status-icon, .just-perfection-api-panel-icon-size39 .panel-button StIcon { icon-size: 39px; min-width: 39px; min-height: 39px; }
.just-perfection-api-panel-icon-size40 .system-status-icon, .just-perfection-api-panel-icon-size40 .panel-button StIcon { icon-size: 40px; min-width: 40px; min-height: 40px; }
.just-perfection-api-panel-icon-size41 .system-status-icon, .just-perfection-api-panel-icon-size41 .panel-button StIcon { icon-size: 41px; min-width: 41px; min-height: 41px; }
.just-perfection-api-panel-icon-size42 .system-status-icon, .just-perfection-api-panel-icon-size42 .panel-button StIcon { icon-size: 42px; min-width: 42px; min-height: 42px; }
.just-perfection-api-panel-icon-size43 .system-status-icon, .just-perfection-api-panel-icon-size43 .panel-button StIcon { icon-size: 43px; min-width: 43px; min-height: 43px; }
.just-perfection-api-panel-icon-size44 .system-status-icon, .just-perfection-api-panel-icon-size44 .panel-button StIcon { icon-size: 44px; min-width: 44px; min-height: 44px; }
.just-perfection-api-panel-icon-size45 .system-status-icon, .just-perfection-api-panel-icon-size45 .panel-button StIcon { icon-size: 45px; min-width: 45px; min-height: 45px; }
.just-perfection-api-panel-icon-size46 .system-status-icon, .just-perfection-api-panel-icon-size46 .panel-button StIcon { icon-size: 46px; min-width: 46px; min-height: 46px; }
.just-perfection-api-panel-icon-size47 .system-status-icon, .just-perfection-api-panel-icon-size47 .panel-button StIcon { icon-size: 47px; min-width: 47px; min-height: 47px; }
.just-perfection-api-panel-icon-size48 .system-status-icon, .just-perfection-api-panel-icon-size48 .panel-button StIcon { icon-size: 48px; min-width: 48px; min-height: 48px; }
.just-perfection-api-panel-icon-size49 .system-status-icon, .just-perfection-api-panel-icon-size49 .panel-button StIcon { icon-size: 49px; min-width: 49px; min-height: 49px; }
.just-perfection-api-panel-icon-size50 .system-status-icon, .just-perfection-api-panel-icon-size50 .panel-button StIcon { icon-size: 50px; min-width: 50px; min-height: 50px; }
.just-perfection-api-panel-icon-size51 .system-status-icon, .just-perfection-api-panel-icon-size51 .panel-button StIcon { icon-size: 51px; min-width: 51px; min-height: 51px; }
.just-perfection-api-panel-icon-size52 .system-status-icon, .just-perfection-api-panel-icon-size52 .panel-button StIcon { icon-size: 52px; min-width: 52px; min-height: 52px; }
.just-perfection-api-panel-icon-size53 .system-status-icon, .just-perfection-api-panel-icon-size53 .panel-button StIcon { icon-size: 53px; min-width: 53px; min-height: 53px; }
.just-perfection-api-panel-icon-size54 .system-status-icon, .just-perfection-api-panel-icon-size54 .panel-button StIcon { icon-size: 54px; min-width: 54px; min-height: 54px; }
.just-perfection-api-panel-icon-size55 .system-status-icon, .just-perfection-api-panel-icon-size55 .panel-button StIcon { icon-size: 55px; min-width: 55px; min-height: 55px; }
.just-perfection-api-panel-icon-size56 .system-status-icon, .just-perfection-api-panel-icon-size56 .panel-button StIcon { icon-size: 56px; min-width: 56px; min-height: 56px; }
.just-perfection-api-panel-icon-size57 .system-status-icon, .just-perfection-api-panel-icon-size57 .panel-button StIcon { icon-size: 57px; min-width: 57px; min-height: 57px; }
.just-perfection-api-panel-icon-size58 .system-status-icon, .just-perfection-api-panel-icon-size58 .panel-button StIcon { icon-size: 58px; min-width: 58px; min-height: 58px; }
.just-perfection-api-panel-icon-size59 .system-status-icon, .just-perfection-api-panel-icon-size59 .panel-button StIcon { icon-size: 59px; min-width: 59px; min-height: 59px; }
.just-perfection-api-panel-icon-size60 .system-status-icon, .just-perfection-api-panel-icon-size60 .panel-button StIcon { icon-size: 60px; min-width: 60px; min-height: 60px; }
.just-perfection-api-panel-icon-size1 .system-status-icon, .just-perfection-api-panel-icon-size1 .panel-button StIcon { icon-size: 1px; }
.just-perfection-api-panel-icon-size2 .system-status-icon, .just-perfection-api-panel-icon-size2 .panel-button StIcon { icon-size: 2px; }
.just-perfection-api-panel-icon-size3 .system-status-icon, .just-perfection-api-panel-icon-size3 .panel-button StIcon { icon-size: 3px; }
.just-perfection-api-panel-icon-size4 .system-status-icon, .just-perfection-api-panel-icon-size4 .panel-button StIcon { icon-size: 4px; }
.just-perfection-api-panel-icon-size5 .system-status-icon, .just-perfection-api-panel-icon-size5 .panel-button StIcon { icon-size: 5px; }
.just-perfection-api-panel-icon-size6 .system-status-icon, .just-perfection-api-panel-icon-size6 .panel-button StIcon { icon-size: 6px; }
.just-perfection-api-panel-icon-size7 .system-status-icon, .just-perfection-api-panel-icon-size7 .panel-button StIcon { icon-size: 7px; }
.just-perfection-api-panel-icon-size8 .system-status-icon, .just-perfection-api-panel-icon-size8 .panel-button StIcon { icon-size: 8px; }
.just-perfection-api-panel-icon-size9 .system-status-icon, .just-perfection-api-panel-icon-size9 .panel-button StIcon { icon-size: 9px; }
.just-perfection-api-panel-icon-size10 .system-status-icon, .just-perfection-api-panel-icon-size10 .panel-button StIcon { icon-size: 10px; }
.just-perfection-api-panel-icon-size11 .system-status-icon, .just-perfection-api-panel-icon-size11 .panel-button StIcon { icon-size: 11px; }
.just-perfection-api-panel-icon-size12 .system-status-icon, .just-perfection-api-panel-icon-size12 .panel-button StIcon { icon-size: 12px; }
.just-perfection-api-panel-icon-size13 .system-status-icon, .just-perfection-api-panel-icon-size13 .panel-button StIcon { icon-size: 13px; }
.just-perfection-api-panel-icon-size14 .system-status-icon, .just-perfection-api-panel-icon-size14 .panel-button StIcon { icon-size: 14px; }
.just-perfection-api-panel-icon-size15 .system-status-icon, .just-perfection-api-panel-icon-size15 .panel-button StIcon { icon-size: 15px; }
.just-perfection-api-panel-icon-size16 .system-status-icon, .just-perfection-api-panel-icon-size16 .panel-button StIcon { icon-size: 16px; }
.just-perfection-api-panel-icon-size17 .system-status-icon, .just-perfection-api-panel-icon-size17 .panel-button StIcon { icon-size: 17px; }
.just-perfection-api-panel-icon-size18 .system-status-icon, .just-perfection-api-panel-icon-size18 .panel-button StIcon { icon-size: 18px; }
.just-perfection-api-panel-icon-size19 .system-status-icon, .just-perfection-api-panel-icon-size19 .panel-button StIcon { icon-size: 19px; }
.just-perfection-api-panel-icon-size20 .system-status-icon, .just-perfection-api-panel-icon-size20 .panel-button StIcon { icon-size: 20px; }
.just-perfection-api-panel-icon-size21 .system-status-icon, .just-perfection-api-panel-icon-size21 .panel-button StIcon { icon-size: 21px; }
.just-perfection-api-panel-icon-size22 .system-status-icon, .just-perfection-api-panel-icon-size22 .panel-button StIcon { icon-size: 22px; }
.just-perfection-api-panel-icon-size23 .system-status-icon, .just-perfection-api-panel-icon-size23 .panel-button StIcon { icon-size: 23px; }
.just-perfection-api-panel-icon-size24 .system-status-icon, .just-perfection-api-panel-icon-size24 .panel-button StIcon { icon-size: 24px; }
.just-perfection-api-panel-icon-size25 .system-status-icon, .just-perfection-api-panel-icon-size25 .panel-button StIcon { icon-size: 25px; }
.just-perfection-api-panel-icon-size26 .system-status-icon, .just-perfection-api-panel-icon-size26 .panel-button StIcon { icon-size: 26px; }
.just-perfection-api-panel-icon-size27 .system-status-icon, .just-perfection-api-panel-icon-size27 .panel-button StIcon { icon-size: 27px; }
.just-perfection-api-panel-icon-size28 .system-status-icon, .just-perfection-api-panel-icon-size28 .panel-button StIcon { icon-size: 28px; }
.just-perfection-api-panel-icon-size29 .system-status-icon, .just-perfection-api-panel-icon-size29 .panel-button StIcon { icon-size: 29px; }
.just-perfection-api-panel-icon-size30 .system-status-icon, .just-perfection-api-panel-icon-size30 .panel-button StIcon { icon-size: 30px; }
.just-perfection-api-panel-icon-size31 .system-status-icon, .just-perfection-api-panel-icon-size31 .panel-button StIcon { icon-size: 31px; }
.just-perfection-api-panel-icon-size32 .system-status-icon, .just-perfection-api-panel-icon-size32 .panel-button StIcon { icon-size: 32px; }
.just-perfection-api-panel-icon-size33 .system-status-icon, .just-perfection-api-panel-icon-size33 .panel-button StIcon { icon-size: 33px; }
.just-perfection-api-panel-icon-size34 .system-status-icon, .just-perfection-api-panel-icon-size34 .panel-button StIcon { icon-size: 34px; }
.just-perfection-api-panel-icon-size35 .system-status-icon, .just-perfection-api-panel-icon-size35 .panel-button StIcon { icon-size: 35px; }
.just-perfection-api-panel-icon-size36 .system-status-icon, .just-perfection-api-panel-icon-size36 .panel-button StIcon { icon-size: 36px; }
.just-perfection-api-panel-icon-size37 .system-status-icon, .just-perfection-api-panel-icon-size37 .panel-button StIcon { icon-size: 37px; }
.just-perfection-api-panel-icon-size38 .system-status-icon, .just-perfection-api-panel-icon-size38 .panel-button StIcon { icon-size: 38px; }
.just-perfection-api-panel-icon-size39 .system-status-icon, .just-perfection-api-panel-icon-size39 .panel-button StIcon { icon-size: 39px; }
.just-perfection-api-panel-icon-size40 .system-status-icon, .just-perfection-api-panel-icon-size40 .panel-button StIcon { icon-size: 40px; }
.just-perfection-api-panel-icon-size41 .system-status-icon, .just-perfection-api-panel-icon-size41 .panel-button StIcon { icon-size: 41px; }
.just-perfection-api-panel-icon-size42 .system-status-icon, .just-perfection-api-panel-icon-size42 .panel-button StIcon { icon-size: 42px; }
.just-perfection-api-panel-icon-size43 .system-status-icon, .just-perfection-api-panel-icon-size43 .panel-button StIcon { icon-size: 43px; }
.just-perfection-api-panel-icon-size44 .system-status-icon, .just-perfection-api-panel-icon-size44 .panel-button StIcon { icon-size: 44px; }
.just-perfection-api-panel-icon-size45 .system-status-icon, .just-perfection-api-panel-icon-size45 .panel-button StIcon { icon-size: 45px; }
.just-perfection-api-panel-icon-size46 .system-status-icon, .just-perfection-api-panel-icon-size46 .panel-button StIcon { icon-size: 46px; }
.just-perfection-api-panel-icon-size47 .system-status-icon, .just-perfection-api-panel-icon-size47 .panel-button StIcon { icon-size: 47px; }
.just-perfection-api-panel-icon-size48 .system-status-icon, .just-perfection-api-panel-icon-size48 .panel-button StIcon { icon-size: 48px; }
.just-perfection-api-panel-icon-size49 .system-status-icon, .just-perfection-api-panel-icon-size49 .panel-button StIcon { icon-size: 49px; }
.just-perfection-api-panel-icon-size50 .system-status-icon, .just-perfection-api-panel-icon-size50 .panel-button StIcon { icon-size: 50px; }
.just-perfection-api-panel-icon-size51 .system-status-icon, .just-perfection-api-panel-icon-size51 .panel-button StIcon { icon-size: 51px; }
.just-perfection-api-panel-icon-size52 .system-status-icon, .just-perfection-api-panel-icon-size52 .panel-button StIcon { icon-size: 52px; }
.just-perfection-api-panel-icon-size53 .system-status-icon, .just-perfection-api-panel-icon-size53 .panel-button StIcon { icon-size: 53px; }
.just-perfection-api-panel-icon-size54 .system-status-icon, .just-perfection-api-panel-icon-size54 .panel-button StIcon { icon-size: 54px; }
.just-perfection-api-panel-icon-size55 .system-status-icon, .just-perfection-api-panel-icon-size55 .panel-button StIcon { icon-size: 55px; }
.just-perfection-api-panel-icon-size56 .system-status-icon, .just-perfection-api-panel-icon-size56 .panel-button StIcon { icon-size: 56px; }
.just-perfection-api-panel-icon-size57 .system-status-icon, .just-perfection-api-panel-icon-size57 .panel-button StIcon { icon-size: 57px; }
.just-perfection-api-panel-icon-size58 .system-status-icon, .just-perfection-api-panel-icon-size58 .panel-button StIcon { icon-size: 58px; }
.just-perfection-api-panel-icon-size59 .system-status-icon, .just-perfection-api-panel-icon-size59 .panel-button StIcon { icon-size: 59px; }
.just-perfection-api-panel-icon-size60 .system-status-icon, .just-perfection-api-panel-icon-size60 .panel-button StIcon { icon-size: 60px; }
......@@ -25,6 +25,13 @@
</object>
</child>
<child>
<object class="AdwComboRow" id="panel_icon_size_row">
<property name="title" translatable="yes">Panel Icon Size</property>
<property name="model">panel_icon_size_model</property>
</object>
</child>
<child>
<object class="AdwComboRow" id="panel_button_padding_size_row">
<property name="title" translatable="yes">Panel Button Padding Size</property>
......@@ -235,6 +242,72 @@
</items>
</object>
<object class="GtkStringList" id="panel_icon_size_model">
<items>
<item translatable="yes">By Shell Theme</item>
<item>1px</item>
<item>2px</item>
<item>3px</item>
<item>4px</item>
<item>5px</item>
<item>6px</item>
<item>7px</item>
<item>8px</item>
<item>9px</item>
<item>10px</item>
<item>11px</item>
<item>12px</item>
<item>13px</item>
<item>14px</item>
<item>15px</item>
<item>16px</item>
<item>17px</item>
<item>18px</item>
<item>19px</item>
<item>20px</item>
<item>21px</item>
<item>22px</item>
<item>23px</item>
<item>24px</item>
<item>25px</item>
<item>26px</item>
<item>27px</item>
<item>28px</item>
<item>29px</item>
<item>30px</item>
<item>31px</item>
<item>32px</item>
<item>33px</item>
<item>34px</item>
<item>35px</item>
<item>36px</item>
<item>37px</item>
<item>38px</item>
<item>39px</item>
<item>40px</item>
<item>41px</item>
<item>42px</item>
<item>43px</item>
<item>44px</item>
<item>45px</item>
<item>46px</item>
<item>47px</item>
<item>48px</item>
<item>49px</item>
<item>50px</item>
<item>51px</item>
<item>52px</item>
<item>53px</item>
<item>54px</item>
<item>55px</item>
<item>56px</item>
<item>57px</item>
<item>58px</item>
<item>59px</item>
<item>60px</item>
</items>
</object>
<object class="GtkStringList" id="panel_button_padding_size_model">
<items>
<item translatable="yes">By Shell Theme</item>
......
......@@ -292,6 +292,118 @@
</object>
</child>
<child>
<object class="GtkListBoxRow" id="panel_icon_size_row">
<property name="visible">True</property>
<property name="can-focus">True</property>
<child>
<object class="GtkBox" id="panel_icon_size_box">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox" id="panel_icon_size_box2">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="spacing">32</property>
<child>
<object class="GtkLabel" id="panel_icon_size_txt">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="valign">center</property>
<property name="label" translatable="yes">Panel Icon Size</property>
<property name="xalign">0</property>
<property name="hexpand">1</property>
</object>
</child>
<child>
<object class="GtkComboBoxText" id="panel_icon_size_comboboxtext">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="valign">center</property>
<items>
<item translatable="yes">By Shell Theme</item>
<item>1px</item>
<item>2px</item>
<item>3px</item>
<item>4px</item>
<item>5px</item>
<item>6px</item>
<item>7px</item>
<item>8px</item>
<item>9px</item>
<item>10px</item>
<item>11px</item>
<item>12px</item>
<item>13px</item>
<item>14px</item>
<item>15px</item>
<item>16px</item>
<item>17px</item>
<item>18px</item>
<item>19px</item>
<item>20px</item>
<item>21px</item>
<item>22px</item>
<item>23px</item>
<item>24px</item>
<item>25px</item>
<item>26px</item>
<item>27px</item>
<item>28px</item>
<item>29px</item>
<item>30px</item>
<item>31px</item>
<item>32px</item>
<item>33px</item>
<item>34px</item>
<item>35px</item>
<item>36px</item>
<item>37px</item>
<item>38px</item>
<item>39px</item>
<item>40px</item>
<item>41px</item>
<item>42px</item>
<item>43px</item>
<item>44px</item>
<item>45px</item>
<item>46px</item>
<item>47px</item>
<item>48px</item>
<item>49px</item>
<item>50px</item>
<item>51px</item>
<item>52px</item>
<item>53px</item>
<item>54px</item>
<item>55px</item>
<item>56px</item>
<item>57px</item>
<item>58px</item>
<item>59px</item>
<item>60px</item>
</items>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkListBoxRow" id="panel_button_padding_size_row">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment