Page 1 of 1
How to place a sign in an interface?
Posted: Sat Feb 05, 2022 7:40 pm
by yaim904
Hello,
I've been working on an interface, but I don't know how to put a banner in the top right corner, and at the same time, put another banner in the top left corner.

- Captura de pantalla 2022-02-05 143732.png (41.27 KiB) Viewed 1632 times
I found horizontal_align but how do I overlap two elements??

- Captura de pantalla 2022-02-05 143652.png (20.32 KiB) Viewed 1632 times
I want everything to be relative, because the scale is changed.
I need help to do it.
Re: How to place a sign in an interface?
Posted: Sat Feb 05, 2022 8:04 pm
by robot256
Have you tried putting a 1x2 table as the heading? You might need to set the total width explicitly.
Re: How to place a sign in an interface?
Posted: Sat Feb 05, 2022 8:07 pm
by yaim904
robot256 wrote: Sat Feb 05, 2022 8:04 pm
That's a good idea, but...
yaim904 wrote: Sat Feb 05, 2022 7:40 pm
I want everything to be relative, because the scale is changed.
Anyway, thanks for the idea.
Re: How to place a sign in an interface?
Posted: Sat Feb 05, 2022 8:09 pm
by robot256
You could try calculating the width dynamically. Sorry I'm pretty new to GUI design.
Re: How to place a sign in an interface?
Posted: Sat Feb 05, 2022 8:13 pm
by yaim904
robot256 wrote: Sat Feb 05, 2022 8:09 pm
Actually, it has a height and width property, which would be very useful, but it's only writeable.
Don't worry, we all start somewhere.
Re: How to place a sign in an interface?
Posted: Sat Feb 05, 2022 11:32 pm
by yaim904
I know this can be considered SPAM, but I'm commenting in case it helps someone.

- Captura de pantalla 2022-02-05 185038.png (21.39 KiB) Viewed 1555 times
I added an empty-widget with the property horizontally_stretchable between the title and the time.