change default maximum_size property

This commit is contained in:
yggverse 2025-02-05 03:08:33 +02:00
parent d8d9dbf043
commit e071acae92

View file

@ -52,6 +52,7 @@ impl Text {
let clamp_scrollable = ClampScrollable::builder() let clamp_scrollable = ClampScrollable::builder()
.child(&text_view) .child(&text_view)
.css_classes(["view"]) .css_classes(["view"])
.maximum_size(800) // @TODO auto-expand
.build(); .build();
grab_focus_patch(&clamp_scrollable, &text_view); grab_focus_patch(&clamp_scrollable, &text_view);