Closed rnayabed closed 4 years ago
When using 11.2, a SIMPLE_SECTION gauge looks like this
SIMPLE_SECTION
but when using 11.3, this happens :
There is a part of the gauge, which is black in colour, which is not expected
Code Snippet :
Gauge memoryGauge = new Gauge(); memoryGauge.setSkinType(Gauge.SkinType.SIMPLE_SECTION); memoryGauge.setTitleColor(Color.WHITE); memoryGauge.setTitle("MEM"); memoryGauge.setValue(0); memoryGauge.setValueColor(Color.WHITE); memoryGauge.setUnitColor(Color.WHITE); memoryGauge.setSections(new Section(0,65,Color.GREEN), new Section(65.01,75,Color.ORANGE), new Section(75.01,100,Color.RED)); memoryGauge.setUnit("%"); memoryGauge.setCache(true); memoryGauge.setCacheHint(CacheHint.SPEED);
Im using Liberica JDK 14, with prebundled JavaFX 14
Fixed with commit 72ebef3da55a660c1d068822fe6d87b6f2b2d667
When using 11.2, a
SIMPLE_SECTION
gauge looks like thisbut when using 11.3, this happens :
There is a part of the gauge, which is black in colour, which is not expected
Code Snippet :
Im using Liberica JDK 14, with prebundled JavaFX 14