From 7d0b734ddf915d2f585d972a347c5203e8ef2ba7 Mon Sep 17 00:00:00 2001 From: Physcik Date: Mon, 2 Feb 2026 13:29:21 +0500 Subject: Label text centering --- engine/UI/GridRow.go | 1 - 1 file changed, 1 deletion(-) (limited to 'engine/UI/GridRow.go') diff --git a/engine/UI/GridRow.go b/engine/UI/GridRow.go index 4e222a7..fed6051 100644 --- a/engine/UI/GridRow.go +++ b/engine/UI/GridRow.go @@ -85,6 +85,5 @@ func (base *GridRow) RecalculateCache(span *rl.Rectangle) { base.cache.CalculateOffsets(span.Width, span.Height, *base.Style.Padding, *base.Style.Padding) var weightToScale = getWeightToPixelsRatio(base, base.cache.Width) var spacingPx = base.Spacing * span.Width - rl.TraceLog(rl.LogInfo, "Spacing: %v (%v px)", base.Spacing, spacingPx) base.cache.CalculateRowsLocations(base.Objects, weightToScale, spacingPx, span.X) } -- cgit v1.3