Spaces:
Runtime error
Runtime error
Commit
·
bc436b6
1
Parent(s):
0b1cd96
Bugfix a layout problem in engine page
Browse filesWhen the MapInfo panel has many attributes to display,
the LayerDisplayer panel is pushed to the bottom of the page
leaving a large empty space between MetricPanel and LayerDisplayer.
- tomorrowcities/pages/engine.py +12 -12
tomorrowcities/pages/engine.py
CHANGED
|
@@ -1182,19 +1182,19 @@ def MapInfo():
|
|
| 1182 |
|
| 1183 |
@solara.component
|
| 1184 |
def WebApp():
|
| 1185 |
-
with solara.Columns([
|
| 1186 |
with solara.Column():
|
| 1187 |
-
solara.
|
| 1188 |
-
|
| 1189 |
-
|
| 1190 |
-
|
| 1191 |
-
|
| 1192 |
-
|
| 1193 |
-
|
| 1194 |
-
|
| 1195 |
-
|
| 1196 |
-
|
| 1197 |
-
|
| 1198 |
|
| 1199 |
@solara.component
|
| 1200 |
def Page(name: Optional[str] = None, page: int = 0, page_size=100):
|
|
|
|
| 1182 |
|
| 1183 |
@solara.component
|
| 1184 |
def WebApp():
|
| 1185 |
+
with solara.Columns([86,14]):
|
| 1186 |
with solara.Column():
|
| 1187 |
+
with solara.Columns([30,70]):
|
| 1188 |
+
with solara.Column():
|
| 1189 |
+
solara.Markdown('[Download Sample Dataset](https://drive.google.com/file/d/1BGPZQ2IKJHY9ExOCCHcNNrCTioYZ8D1y/view?usp=sharing)')
|
| 1190 |
+
FileDropZone()
|
| 1191 |
+
ExecutePanel()
|
| 1192 |
+
with solara.Column():
|
| 1193 |
+
LayerController()
|
| 1194 |
+
MapViewer()
|
| 1195 |
+
MetricPanel()
|
| 1196 |
+
LayerDisplayer()
|
| 1197 |
+
MapInfo()
|
| 1198 |
|
| 1199 |
@solara.component
|
| 1200 |
def Page(name: Optional[str] = None, page: int = 0, page_size=100):
|