mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
@@ -40,6 +40,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||||||
#include "ui/filter_icons.h"
|
#include "ui/filter_icons.h"
|
||||||
#include "ui/layers/generic_box.h"
|
#include "ui/layers/generic_box.h"
|
||||||
#include "ui/painter.h"
|
#include "ui/painter.h"
|
||||||
|
#include "ui/rect.h"
|
||||||
#include "ui/power_saving.h"
|
#include "ui/power_saving.h"
|
||||||
#include "ui/vertical_list.h"
|
#include "ui/vertical_list.h"
|
||||||
#include "ui/widgets/buttons.h"
|
#include "ui/widgets/buttons.h"
|
||||||
@@ -593,7 +594,7 @@ void EditFilterBox(
|
|||||||
) | rpl::start_with_next([=](const QRect &r) {
|
) | rpl::start_with_next([=](const QRect &r) {
|
||||||
const auto h = st::normalFont->height;
|
const auto h = st::normalFont->height;
|
||||||
preview->setGeometry(
|
preview->setGeometry(
|
||||||
colors->x(),
|
rect::right(colors) - st::settingsFilterTagPreviewSkip,
|
||||||
r.y() + (r.height() - h) / 2 + st::lineWidth,
|
r.y() + (r.height() - h) / 2 + st::lineWidth,
|
||||||
colors->width(),
|
colors->width(),
|
||||||
h);
|
h);
|
||||||
|
|||||||
@@ -311,6 +311,8 @@ settingsFilterDividerLabelPadding: margins(0px, 16px, 0px, 22px);
|
|||||||
settingsFilterIconSize: 74px;
|
settingsFilterIconSize: 74px;
|
||||||
settingsFilterIconPadding: margins(0px, 17px, 0px, 5px);
|
settingsFilterIconPadding: margins(0px, 17px, 0px, 5px);
|
||||||
|
|
||||||
|
settingsFilterTagPreviewSkip: 14px;
|
||||||
|
|
||||||
settingsDeviceName: InputField(defaultInputField) {
|
settingsDeviceName: InputField(defaultInputField) {
|
||||||
textBg: transparent;
|
textBg: transparent;
|
||||||
textMargins: margins(1px, 3px, 1px, 4px);
|
textMargins: margins(1px, 3px, 1px, 4px);
|
||||||
|
|||||||
Reference in New Issue
Block a user