优化不透明度滑块显示效果 (#5076)
This commit is contained in:
@@ -173,6 +173,7 @@ public class PersonalizationPage extends StackPane {
|
|||||||
slider.setMinorTickCount(1);
|
slider.setMinorTickCount(1);
|
||||||
slider.setBlockIncrement(5);
|
slider.setBlockIncrement(5);
|
||||||
slider.setSnapToTicks(true);
|
slider.setSnapToTicks(true);
|
||||||
|
slider.setPadding(new Insets(9, 0, 0, 0));
|
||||||
HBox.setHgrow(slider, Priority.ALWAYS);
|
HBox.setHgrow(slider, Priority.ALWAYS);
|
||||||
|
|
||||||
if (config().getBackgroundImageType() == EnumBackgroundImage.TRANSLUCENT) {
|
if (config().getBackgroundImageType() == EnumBackgroundImage.TRANSLUCENT) {
|
||||||
|
|||||||
Reference in New Issue
Block a user