From 0eb737092b05c3260a800f4ee2ad6f59be3dc82b Mon Sep 17 00:00:00 2001 From: Niklas Korsbo Date: Wed, 24 Jan 2018 11:36:49 +0000 Subject: [PATCH] Fix vertical orientation for sliders and options. Closes #202. --- src/IJulia/statedict.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/IJulia/statedict.jl b/src/IJulia/statedict.jl index 5cc04a9..b0fe695 100644 --- a/src/IJulia/statedict.jl +++ b/src/IJulia/statedict.jl @@ -18,6 +18,7 @@ end :_model_name => "FloatSliderModel", :readout => s.readout, :readout_format => s.readout_format, + :orientation => s.orientation, :continuous_update=>s.continuous_update, ) @@ -48,6 +49,7 @@ statedict{view, T}(d::Options{view, T}) = :tooltips=>d.tooltips, :readout => d.readout, :continuous_update=>d.continuous_update, + :orientation => d.orientation, :_options_labels=>collect(keys(d.options))) statedict(w::Widget) = begin