Skip to content

Commit d9e5ea0

Browse files
committed
main screen based map in progress
1 parent ce831bc commit d9e5ea0

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.idea/misc.xml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

maindisplay.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def build(self):
5959
self.ctrl['map_check_group_activities'] = ft.Checkbox(label='Group activities')
6060
self.ctrl['map_check_group_locations'] = ft.Checkbox(label='Group locations')
6161
self.ctrl['map_toolbar_checkboxes'] = ft.Row(
62-
controls=[ft.Text("Checkboxes:"),
62+
controls=[ft.Text('Checkboxes:'),
6363
self.ctrl['map_check_view_all'],
6464
self.ctrl['map_check_show_names'],
6565
self.ctrl['map_check_show_warnings'],
@@ -76,13 +76,13 @@ def build(self):
7676
# self.ctrl['map_canvas'] = SizeAwareControl(ft.Container(ft.Text('map canvas'),bgcolor='yellow'), width=1000,height=1000, on_resize=self.map_size_change,expand=True)
7777
s1 = SizeAwareControl(
7878
ft.Container(content=ft.Text('W x H'), bgcolor=ft.colors.RED, alignment=ft.alignment.center),
79-
on_resize=self.handle_resize, expand=2
79+
height=300,on_resize=self.handle_resize, expand=2
8080
)
8181
s2 = SizeAwareControl(
8282
ft.Container(content=ft.Text('W x H'), bgcolor=ft.colors.BLUE, alignment=ft.alignment.center),
83-
on_resize=self.handle_resize, expand=3
83+
height=300,on_resize=self.handle_resize, expand=3
8484
)
85-
self.ctrl['map_canvas'] = ft.Row([s1,s2],expand=True)
85+
self.ctrl['map_canvas'] = ft.Row([s1,s2])
8686
#self.ctrl['map_canvas'] = ft.Container(ft.Text('map canvas'), bgcolor='yellow', width=100, height=100)
8787
# self.ctrl['map_canvas'] = ft.Row([ft.Container(ft.Text('map canvas'), bgcolor='yellow', expand=True)],expand=True)
8888

0 commit comments

Comments
 (0)