How to configure RadioButtonPanel

Hi Guys,

Good day.
I am currently using RadioButtonPanel on my development for GUI. However, I am a bit lost with configuring it. Please see image below for your reference.

How will I align the options Plan A and Plan B into horizontal? It is currently in vertical alignment. And how will I bring it to the top-middle of the dialog? It is always on the left upper corner.
Thank you in advance for the answers!

best regards,

Hi @Gambit,

Which DialogComponents are you using?
If you use DialogComponentButtonGroup you can choose between horizontal and vertical alignment.
It’s easiest to use if your dialog extends DefaultNodeSettingsPane that also takes care of the layouting.


1 Like

Hi @gab1one ,

Good day.
I used NodeDialogPane. If I will change it to DefaultNodeSettingsPane, I might change big part on my codes. Maybe I will use it for my next node extension development. But for now, I need to figure out how to configure the RadioButtonPanel.

Thanks in advance.

Best regards,