2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Closed beta 10019014: New input fields design and animations.

This commit is contained in:
John Preston
2016-12-09 21:56:01 +03:00
parent 2d48cde27a
commit 90234cb7a0
51 changed files with 1068 additions and 940 deletions

View File

@@ -731,7 +731,7 @@ void Notification::showReplyField() {
_replyArea->show();
_replyArea->setFocus();
_replyArea->setMaxLength(MaxMessageSize);
_replyArea->setCtrlEnterSubmit(Ui::CtrlEnterSubmitBoth);
_replyArea->setCtrlEnterSubmit(Ui::CtrlEnterSubmit::Both);
// Catch mouse press event to activate the window.
Sandbox::installEventFilter(this);

View File

@@ -68,11 +68,13 @@ notifyActionsDuration: 200;
notifyHideAllHeight: 36px;
notifyReplyArea: InputArea(defaultInputArea) {
notifyReplyArea: InputField(defaultInputField) {
font: normalFont;
textMargins: margins(8px, 8px, 8px, 6px);
heightMin: 36px;
heightMax: 72px;
placeholderScale: 0.;
placeholderFont: normalFont;
border: 0px;
borderActive: 0px;
borderError: 0px;