Projektin moduulirakenteen formatointi

Signed-off-by: laurimaaninka <lauri.maaninka@gmail.com>
This commit is contained in:
2026-04-12 20:25:49 +03:00
parent 1179abbcd1
commit 1cdef78244
33 changed files with 82 additions and 92 deletions
@@ -0,0 +1,25 @@
package fi.lpam.ruokamanageri.gui.elementit;
import javafx.geometry.Insets;
import javafx.scene.layout.*;
import javafx.scene.paint.Color;
import javafx.scene.text.Font;
import javafx.scene.text.FontWeight;
/**
* Käyttöliittymän pohja
*/
public class TabPohja extends StackPane {
public static final Insets oletusInsets = new Insets(5);
public static final String oletusStyle = "-fx-background-color: lightgray;";
public static final Font otsikkoFont = Font.font("Open Sans", FontWeight.BOLD, 18);
public static final Font buttonFont = Font.font("Open Sans", FontWeight.BOLD, 16);
public static final Font tekstiFont = Font.font("Open Sans", FontWeight.NORMAL, 16);
public static final Border oletusBorder = new Border(new BorderStroke(Color.BLACK, BorderStrokeStyle.SOLID, new CornerRadii(5), BorderWidths.DEFAULT));
public TabPohja() {
this.setStyle(oletusStyle);
this.setPadding(oletusInsets);
this.setBorder(oletusBorder);
}
}