Comments (5)
and how to spaceBetween in FRow()
with FRow(alignment="spaceBetween):
from pui.
and how to use FAppBar with Flet
my code not work
def content(self):
with FWindow(title="test",size=(330,500)):
FAppBar()
with FColumn():
with FRow():
FElevatedButton("-").click(self.min),
FText(f"{data.myval}").qt(StyleSheet="font-size:30px"),
FElevatedButton("+").click(self.add),
FText(data.counter),
with FRow():
FTextField(data("counter"))
from pui.
Flet backend is very preliminary right now, and .qt() is for QT backend
there should be a .flet() for FLET specific styling and a .style(fontSize=,color=,bgColor=.....) for generic usage, but it's not done yet.
from pui.
While there are still many things missing, with the latest commit a3d8730
you can use .flet() to specify flet properties, eg. FLabel("test").flet(size=16)
from pui.
from pui.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pui.