2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 00:55:12 +00:00

Change dialogs filter text area for two icons.

This commit is contained in:
John Preston
2017-08-06 19:11:22 +02:00
parent a2c93bc040
commit ce51abd9d0
3 changed files with 24 additions and 7 deletions

View File

@@ -243,6 +243,7 @@ public:
void setPlaceholder(base::lambda<QString()> placeholderFactory);
QRect placeholderRect() const;
void setTextMrg(const QMargins &textMrg);
QRect getTextRect() const;
QSize sizeHint() const override;
@@ -302,6 +303,7 @@ private:
bool _lastPreEditTextNotEmpty = false;
const style::FlatInput &_st;
QMargins _textMrg;
QTimer _touchTimer;
bool _touchPress, _touchRightButton, _touchMove;