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;
|
||||
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 }};
|
||||
defaultMenuToggle: Toggle(defaultToggle) {
|
||||
|
|
@ -1081,6 +1101,7 @@ PeerListItem {
|
|||
maximalWidth: pixels;
|
||||
|
||||
button: OutlineButton;
|
||||
checkbox: RoundImageCheckbox;
|
||||
statusFg: color;
|
||||
statusFgOver: color;
|
||||
statusFgActive: color;
|
||||
|
|
@ -1116,6 +1137,7 @@ defaultPeerListItem: PeerListItem {
|
|||
statusPosition: point(68px, 31px);
|
||||
photoSize: 46px;
|
||||
button: defaultPeerListButton;
|
||||
checkbox: defaultPeerListCheckbox;
|
||||
statusFg: windowSubTextFg;
|
||||
statusFgOver: windowSubTextFgOver;
|
||||
statusFgActive: windowActiveTextFg;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue