-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shitty as fxml (grr i hate fxml) turns every text white for some reas…
…on ) but now frontpage now scrolls and looks nice
- Loading branch information
AdrianBalunan
committed
Apr 21, 2026
1 parent
75d3138
commit 2826454
Showing
6 changed files
with
169 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 11 additions & 18 deletions
29
helpmehelpapplication/src/main/resources/fxml/components/feedbackCard.fxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,40 +1,33 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
|
|
||
| <?import javafx.scene.control.*?> | ||
| <?import javafx.scene.layout.*?> | ||
| <?import javafx.scene.shape.*?> | ||
| <?import javafx.scene.text.*?> | ||
| <?import javafx.scene.control.Label?> | ||
| <?import javafx.scene.layout.HBox?> | ||
| <?import javafx.scene.layout.VBox?> | ||
| <?import javafx.scene.shape.Circle?> | ||
| <?import javafx.scene.text.Font?> | ||
|
|
||
| <HBox alignment="CENTER_LEFT" | ||
| spacing="16.0" | ||
| style="-fx-background-color: #FFFFFF; | ||
| -fx-border-color: transparent transparent #EEEEEE transparent; | ||
| -fx-border-width: 1; | ||
| -fx-padding: 14 20 14 20;" | ||
| xmlns="http://javafx.com/javafx/25" | ||
| xmlns:fx="http://javafx.com/fxml/1" | ||
| fx:controller="ntnu.systemutvikling.team6.controller.components.FeedbackCardController"> | ||
| <HBox alignment="CENTER_LEFT" spacing="16.0" style="-fx-background-color: #FFFFFF; -fx-border-color: transparent transparent #EEEEEE transparent; -fx-border-width: 1; -fx-padding: 14 20 14 20;" xmlns="http://javafx.com/javafx/25" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ntnu.systemutvikling.team6.controller.components.FeedbackCardController"> | ||
| <children> | ||
|
|
||
| <Circle fx:id="avatar" fill="#D9D9D9" radius="20.0" /> | ||
|
|
||
| <VBox spacing="4.0" HBox.hgrow="ALWAYS"> | ||
| <children> | ||
| <HBox spacing="10.0" alignment="CENTER_LEFT"> | ||
| <HBox alignment="CENTER_LEFT" spacing="10.0"> | ||
| <children> | ||
| <Label fx:id="usernameLabel" style="-fx-text-fill: #111111;"> | ||
| <Label fx:id="usernameLabel" style="-fx-text-fill: #111111;" text="sdfghjklø"> | ||
| <font><Font name="System Bold" size="13.0" /></font> | ||
| </Label> | ||
| <Label fx:id="dateLabel" style="-fx-text-fill: #AAAAAA;"> | ||
| <Label fx:id="dateLabel" style="-fx-text-fill: #AAAAAA;" text="xcfghuiknbghjk"> | ||
| <font><Font size="11.0" /></font> | ||
| </Label> | ||
| </children> | ||
| </HBox> | ||
| <Label fx:id="commentLabel" style="-fx-text-fill: #555555;" wrapText="true"> | ||
| <Label fx:id="commentLabel" style="-fx-text-fill: #555555;" text="qwertyuio" wrapText="true"> | ||
| <font><Font size="12.0" /></font> | ||
| </Label> | ||
| </children> | ||
| </VBox> | ||
|
|
||
| </children> | ||
| </HBox> | ||
| </HBox> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.