Skip to content

Commit

Permalink
Set a min width/height for the window to solve basic responsiveness i…
Browse files Browse the repository at this point in the history
…ssues
  • Loading branch information
tsterbak committed Jun 28, 2023
1 parent f57337d commit f0bff54
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openandroidinstaller/openandroidinstaller.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ def configure(page: Page):
page.window_left = 120
page.scroll = "adaptive"
page.horizontal_alignment = "center"
page.window_min_width = 1000
page.window_min_height = 600


def log_version_infos(bin_path):
Expand Down Expand Up @@ -234,7 +236,7 @@ def main(page: Page, test: bool = False, test_config: str = "sargo"):
leading_width=56,
toolbar_height=72,
elevation=0,
title=Text(f"OpenAndroidInstaller version {VERSION}", style="displaySmall"),
title=Text(f"OpenAndroidInstaller version {VERSION}"), #, style="displaySmall"),
center_title=False,
bgcolor="#00d886",
actions=[
Expand Down

0 comments on commit f0bff54

Please sign in to comment.