Skip to content

Commit

Permalink
Fix vertical orientation for sliders and options. Closes #202.
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklas Korsbo committed Mar 6, 2018
1 parent 862e85d commit 0eb7370
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/IJulia/statedict.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ end
:_model_name => "FloatSliderModel",
:readout => s.readout,
:readout_format => s.readout_format,
:orientation => s.orientation,
:continuous_update=>s.continuous_update,
)

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0eb7370

Please sign in to comment.