Claus1 / unigui

Universal GUI Framework and Protocol (Python)
MIT License
76 stars 4 forks source link

how to use justify like css #5

Closed bobwatcherx closed 1 year ago

bobwatcherx commented 1 year ago

how to use SpaceBeween , spaceAroud,Center layout in block

my code

bt = Block("Dwdq", [ Button("showme",ganti,icon="check"), Edit("Dwqdwq","") ],width=500,scroll=True)

Claus1 commented 1 year ago

All designer job is done by the front-end auto-designer. You have just combine gui elements to preferable order, and that is all. unigui tries to follow Material design specs automatically. scroll = True has reason only if a block has big list of gui elements which size is bigger than the block size. width is optional also and it's for turning design if it is not good for you by default.