Slider fix to PlotContainer

This commit is contained in:
Alexander Nozik 2017-10-27 21:30:40 +03:00
parent 7a519e3b81
commit f202b289e0

View File

@ -107,18 +107,18 @@ class SpectrumView(
items += RangeSlider().apply { items += RangeSlider().apply {
padding = Insets(0.0, 10.0, 0.0, 10.0) padding = Insets(0.0, 10.0, 0.0, 10.0)
prefWidth = 300.0 prefWidth = 300.0
majorTickUnit = 500.0
minorTickCount = 5
prefHeight = 38.0
isShowTickLabels = true
isShowTickMarks = true
max = 4000.0
highValueProperty().bindBidirectional(upChannelProperty) highValueProperty().bindBidirectional(upChannelProperty)
lowValueProperty().bindBidirectional(loChannelProperty) lowValueProperty().bindBidirectional(loChannelProperty)
lowValue = 500.0 lowValue = 500.0
highValue = 3100.0 highValue = 3100.0
majorTickUnit = 500.0
max = 4000.0
minorTickCount = 5
prefHeight = 38.0
isShowTickLabels = true
isShowTickMarks = true
} }
vbox { vbox {