diff --git a/src/game/ui/win/SimpleMenu.hx b/src/game/ui/win/SimpleMenu.hx index 0bdcb5c..60ef99a 100644 --- a/src/game/ui/win/SimpleMenu.hx +++ b/src/game/ui/win/SimpleMenu.hx @@ -18,6 +18,10 @@ class SimpleMenu extends ui.Window { } + public function setColumnWidth(w:Int) { + content.maxWidth = w; + } + override function onResize() { super.onResize(); content.maxHeight = Std.int( 0.8 * h()/Const.UI_SCALE );