JuliaGizmos / Interact.jl

Interactive widgets to play with your Julia code
Other
520 stars 75 forks source link

Element alignment #320

Open darrencl opened 5 years ago

darrencl commented 5 years ago

I would like to align the element inside vbox as center, e.g. I want to align both file picker and confirm button below to center

# Create objects
fp = filepicker(label="Choose a file..."; multiple=false, accept="*")
btn_confirm = button("Convert")

# Layout
ui = vbox(
    fp,
    btn_confirm,
)
display(ui)

Is there any options to achieve that? I could not seem to find any option to align the content for vbox like the one in jupyter widgets.