Skip to content

Commit 3b9790d

Browse files
authored
Configure Subnetwork Trace: Amend UI sizing (#574)
* amend ui components sizing * amendments to css and fxml styles * add new line
1 parent 14eb1f6 commit 3b9790d

File tree

2 files changed

+17
-19
lines changed
  • utility_network/configure-subnetwork-trace/src/main/resources/configure_subnetwork_trace

2 files changed

+17
-19
lines changed

utility_network/configure-subnetwork-trace/src/main/resources/configure_subnetwork_trace/main.fxml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,16 @@
2828
<StackPane stylesheets="/configure_subnetwork_trace/style.css" xmlns="http://javafx.com/javafx/10.0.2-internal" xmlns:fx="http://javafx.com/fxml/1"
2929
fx:controller="com.esri.samples.configure_subnetwork_trace.ConfigureSubnetworkTraceController">
3030

31-
<VBox>
31+
<VBox StackPane.alignment="TOP_LEFT">
3232
<HBox>
3333
<Label text="Trace options:"/>
3434
<CheckBox fx:id="includeBarriersCheckBox" text="Include Barriers"/>
3535
<CheckBox fx:id="includeContainersCheckBox" text="Include Containers"/>
3636
</HBox>
3737

38-
<HBox alignment="CENTER_LEFT">
39-
<Label text="Define new conditions"/>
38+
<Label text="Define new conditions:"/>
39+
40+
<HBox>
4041
<ComboBox fx:id="comparisonSourcesComboBox" onAction="#onComparisonSourceChanged"/>
4142
<ComboBox fx:id="comparisonOperatorsComboBox"/>
4243

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
VBox{
2-
-fx-max-width: 800;
32
-fx-spacing: 10;
43
-fx-padding: 10;
4+
-fx-min-width: 800;
5+
-fx-max-width: 800;
56
}
67

78
HBox {
@@ -16,25 +17,11 @@ HBox {
1617
-fx-font-weight: normal;
1718
}
1819

19-
2020
TextArea {
21-
-fx-min-height: 181;
21+
-fx-min-height: 180;
2222
-fx-min-width: 630;
2323
}
2424

25-
ComboBox {
26-
-fx-min-width: 175;
27-
-fx-max-width: 175;
28-
}
29-
30-
TextField {
31-
-fx-min-width: 175;
32-
}
33-
34-
.comparison-choice-element {
35-
-fx-min-width: 175;
36-
}
37-
3825
.add-button {
3926
-fx-min-width: 40;
4027
}
@@ -46,3 +33,13 @@ TextField {
4633
.reset-button {
4734
-fx-min-width: 175;
4835
}
36+
37+
#comparisonSourcesComboBox, #comparisonOperatorsComboBox {
38+
-fx-min-width: 240;
39+
-fx-max-width: 240;
40+
}
41+
42+
.comparison-choice-elements {
43+
-fx-min-width: 175;
44+
-fx-max-width: 175;
45+
}

0 commit comments

Comments
 (0)