how can I add a left aligned button and a right aligned button to my TabSet? By default, all added Members are aligned to the right.
I could add a nested HLayout with the Buttons in it, but this does not work since I cannot specify the size of the HLayout (if I set it to 100% width, it overlaps the Tabs of the TabSet).
If what you want is that all of your custom controls appear to the right of the tabs, but some are aligned left within that space, just use a LayoutSpacer with width:“*” in between the controls that should be left-aligned vs those that should be right-aligned.
thanks for your quick reply. I have followed your advice. Unfortunately, I couldn’t get it to work yet. Have a look at the attached image. The first picture is with the buttons setAutoFit to “true”. The second picture is with setAutoFit to “false”.
It seems like the LayoutSpacer does not fill the entire available space, just a part of it.
I have tried to wrap the buttons and the spacer in a HLayout. The LayoutSpacer then works like it should, but the HLayout won’t fill up the available space when I set it’s width to “*”. It is essentially the same problem.