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

Fixed error display in EditCaptionBox.

This commit is contained in:
23rd
2022-03-04 18:48:11 +03:00
parent f57ef43dc7
commit 0e08cffedb
2 changed files with 6 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ EdgeButton::EdgeButton(
const style::RippleAnimation &st)
: Ui::RippleButton(parent, st)
, _fg(fg)
, _text(st::semiboldTextStyle, text.toUpper())
, _text(st::semiboldTextStyle, text)
, _width(_text.maxWidth()
+ st::photoEditorTextButtonPadding.left()
+ st::photoEditorTextButtonPadding.right())