Skip to content

Commit 2a018d6

Browse files
committed
UI/UX: Add toggle button that toggle showing only error log in alertLogMonitoringMenu
1 parent 8f2b5ea commit 2a018d6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/main/resources/fxml/AlertLogMonitoringMenu.fxml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<?import com.jfoenix.controls.JFXButton?>
44
<?import com.jfoenix.controls.JFXComboBox?>
55
<?import com.jfoenix.controls.JFXListView?>
6+
<?import com.jfoenix.controls.JFXToggleButton?>
67
<?import de.jensd.fx.glyphs.fontawesome.FontAwesomeIconView?>
78
<?import java.lang.String?>
89
<?import javafx.geometry.Insets?>
@@ -102,6 +103,15 @@
102103
</JFXButton>
103104
</items>
104105
</ToolBar>
106+
<JFXToggleButton alignment="CENTER_LEFT" selected="true" size="4.5" text="Only Error" toggleColor="#c70000" toggleLineColor="#ff8b8b" underline="true" wrapText="true" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
107+
<padding>
108+
<Insets right="30.0" />
109+
</padding>
110+
<styleClass>
111+
<String fx:value="bold" />
112+
<String fx:value="basic-font" />
113+
</styleClass>
114+
</JFXToggleButton>
105115
<Separator AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" />
106116
</children>
107117
</AnchorPane>

0 commit comments

Comments
 (0)