How to set propeties boader for bar
PAIDI-RAMESH opened this issue · 1 comments
PAIDI-RAMESH commented
HanSolo commented
Because of the missing description I guess you would like to know how to set the border for the bar???
There is no property in the Gauge class to set the border of the bar directly, instead you can create your own skin and design it as you like.
The easiest way would be to take the LinearSkin and create a copy of it e.g. MyLinearSkin. In this skin you can modify the code however you like it and if you are done with your modifications you can use your skin as follows.
Gauge gauge = GaugeBuilder.create()
.skinType(SkinType.GAUGE)
.prefSize(100, 300)
.build();
gauge.setSkin(new MyLinearSkin(gauge));