Aylur / astal

Building blocks for creating custom desktop shells
https://aylur.github.io/astal/
GNU Lesser General Public License v2.1
279 stars 35 forks source link

The end_widget in the centerbox is rendering widget at the center instead of rendering at the end #103

Closed SourishBiswas23 closed 1 week ago

SourishBiswas23 commented 1 week ago

Describe the bug The title sums it up

To Reproduce https://github.com/SourishBiswas23/ags-config/blob/main/widget/Bar.tsx

Expected behavior The label 'End' in the attached video should render at the end of the bar not at the center of the bar

Additional context ags v 2.0.0 Kooha-2024-11-17-15-15-38.webm

kotontrion commented 1 week ago

the end_widget is a box. Boxes will expand to fill the whole width. Set halign={Gtk.Align.END} property for that box.

SourishBiswas23 commented 1 week ago

Thanks again for clarifying this