Vertical alignment of RadioButtons / CheckBoxes

Post here if you need help using Actiona
Post Reply
eureka
Posts: 204
Joined: 08 Mar 2016, 22:18

Vertical alignment of RadioButtons / CheckBoxes

Post by eureka »

In Multi Data Input object the "ComboBox" and “List” objects show in vertical alignment, as expected.
However, “RadioButton” and “CheckBox ” objects only show in horizontal alignment.
How can I setup a vertical list of RadioButtons or CheckBoxes?
eureka
Posts: 204
Joined: 08 Mar 2016, 22:18

Re: Vertical alignment of RadioButtons / CheckBoxes

Post by eureka »

I have now had an opportunity to download Actionaz source and inspect the code.
In fact I built a working actionaz binary using Qt 5.6 Creator.

Inspecting the code in ../actiontools/screenpositionwidget.cpp
if I am to achieve vertical layout
Is it a matter of changing
line 43: -

QHBoxLayout *mainLayout = new QHBoxLayout();
to
QVBoxLayout *mainLayout = new QVBoxLayout();

?
Post Reply