Skip to content

Commit f0bff54

Browse files
committed
Set a min width/height for the window to solve basic responsiveness issues
1 parent f57337d commit f0bff54

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

openandroidinstaller/openandroidinstaller.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ def configure(page: Page):
193193
page.window_left = 120
194194
page.scroll = "adaptive"
195195
page.horizontal_alignment = "center"
196+
page.window_min_width = 1000
197+
page.window_min_height = 600
196198

197199

198200
def log_version_infos(bin_path):
@@ -234,7 +236,7 @@ def main(page: Page, test: bool = False, test_config: str = "sargo"):
234236
leading_width=56,
235237
toolbar_height=72,
236238
elevation=0,
237-
title=Text(f"OpenAndroidInstaller version {VERSION}", style="displaySmall"),
239+
title=Text(f"OpenAndroidInstaller version {VERSION}"), #, style="displaySmall"),
238240
center_title=False,
239241
bgcolor="#00d886",
240242
actions=[

0 commit comments

Comments
 (0)