Skip to content

Commit 698cbd4

Browse files
committed
decrease font size and increase opacity in web styles sample
1 parent 0f68638 commit 698cbd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

symbology/create-symbol-styles-from-web-styles/src/main/java/com/esri/samples/create_symbol_styles_from_web_styles/CreateSymbolStylesFromWebStylesSample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ private void setupLegend() {
190190
// create a box to show the legend
191191
vBox = new VBox();
192192
vBox.setMaxSize(250, 300);
193-
vBox.setBackground(new Background(new BackgroundFill(Paint.valueOf("rgba(255, 255, 255 ,0.5)"), CornerRadii.EMPTY,
193+
vBox.setBackground(new Background(new BackgroundFill(Paint.valueOf("rgba(255, 255, 255 , 0.7)"), CornerRadii.EMPTY,
194194
Insets.EMPTY)));
195195
vBox.setPadding(new Insets(10.0));
196196
vBox.setAlignment(Pos.TOP_CENTER);
@@ -205,7 +205,7 @@ private void setupLegend() {
205205

206206
// create a label to display the symbol style name as the title of the legend and add to the grid pane
207207
Label legendHeader = new Label("Style: " + symbolStyle.getStyleName());
208-
legendHeader.setStyle("-fx-font-size: 15; -fx-font-weight: bold;");
208+
legendHeader.setStyle("-fx-font-size: 12; -fx-font-weight: bold;");
209209

210210
// create a scroll pane to contain the legend
211211
ScrollPane scrollPane = new ScrollPane();

0 commit comments

Comments
 (0)