Skip to content

Commit

Permalink
Apply underlines only to the sub panels.
Browse files Browse the repository at this point in the history
  • Loading branch information
raeleus committed Jul 11, 2024
1 parent 2c06229 commit cdc66a1
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 11 deletions.
7 changes: 5 additions & 2 deletions assets/skin/gdxparticleeditor.json
Original file line number Diff line number Diff line change
Expand Up @@ -2204,8 +2204,7 @@
"font": "font"
},
"header": {
"font": "header",
"background": "header-background-10"
"font": "header"
},
"bold": {
"font": "bold"
Expand Down Expand Up @@ -2244,6 +2243,10 @@
},
"high-contrast": {
"font": "font-high-contrast"
},
"header-underline": {
"font": "header",
"background": "header-background-10"
}
},
"com.badlogic.gdx.scenes.scene2d.ui.List$ListStyle": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public CountSubPanel() {
final var spinnerWidth = 50;

tabTable.left();
var label = new Label("Count", skin, "header");
var label = new Label("Count", skin, "header-underline");
tabTable.add(label);

bodyTable.defaults().space(itemSpacing);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public GraphSubPanel(String name, ScaledNumericValue value, boolean hasRelative,

tabTable.padRight(7);
tabTable.left();
var label = new Label(name, skin, "header");
var label = new Label(name, skin, "header-underline");
tabTable.add(label).space(3);

if (closeProperty != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public ImagesSubPanel() {
setTouchable(Touchable.enabled);

tabTable.left();
var label = new Label("Images", skin, "header");
var label = new Label("Images", skin, "header-underline");
tabTable.add(label);

bodyTable.defaults().space(15);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public OptionsSubPanel() {
final var tooltipWidth = 250;

tabTable.left();
var label = new Label("Options", skin, "header");
var label = new Label("Options", skin, "header-underline");
tabTable.add(label);

bodyTable.defaults().space(itemSpacing).left();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public RangeSubPanel(String title, RangedNumericValue value, String tooltip, Str

tabTable.padRight(7);
tabTable.left();
var label = new Label(title, skin, "header");
var label = new Label(title, skin, "header-underline");
tabTable.add(label).space(3);

if (closeProperty != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public SizeSubPanel() {

tabTable.padRight(7);
tabTable.left();
var label = new Label("Size", skin, "header");
var label = new Label("Size", skin, "header-underline");
tabTable.add(label);

var graphToggleWidget = new ToggleGroup();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public void populate() {

tabTable.padRight(7);
tabTable.left();
var label = new Label("Spawn", skin, "header");
var label = new Label("Spawn", skin, "header-underline");
tabTable.add(label).space(3);

var graphToggleWidget = new ToggleGroup();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public TintSubPanel() {
tabTable.padRight(7);

tabTable.left();
var label = new Label("Tint", skin, "header");
var label = new Label("Tint", skin, "header-underline");
tabTable.add(label).spaceRight(3);

var colorGraph = new ColorGraph(colorGraphStyle);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public TransparencySubPanel() {

tabTable.padRight(7);
tabTable.left();
var label = new Label("Transparency", skin, "header");
var label = new Label("Transparency", skin, "header-underline");
tabTable.add(label);

var graphToggleWidget = new ToggleGroup();
Expand Down

0 comments on commit cdc66a1

Please sign in to comment.