zobnin / aiolauncher_scripts

Scripts for the AIO Launcher
https://aiolauncher.app
86 stars 20 forks source link

Buttons and text in same widget #22

Closed cuh7b5 closed 5 months ago

cuh7b5 commented 1 year ago

Is there a way to use both buttons and texts (or tables) in the same widget? Or can I create a meta widget containing my own scripts to mix different ui element types? I tried ui:build(table) but as I can see it only accepts some built-in widgets like 'battery' or 'ram'.

zobnin commented 1 year ago

I gave up on this idea because it greatly complicated the API without giving much advantage. Perhaps, if you explain your task I will tell you how to solve it using standard APIs.

cuh7b5 commented 1 year ago

I see. Thanks anyway for this great tool! I wanted to create a script with media buttons to control my PC. I wanted to place a text beneath the button row showing what's playing. I use a button now with the text inside, this is ok.

zobnin commented 1 year ago

I will most likely add a more flexible way to create an UI in the future.

zobnin commented 5 months ago

There is a Rich UI API now