2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

Some more ripple animations.

This commit is contained in:
John Preston
2016-12-02 22:16:35 +03:00
parent 8958ae0377
commit 2796c53542
50 changed files with 518 additions and 537 deletions

View File

@@ -350,6 +350,8 @@ MultiSelect::MultiSelect(QWidget *parent, const style::MultiSelect &st, const QS
});
setAttribute(Qt::WA_OpaquePaintEvent);
auto defaultWidth = _st.item.maxWidth + _st.fieldMinWidth + _st.fieldCancelSkip;
resizeToWidth(_st.padding.left() + defaultWidth + _st.padding.right());
}
bool MultiSelect::eventFilter(QObject *o, QEvent *e) {