Skip to content

Commit

Permalink
#216 update beach slope for map_ui & models_ui
Browse files Browse the repository at this point in the history
  • Loading branch information
2320sharon committed Jan 24, 2024
1 parent c1545f4 commit af333aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/coastseg/map_UI.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,12 +415,12 @@ def create_tidal_correction_widget(self, id_container: "traitlets.HasTraits"):

correct_tides_html = HTML(
value="<h3><b>Apply Tide Correction</b></h3> \
Only apply after extracting shorelines",
Only apply after extracting shorelines</br>",
layout=Layout(margin="0px 5px 0px 0px"),
)

self.beach_slope_text = FloatText(value=0.1, description="Beach Slope")
self.reference_elevation_text = FloatText(value=0.585, description="Elevation")
self.beach_slope_text = FloatText(value=0.02, description="Beach Slope (m/m):",style={'description_width': 'initial'})
self.reference_elevation_text = FloatText(value=0.0, description="Beach Elevation (m, relative M.S.L.):",style={'description_width': 'initial'})

self.scrollable_select = SelectMultiple(
description="Select ROIs",
Expand Down
4 changes: 2 additions & 2 deletions src/coastseg/models_UI.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ def create_dashboard(self):
def create_tidal_correction_widget(self):
load_style = dict(button_color="#69add1", description_width="initial")

self.beach_slope_text = FloatText(value=0.02, description="Beach slope (m/m)")
self.reference_elevation_text = FloatText(value=0.0, description="Elevation (m, relative M.S.L.)")
self.beach_slope_text = FloatText(value=0.02, description="Beach Slope (m/m):",style={'description_width': 'initial'})
self.reference_elevation_text = FloatText(value=0.0, description="Beach Elevation (m, relative M.S.L.):",style={'description_width': 'initial'})

self.tidally_correct_button = Button(
description="Correct Tides",
Expand Down

0 comments on commit af333aa

Please sign in to comment.