Skip to content

Commit 5264165

Browse files
committed
Fix icons browser
1 parent 53f720a commit 5264165

File tree

5 files changed

+1201
-33
lines changed

5 files changed

+1201
-33
lines changed

python/apps/icons-browser/main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
os.environ["FLET_WS_MAX_MESSAGE_SIZE"] = "8000000"
2727

2828

29-
class IconBrowser(Stack):
29+
class IconBrowser(Container):
3030
def __init__(self, expand=False, height=500):
3131
super().__init__()
3232
if expand:
@@ -126,7 +126,7 @@ def display_icons(search_term: str):
126126
search_query.disabled = False
127127
self.update()
128128

129-
return Column(
129+
self.content = Column(
130130
[
131131
search_query,
132132
search_results,
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
flet>=0.26.0
1+
flet>=0.27.0

python/apps/icons-cupertino-browser/main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
os.environ["FLET_WS_MAX_MESSAGE_SIZE"] = "8000000"
2727

2828

29-
class IconCupertinoBrowser(Stack):
29+
class IconCupertinoBrowser(Container):
3030
def __init__(self, expand=False, height=500):
3131
super().__init__()
3232
if expand:
@@ -142,7 +142,7 @@ def display_icons(search_term: str):
142142
search_query.disabled = False
143143
self.update()
144144

145-
return Column(
145+
self.content = Column(
146146
[
147147
search_query,
148148
search_results,

0 commit comments

Comments
 (0)