From 7383f73a5b1589d3257b44407e46adfe987e2530 Mon Sep 17 00:00:00 2001 From: Physcik Date: Mon, 2 Feb 2026 02:00:29 +0500 Subject: Span system rework pt 1 --- engine/UI/Label.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engine/UI/Label.go') diff --git a/engine/UI/Label.go b/engine/UI/Label.go index f412eff..e864c85 100644 --- a/engine/UI/Label.go +++ b/engine/UI/Label.go @@ -25,6 +25,9 @@ type Label struct { func (base *Label) Init(*Menu) { base.Style.FillMissing(defaultLabelStyle) + if base.WidthWeight == 0 { + base.WidthWeight = 1 + } } func (base *Label) Destroy() { -- cgit v1.3