Align buttons to the right
BradCarsten
Posts: 856
I want to add a button to the bottom right.
What I've done is add a group box
Then inside it added another group box, (aligned to the right) as well as the buttons.
This works, but unfortunately, even if you make the group box flat, it still draws a line along the top, so this setup looks like a hack.
Comments
You can use for your button of group box YourButton
YourButton.setGeometry (X coordinates, Y coordinates, width, height)
or
YourButton.x= X coordinates
YourButton.y = Y coordinates
You don't always need to use a DzGroupBox as a container for other widgets when sometimes just a simple DzWidget will do the job (with the added bonus that a DzWidget will not be drawn with a border). You can still add layouts to DzWidget objects too.
Thanks YudinEd and HowieFarkes. That helps a lot.