mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-31 01:44:22 +07:00
Fixed #10311
This commit is contained in:
parent
b56819fcd0
commit
adb548fbfc
@ -628,6 +628,7 @@ public class UI implements ApplicationListener, Loadable{
|
||||
|
||||
int option = 0;
|
||||
for(var optionsRow : options){
|
||||
if(optionsRow.length == 0) continue;
|
||||
Table buttonRow = table.row().table().get().row();
|
||||
int fullWidth = 400 - (optionsRow.length - 1) * 8; // adjust to count padding as well
|
||||
int width = fullWidth / optionsRow.length;
|
||||
|
Loading…
Reference in New Issue
Block a user