From b0b86b6b9d6798d04a320060e90bd8497a7f50f9 Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 20 Nov 2021 19:47:53 +0800 Subject: ... --- src/ui/controls/TextBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/controls/TextBox.cpp') diff --git a/src/ui/controls/TextBox.cpp b/src/ui/controls/TextBox.cpp index 622401c4..c4912307 100644 --- a/src/ui/controls/TextBox.cpp +++ b/src/ui/controls/TextBox.cpp @@ -28,7 +28,7 @@ TextBox::TextBox() border_render_object_->SetAttachedControl(this); scroll_render_object_->SetAttachedControl(this); text_render_object_->SetAttachedControl(this); - text_render_object_->SetMinSize(Size{100, 24}); + text_render_object_->SetMinSize(Size{100, 0}); text_render_object_->SetMeasureIncludingTrailingSpace(true); service_ = std::make_unique(this); -- cgit v1.2.3