Add marker to JavaFX shortcut

Can I add a marker at the beginning of a JavaFX tag?

Here is the basic FXML for tags

<Label fx:id="lblTerm1" text="Label" wrapText="true" VBox.vgrow="ALWAYS" /> 

It outputs something like this

My name

I would like something like

  • My name
+5
source share
1 answer

You can include the marker in the text displayed on the label using the unicode character.

 0x2022 8226 BULLET β€’ 

If you are looking for something more, you can look at this: What will be the Unicode character for the big bullet in the middle of the character?

Hope this helps.

+4
source

Source: https://habr.com/ru/post/1213146/


All Articles