Fixed #10311
This commit is contained in:
@@ -628,6 +628,7 @@ public class UI implements ApplicationListener, Loadable{
|
|||||||
|
|
||||||
int option = 0;
|
int option = 0;
|
||||||
for(var optionsRow : options){
|
for(var optionsRow : options){
|
||||||
|
if(optionsRow.length == 0) continue;
|
||||||
Table buttonRow = table.row().table().get().row();
|
Table buttonRow = table.row().table().get().row();
|
||||||
int fullWidth = 400 - (optionsRow.length - 1) * 8; // adjust to count padding as well
|
int fullWidth = 400 - (optionsRow.length - 1) * 8; // adjust to count padding as well
|
||||||
int width = fullWidth / optionsRow.length;
|
int width = fullWidth / optionsRow.length;
|
||||||
|
|||||||
Reference in New Issue
Block a user