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:
@@ -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);
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user