How to set the theme to look like (e.g.) a Windows desktop application #2054
-
I am creating a small application in Flet and this will run as a desktop application. It must replace an old TKinter GUI. The problem I have for the moment, is that the layout of my application is not the layout I would expect from a Windows desktop application. I was able to make it look that way, but it meant that I had to:
This was tedious and I would like to know if there is code somewhere available to change the default theme of Flet to make the GUI look like a native Windows 10 or 11 application made with Visual Studeo, or further, like a Mac OSX application made with Xcode ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
There isn't to my knowledge. Flutter (the framework behind Flet) uses the Material design (version 3 at the moment) as default for its controls design. Hence ... A way around your issue could probably be to create a file with custom flet controls you need, made windows10-like, and from there, import them into your application. Let me know what you think. |
Beta Was this translation helpful? Give feedback.
-
@vindevoy Hey. Is sharing all the adjustments you made to make flet more windows like still possible ? |
Beta Was this translation helpful? Give feedback.
There isn't to my knowledge.
Flutter (the framework behind Flet) uses the Material design (version 3 at the moment) as default for its controls design. Hence ...
A way around your issue could probably be to create a file with custom flet controls you need, made windows10-like, and from there, import them into your application.
Let me know what you think.