Skip to content

Commit 121d873

Browse files
author
Bytekeeper
committed
Height of text input stays fixed when resizing the main window. Also improved report columns a bit.
1 parent 74aef00 commit 121d873

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/main/resources/org/stt/gui/jfx/ActivitiesPanel.fxml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
<VBox spacing="2.0" BorderPane.alignment="CENTER">
99
<VBox fx:id="additionals" VBox.vgrow="SOMETIMES">
1010
<children>
11-
<SplitPane dividerPositions="0.2" orientation="VERTICAL" VBox.vgrow="ALWAYS">
11+
<SplitPane dividerPositions="0.215" orientation="VERTICAL" VBox.vgrow="ALWAYS">
1212
<items>
13-
<VBox>
13+
<VBox SplitPane.resizableWithParent="false">
1414
<children>
1515
<ToolBar>
1616
<items>
1717
<Label text="%activities.command.title"/>
1818
</items>
1919
</ToolBar>
20-
<BorderPane fx:id="commandPane" prefHeight="200.0" prefWidth="200.0"
20+
<BorderPane fx:id="commandPane" prefHeight="150.0" prefWidth="200.0"
2121
VBox.vgrow="SOMETIMES"/>
2222
</children>
2323
</VBox>

src/main/resources/org/stt/gui/jfx/ReportPanel.fxml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@
1010
<VBox prefHeight="200.0" prefWidth="100.0" BorderPane.alignment="CENTER">
1111
<TableView fx:id="tableForReport" prefHeight="300.0" prefWidth="400.0" VBox.vgrow="ALWAYS">
1212
<columns>
13-
<TableColumn fx:id="columnForRoundedDuration" maxWidth="1000.0" prefWidth="50.0"
13+
<TableColumn fx:id="columnForRoundedDuration" maxWidth="1000.0" minWidth="100.0" prefWidth="100.0"
1414
text="%report.rounded"/>
15-
<TableColumn fx:id="columnForDuration" maxWidth="1000.0" prefWidth="50.0" text="%report.duration"/>
16-
<TableColumn fx:id="columnForComment" maxWidth="5000" minWidth="0.0" prefWidth="300.0"
15+
<TableColumn fx:id="columnForDuration" maxWidth="1000.0" minWidth="100.0" prefWidth="100.0"
16+
text="%report.duration"/>
17+
<TableColumn fx:id="columnForComment" maxWidth="12000.0" minWidth="100.0" prefWidth="500.0"
1718
text="%report.activity"/>
1819
</columns>
1920
<columnResizePolicy>

0 commit comments

Comments
 (0)