mirror of https://github.com/procxx/kepka.git
Dialogs filter input field without search icon.
This commit is contained in:
parent
8ff3779c9a
commit
45ce0ecb1f
|
@ -279,7 +279,7 @@ shadowToggleDuration: 200;
|
||||||
slideDuration: 240;
|
slideDuration: 240;
|
||||||
slideShift: 100px;
|
slideShift: 100px;
|
||||||
slideFadeOutBg: #0000003c;
|
slideFadeOutBg: #0000003c;
|
||||||
slideShadow: icon {{ "slide_shadow", #000000 }};
|
slideShadow: icon {{ "slide_shadow", windowShadowFg }};
|
||||||
|
|
||||||
btnYesColor: #0080c0;
|
btnYesColor: #0080c0;
|
||||||
btnYesHover: #0073ad;
|
btnYesHover: #0073ad;
|
||||||
|
|
|
@ -97,11 +97,10 @@ dialogsFilter: flatInput(inpDefGray) {
|
||||||
bgColor: #f2f2f2;
|
bgColor: #f2f2f2;
|
||||||
phColor: #949494;
|
phColor: #949494;
|
||||||
phFocusColor: #a4a4a4;
|
phFocusColor: #a4a4a4;
|
||||||
icon: fieldSearchIcon;
|
|
||||||
|
|
||||||
width: 240px;
|
width: 240px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
textMrg: margins(32px, 3px, 32px, 3px);
|
textMrg: margins(12px, 3px, 12px, 3px);
|
||||||
}
|
}
|
||||||
dialogsCancelSearch: IconButton(dialogsMenuToggle) {
|
dialogsCancelSearch: IconButton(dialogsMenuToggle) {
|
||||||
icon: icon {{ "dialogs_cancel_search", dialogsMenuIconFg, point(0px, 1px) }};
|
icon: icon {{ "dialogs_cancel_search", dialogsMenuIconFg, point(0px, 1px) }};
|
||||||
|
|
|
@ -20,6 +20,7 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
|
||||||
*/
|
*/
|
||||||
using "basic.style";
|
using "basic.style";
|
||||||
using "history/history.style";
|
using "history/history.style";
|
||||||
|
using "ui/widgets/widgets.style";
|
||||||
using "media/view/mediaview.style";
|
using "media/view/mediaview.style";
|
||||||
|
|
||||||
OverviewFileLayout {
|
OverviewFileLayout {
|
||||||
|
@ -116,3 +117,15 @@ overviewLinksChecked: icon {
|
||||||
{ "overview_links_check_bg", overviewCheckedBg },
|
{ "overview_links_check_bg", overviewCheckedBg },
|
||||||
{ "overview_links_check", #ffffff, point(4px, 5px) },
|
{ "overview_links_check", #ffffff, point(4px, 5px) },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
overviewFilter: flatInput(inpDefGray) {
|
||||||
|
font: font(fsize);
|
||||||
|
bgColor: #f2f2f2;
|
||||||
|
phColor: #949494;
|
||||||
|
phFocusColor: #a4a4a4;
|
||||||
|
icon: fieldSearchIcon;
|
||||||
|
|
||||||
|
width: 240px;
|
||||||
|
height: 32px;
|
||||||
|
textMrg: margins(32px, 3px, 32px, 3px);
|
||||||
|
}
|
||||||
|
|
|
@ -54,7 +54,7 @@ OverviewInner::OverviewInner(OverviewWidget *overview, ScrollArea *scroll, PeerD
|
||||||
, _history(App::history(_peer->id))
|
, _history(App::history(_peer->id))
|
||||||
, _channel(peerToChannel(_peer->id))
|
, _channel(peerToChannel(_peer->id))
|
||||||
, _rowWidth(st::msgMinWidth)
|
, _rowWidth(st::msgMinWidth)
|
||||||
, _search(this, st::dialogsFilter, lang(lng_dlg_filter))
|
, _search(this, st::overviewFilter, lang(lng_dlg_filter))
|
||||||
, _cancelSearch(this, st::dialogsCancelSearch)
|
, _cancelSearch(this, st::dialogsCancelSearch)
|
||||||
, _itemsToBeLoaded(LinksOverviewPerPage * 2)
|
, _itemsToBeLoaded(LinksOverviewPerPage * 2)
|
||||||
, _width(st::windowMinWidth) {
|
, _width(st::windowMinWidth) {
|
||||||
|
|
Loading…
Reference in New Issue