mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Minor preloader on skin changer update.
This commit is contained in:
@@ -94,12 +94,14 @@ public class QuestFileLister extends JPanel {
|
||||
this.add(rowTitle, "w 98%!, h 30px!, gapleft 1%");
|
||||
|
||||
RowPanel row;
|
||||
String mode;
|
||||
for (QuestData qd : sorted) {
|
||||
mode = qd.getMode().equals("Realistic") ? "Classic" : qd.getMode();
|
||||
row = new RowPanel(qd);
|
||||
row.add(new DeleteButton(row), "w 15%!, h 20px!, gap 0 0 5px 0");
|
||||
row.add(new EditButton(row), "w 15%!, h 20px!, gaptop 5px");
|
||||
row.add(new FLabel(qd.getName()), "w 40%!, h 20px!, gap 0 0 5px 0");
|
||||
row.add(new FLabel(qd.getMode(), SwingConstants.CENTER), "w 15%!, h 20px!, gap 0 0 5px 0");
|
||||
row.add(new FLabel(mode, SwingConstants.CENTER), "w 15%!, h 20px!, gap 0 0 5px 0");
|
||||
row.add(new FLabel(qd.getWin() + "/" + qd.getLost(), SwingConstants.CENTER), "w 15%!, h 20px!, gap 0 0 5px 0");
|
||||
this.add(row, "w 98%!, h 30px!, gap 1% 0 0 0");
|
||||
tempRows.add(row);
|
||||
|
||||
@@ -62,7 +62,7 @@ public class ViewSettings extends JScrollPane {
|
||||
private JRadioButton radCardTiny, radCardSmaller, radCardSmall,
|
||||
radCardMedium, radCardLarge, radCardHuge;
|
||||
|
||||
private final FLabel lblTitleSkin;
|
||||
private final JLabel lblTitleSkin;
|
||||
/**
|
||||
*
|
||||
* Assembles swing components for "Settings" mode menu.
|
||||
@@ -141,8 +141,9 @@ public class ViewSettings extends JScrollPane {
|
||||
final JLabel lblTitleGraphics = new SectionLabel("Graphic Options");
|
||||
viewport.add(lblTitleGraphics, sectionConstraints);
|
||||
|
||||
lblTitleSkin = new FLabel("Choose Skin");
|
||||
lblTitleSkin.setFontStyle(Font.BOLD);
|
||||
lblTitleSkin = new JLabel("Choose Skin");
|
||||
lblTitleSkin.setFont(skin.getBoldFont(14));
|
||||
lblTitleSkin.setForeground(skin.getColor(FSkin.Colors.CLR_TEXT));
|
||||
final JLabel lblNoteSkin = new NoteLabel("Various user-created themes for Forge backgrounds, fonts, and colors.");
|
||||
viewport.add(lblTitleSkin, regularConstraints);
|
||||
viewport.add(lblNoteSkin, regularConstraints);
|
||||
|
||||
Reference in New Issue
Block a user