Problems with Text.update() #4668
draxx0405
started this conversation in
Show and tell
Replies: 1 comment
-
I am unable to run your code. Please provide a well formated and runnable sample for better assistance. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this code but I don't know why this happens
The container where it has the text disappears, but the container where it has the iconbutton is visible when the mouse is hover onthe primary container.
import flet as ft
class PanelTextWithTime(ft.UserControl):
def init(self,BarColor:ft.colors,BackColor:ft.colors,TextColor:ft.colors,Time:str,IconColor:ft.colors,Text:str,on_Click):
super().init()
self.BarColor=BarColor
self.BackColor=BackColor
self.TextColor=TextColor
self.Time=Time
self.IconColor=IconColor
self.Text=Text
self.on_click=on_Click
def main(page:ft.Page):
page.window.width=350
page.window.height=350
page.window.title_bar_hidden=True
ft.app(main)
Beta Was this translation helpful? Give feedback.
All reactions