WIP style refactoring
This commit is contained in:
@@ -642,14 +642,14 @@ public class MapEditorDialog extends Dialog implements Disposable{
|
||||
|
||||
if(!mobile){
|
||||
mid.table(t -> {
|
||||
t.button("@editor.center", Icon.move, Styles.cleart, view::center).growX().margin(9f);
|
||||
t.button("@editor.center", Icon.move, Styles.flatt, view::center).growX().margin(9f);
|
||||
}).growX().top();
|
||||
}
|
||||
|
||||
mid.row();
|
||||
|
||||
mid.table(t -> {
|
||||
t.button("@editor.cliffs", Icon.terrain, Styles.cleart, editor::addCliffs).growX().margin(9f);
|
||||
t.button("@editor.cliffs", Icon.terrain, Styles.flatt, editor::addCliffs).growX().margin(9f);
|
||||
}).growX().top();
|
||||
}).margin(0).left().growY();
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ public class MapGenerateDialog extends BaseDialog{
|
||||
shown(this::setup);
|
||||
addCloseListener();
|
||||
|
||||
var style = Styles.cleart;
|
||||
var style = Styles.flatt;
|
||||
|
||||
buttons.defaults().size(180f, 64f).pad(2f);
|
||||
buttons.button("@back", Icon.left, this::hide);
|
||||
@@ -334,7 +334,7 @@ public class MapGenerateDialog extends BaseDialog{
|
||||
|
||||
if(filter.isPost() && applied) continue;
|
||||
|
||||
p.button((icon == '\0' ? "" : icon + " ") + filter.name(), Styles.cleart, () -> {
|
||||
p.button((icon == '\0' ? "" : icon + " ") + filter.name(), Styles.flatt, () -> {
|
||||
filter.randomize();
|
||||
filters.add(filter);
|
||||
rebuildFilters();
|
||||
@@ -344,7 +344,7 @@ public class MapGenerateDialog extends BaseDialog{
|
||||
if(++i % 3 == 0) p.row();
|
||||
}
|
||||
|
||||
p.button(Iconc.refresh + " " + Core.bundle.get("filter.defaultores"), Styles.cleart, () -> {
|
||||
p.button(Iconc.refresh + " " + Core.bundle.get("filter.defaultores"), Styles.flatt, () -> {
|
||||
maps.addDefaultOres(filters);
|
||||
rebuildFilters();
|
||||
update();
|
||||
|
||||
@@ -181,7 +181,7 @@ public class WaveGraph extends Table{
|
||||
|
||||
colors.clear();
|
||||
colors.left();
|
||||
colors.button("@waves.units.hide", Styles.cleart, () -> {
|
||||
colors.button("@waves.units.hide", Styles.flatt, () -> {
|
||||
if(hidden.size == usedCopy.size){
|
||||
hidden.clear();
|
||||
}else{
|
||||
|
||||
@@ -80,7 +80,7 @@ public class WaveInfoDialog extends BaseDialog{
|
||||
dialog.addCloseButton();
|
||||
dialog.setFillParent(false);
|
||||
dialog.cont.table(Tex.button, t -> {
|
||||
var style = Styles.cleart;
|
||||
var style = Styles.flatt;
|
||||
t.defaults().size(210f, 58f);
|
||||
|
||||
t.button("@waves.copy", Icon.copy, style, () -> {
|
||||
|
||||
Reference in New Issue
Block a user