summaryrefslogtreecommitdiff
path: root/engine/UI/GridColumn.go
diff options
context:
space:
mode:
Diffstat (limited to 'engine/UI/GridColumn.go')
-rw-r--r--engine/UI/GridColumn.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/UI/GridColumn.go b/engine/UI/GridColumn.go
index b933cf4..46c12ad 100644
--- a/engine/UI/GridColumn.go
+++ b/engine/UI/GridColumn.go
@@ -2,6 +2,8 @@ package ui
import rl "github.com/gen2brain/raylib-go/raylib"
+const GridColumnTypeName string = "gridcolumn"
+
type GridColumn struct {
// A portion of the screen the row will occupy. Works similar to CSS's 'flex-grow'
Weight float32
@@ -41,7 +43,7 @@ func (base *GridColumn) Draw(span *rl.Rectangle) {
}
for i, v := range base.Objects {
var offset = base.cache.RowLocations[i]
- rl.TraceLog(rl.LogInfo, "Cache: %v", base.cache)
+ // rl.TraceLog(rl.LogInfo, "Cache: %v", base.cache)
var elemSpan = rl.Rectangle {
X: span.X + *base.Style.Padding,
Y: offset.X,