Improvements to the Schematics UI (#8605)

* schematics UI improvements

* better edit tags UI

* visual tweaks

* cleanup

inline obsession
cleanup again...
another little bit of cleanup
a little bit of cleanup
minor cleanup
This commit is contained in:
JniTrRny
2023-06-02 22:37:15 +07:00
committed by GitHub
parent bf51a01677
commit c84ec75c53
7 changed files with 234 additions and 207 deletions

View File

@@ -87,9 +87,9 @@ public class ItemSelection{
if(rowCount > rows * 1.5f){
main.table(s -> {
s.image(Icon.zoom).padLeft(4f);
search = s.field(null, text -> rebuild.run()).width(40 * columns).padBottom(4).left().growX().get();
search = s.field(null, text -> rebuild.run()).padBottom(4).left().growX().get();
search.setMessageText("@players.search");
}).row();
}).fillX().row();
}
ScrollPane pane = new ScrollPane(cont, Styles.smallPane);
@@ -103,7 +103,7 @@ public class ItemSelection{
}
pane.setOverscroll(false, false);
main.add(pane).growX().maxHeight(40 * rows);
main.add(pane).maxHeight(40 * rows);
table.top().add(main);
}
}