Skip to content

Commit 4052c3d

Browse files
committed
Fix color picker in userpic builder.
1 parent 8626233 commit 4052c3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Telegram/SourceFiles/ui/widgets/color_editor.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,7 @@ void ColorEditor::prepare() {
917917
connect(_blueField, &Ui::MaskedInputField::submitted, submitted);
918918
connect(_result, &Ui::MaskedInputField::submitted, submitted);
919919

920+
setNaturalWidth(st::colorEditWidth);
920921
const auto height = st::colorEditSkip
921922
+ st::colorPickerSize
922923
+ st::colorEditSkip

0 commit comments

Comments
 (0)