mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-15 16:52:34 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user