EasySci commited on
Commit
267755b
·
1 Parent(s): 753e983

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +4 -3
app2.py CHANGED
@@ -57,7 +57,7 @@ buttons = pn.Column(
57
  select,
58
  select2,
59
  visible=True,
60
- sizing_mode='stretch_width',
61
  ),
62
  date_picker,
63
  css_classes=['hidden']
@@ -143,14 +143,15 @@ filter_list = pn.widgets.MultiChoice(
143
  # Layout using Template
144
  template = pn.template.FastListTemplate(
145
  title="EasySciRead",
146
- header=[pn.Row(header_buttons, width=750, sizing_mode='fixed'), pn.Row(filter_list, width=250), pn.Row(add_to_header_button, width=55)],
147
  main= main_body_instance.update,
148
  sidebar=[buttons],
149
  accent_base_color="#88d8b0",
150
  header_background="#FFFFFF",
151
  header_color="#000000",
152
  text_align='center',
153
- sidebar_width=150
 
154
  )
155
 
156
  # Run the app
 
57
  select,
58
  select2,
59
  visible=True,
60
+ sizing_mode='stretch_both',
61
  ),
62
  date_picker,
63
  css_classes=['hidden']
 
143
  # Layout using Template
144
  template = pn.template.FastListTemplate(
145
  title="EasySciRead",
146
+ header=[pn.Row(header_buttons, width=750, sizing_mode='stretch_width'), pn.Row(filter_list, width=250), pn.Row(add_to_header_button, width=55)],
147
  main= main_body_instance.update,
148
  sidebar=[buttons],
149
  accent_base_color="#88d8b0",
150
  header_background="#FFFFFF",
151
  header_color="#000000",
152
  text_align='center',
153
+ sidebar_width=150,
154
+ sizing_mode = 'stretch_both'
155
  )
156
 
157
  # Run the app