Use fill: true instead of width: 1.0 for event container- supports displaying 2 to 3 events before things visually break

This commit is contained in:
2023-11-28 11:57:25 -06:00
parent f29330cd08
commit e3a33b784a

View File

@@ -491,7 +491,7 @@ class W3DHub
@game_events_container.clear do
events.flatten.each do |event|
stack(width: 1.0, height: 1.0, margin_left: 8, margin_right: 8, border_thickness: 1, border_color: lighten(Gosu::Color.new(game.color))) do
stack(fill: true, height: 1.0, margin_left: 8, margin_right: 8, border_thickness: 1, border_color: lighten(Gosu::Color.new(game.color))) do
background 0xaa_222222
title event.title, width: 1.0, text_align: :center