Skip to content

Commit a560ff6

Browse files
committed
UI/UX: Remove textarea that showing alert log content and Add RichTextFx style sheet
1 parent 15661e6 commit a560ff6

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.code-area {
2+
-fx-background-color: transparent;
3+
}
4+
5+
.code-area .error {
6+
-fx-background-color: #ffbfbf;
7+
}
8+
9+
.code-area .text {
10+
-fx-font-family: "Noto Sans Korean Regular";
11+
-fx-font-size: 11px;
12+
}
13+
14+
.keyword {
15+
-fx-fill: #ba1d21;
16+
}

src/main/resources/fxml/AlertLogListViewCell.fxml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<?import com.jfoenix.controls.JFXTextArea?>
43
<?import de.jensd.fx.glyphs.fontawesome.FontAwesomeIconView?>
54
<?import java.lang.String?>
65
<?import javafx.geometry.Insets?>
@@ -44,14 +43,6 @@
4443
<Insets left="5.0" right="5.0" />
4544
</padding>
4645
</AnchorPane>
47-
<JFXTextArea fx:id="logContentTA" editable="false" focusTraversable="false" labelFloat="true" pickOnBounds="false" prefColumnCount="1" prefRowCount="1" stylesheets="@../css/javaFx.css" wrapText="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="22.0">
48-
<styleClass>
49-
<String fx:value="basic-font" />
50-
<String fx:value="gray-scrollbar" />
51-
</styleClass>
52-
<padding>
53-
<Insets left="5.0" right="5.0" top="2.0" />
54-
</padding>
55-
</JFXTextArea>
46+
<HBox fx:id="logContentHBox" layoutY="13.399999618530273" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="22.0" />
5647
</children>
5748
</AnchorPane>

0 commit comments

Comments
 (0)