Hi,
When a button is created using IAS, the text on it is automatically aligned to the center. Is it possible to make it align to the left or right?
Thanks!
Marieke Goethals [SLC] [DevOps Enabler] Selected answer as best 14th July 2023
Hi Jason,
If you are using the Interactive Automation Toolkit community library, you can try what Matthias proposed like this:
dialog.AddWidget(new Button("▲ EXT Source BT"), 0, 0, HorizontalAlignment.Left, VerticalAlignment.Center);
Jason Wan [SLC] [DevOps Advocate] Posted new comment 14th April 2022
Thanks, Thomas, I tried this method but it didn’t work. I think the HorizontalAlignment and VerticalAlignment work on the position of the button but not the content on the button.