Yhtenäinen TV_COLUMN_STYLE
Signed-off-by: laurimaaninka <lauri.maaninka@gmail.com>
This commit is contained in:
@@ -17,6 +17,7 @@ public class TabPohja extends Tab {
|
||||
public static Insets INSETS;
|
||||
public static Border BORDER = new Border(new BorderStroke(Color.BLACK, BorderStrokeStyle.SOLID, new CornerRadii(5), BorderWidths.DEFAULT));
|
||||
public static String STYLE;
|
||||
public static String TV_COLUMN_STYLE;
|
||||
public static Font BUTTON_FONT;
|
||||
public static Font TEKSTI_FONT;
|
||||
public static double SPACING;
|
||||
@@ -29,6 +30,10 @@ public class TabPohja extends Tab {
|
||||
INSETS = new Insets(Double.parseDouble(prop.getProperty("insets")));
|
||||
SPACING = Double.parseDouble(prop.getProperty("insets"));
|
||||
STYLE = "-fx-background-color: " + prop.getProperty("taustaVari");
|
||||
TV_COLUMN_STYLE =
|
||||
"-fx-alignment: CENTER;" +
|
||||
"-fx-font-size: " + Main.properties.getProperty("tekstiFonttiKoko") + "px;" +
|
||||
"-fx-font-family: " + Main.properties.getProperty("tekstiFontti");
|
||||
BUTTON_FONT = Font.font(prop.getProperty("buttonFontti"), FontWeight.BOLD, Double.parseDouble(prop.getProperty("buttonFonttiKoko")));
|
||||
TEKSTI_FONT = Font.font(prop.getProperty("tekstiFontti"), FontWeight.NORMAL, Double.parseDouble(prop.getProperty("tekstiFonttiKoko")));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user