aiolauncher_scripts icon indicating copy to clipboard operation
aiolauncher_scripts copied to clipboard

Buttons and text in same widget

Open cuh7b5 opened this issue 2 years ago • 3 comments

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'.

cuh7b5 avatar Aug 24 '23 09:08 cuh7b5

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.

zobnin avatar Aug 24 '23 13:08 zobnin

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.

cuh7b5 avatar Aug 24 '23 16:08 cuh7b5

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

zobnin avatar Aug 25 '23 07:08 zobnin

There is a Rich UI API now

zobnin avatar May 08 '24 04:05 zobnin