Add RoundImageCheckbox style to PeerListItem.
This commit is contained in:
parent
c96119dcd1
commit
d2611d7e85
1 changed files with 22 additions and 0 deletions
|
|
@ -904,6 +904,26 @@ defaultRoundCheckbox: RoundCheckbox {
|
||||||
bgDuration: 0.75;
|
bgDuration: 0.75;
|
||||||
fgDuration: 1.;
|
fgDuration: 1.;
|
||||||
}
|
}
|
||||||
|
defaultPeerListCheckIcon: icon {{
|
||||||
|
"default_checkbox_check",
|
||||||
|
overviewCheckFgActive,
|
||||||
|
point(3px, 6px)
|
||||||
|
}};
|
||||||
|
defaultPeerListCheck: RoundCheckbox(defaultRoundCheckbox) {
|
||||||
|
size: 20px;
|
||||||
|
sizeSmall: 0.3;
|
||||||
|
bgInactive: overviewCheckBg;
|
||||||
|
bgActive: overviewCheckBgActive;
|
||||||
|
check: defaultPeerListCheckIcon;
|
||||||
|
}
|
||||||
|
defaultPeerListCheckbox: RoundImageCheckbox {
|
||||||
|
imageRadius: 21px;
|
||||||
|
imageSmallRadius: 18px;
|
||||||
|
selectWidth: 2px;
|
||||||
|
selectFg: windowBgActive;
|
||||||
|
selectDuration: 150;
|
||||||
|
check: defaultPeerListCheck;
|
||||||
|
}
|
||||||
|
|
||||||
defaultMenuArrow: icon {{ "dropdown_submenu_arrow", menuSubmenuArrowFg }};
|
defaultMenuArrow: icon {{ "dropdown_submenu_arrow", menuSubmenuArrowFg }};
|
||||||
defaultMenuToggle: Toggle(defaultToggle) {
|
defaultMenuToggle: Toggle(defaultToggle) {
|
||||||
|
|
@ -1081,6 +1101,7 @@ PeerListItem {
|
||||||
maximalWidth: pixels;
|
maximalWidth: pixels;
|
||||||
|
|
||||||
button: OutlineButton;
|
button: OutlineButton;
|
||||||
|
checkbox: RoundImageCheckbox;
|
||||||
statusFg: color;
|
statusFg: color;
|
||||||
statusFgOver: color;
|
statusFgOver: color;
|
||||||
statusFgActive: color;
|
statusFgActive: color;
|
||||||
|
|
@ -1116,6 +1137,7 @@ defaultPeerListItem: PeerListItem {
|
||||||
statusPosition: point(68px, 31px);
|
statusPosition: point(68px, 31px);
|
||||||
photoSize: 46px;
|
photoSize: 46px;
|
||||||
button: defaultPeerListButton;
|
button: defaultPeerListButton;
|
||||||
|
checkbox: defaultPeerListCheckbox;
|
||||||
statusFg: windowSubTextFg;
|
statusFg: windowSubTextFg;
|
||||||
statusFgOver: windowSubTextFgOver;
|
statusFgOver: windowSubTextFgOver;
|
||||||
statusFgActive: windowActiveTextFg;
|
statusFgActive: windowActiveTextFg;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue