-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from NHLOCAL/dev
תיקונים עבור גרסה 13.9.1
- Loading branch information
Showing
9 changed files
with
230 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "src/models"] | ||
path = src/models | ||
url = https://github.com/NHLOCAL/SingNER.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import flet as ft | ||
|
||
def main(page: ft.Page): | ||
page.title = "Icon Explorer" | ||
|
||
icons = [ | ||
ft.icons.INFO, | ||
ft.icons.QUESTION_MARK, | ||
ft.icons.LIGHTBULB, | ||
ft.icons.TOUCH_APP, | ||
ft.icons.GESTURE, | ||
ft.icons.MORE_HORIZ, | ||
ft.icons.MORE_VERT, | ||
] | ||
|
||
icon_grid = ft.GridView( | ||
runs_count=3, | ||
spacing=10, | ||
run_spacing=10, | ||
padding=20, | ||
child_aspect_ratio=1.0, | ||
) | ||
|
||
|
||
for icon_name in icons: | ||
icon_grid.controls.append( | ||
ft.Container( | ||
content=ft.Column( | ||
[ | ||
ft.Icon(icon_name, size=40), | ||
ft.Text(str(icon_name)), # Correct: just use str(icon_name) | ||
], | ||
alignment=ft.MainAxisAlignment.CENTER, | ||
horizontal_alignment=ft.CrossAxisAlignment.CENTER, | ||
), | ||
) | ||
) | ||
|
||
page.add(icon_grid) | ||
|
||
|
||
ft.app(target=main) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.