Skip to content

Commit

Permalink
remove "Color Options" from dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
dignojrteogalbo committed Apr 8, 2024
1 parent 4d676bf commit 0b035ff
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions GoVizzy/gv_ui/gv_ui/DisplayUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# Define globals
selected_option ='Slice Options'
options = ['Slice Options', 'Mesh Options', 'Color Options']
options = ['Slice Options', 'Mesh Options'] #, 'Color Options']
dropdown = Dropdown(options=options, value=options[0], layout=Layout(margin='5px 0 0 5px'));
large_box = Output(layout=Layout(width="70%", height="100%"))
selected_view_options = Output(layout=Layout(width="auto", height="300px"))
Expand Down Expand Up @@ -118,10 +118,10 @@ def display_app():



elif selected_option == 'Color Options':
#ADD color controls here
with selected_view_options:
selected_view_options.clear_output()
# elif selected_option == 'Color Options':
# #ADD color controls here
# with selected_view_options:
# selected_view_options.clear_output()



Expand All @@ -131,7 +131,7 @@ def display_app():
print("Invalid option selected")

# Display the layout
view_bar = VBox([top_container, selected_view_options, bottom_container])
view_bar = VBox([top_container, selected_view_options, bottom_container], layout=Layout(flex='1'))

display_box = HBox([large_box, view_bar])
app_layout = AppLayout(header=None, left_sidebar=None, center=display_box,
Expand Down

0 comments on commit 0b035ff

Please sign in to comment.