[Dev] Issue with minimal sizes of buttons added to grids

Hello World,

I’m writing a tool using scriptDialog class.

The minimum width of a button added through ScriptControl.ScriptControl.AddControlToGrid seems to be 80 (at least in my UI), and there’s no way to edit the width of a button added to a grid.
The text in my buttons is only “+” and “-” and I’d like to reduce their width.

What have I missed ?

Thanks
-p-

I don’t think we expose those properties, but the UI controls are standard PyQt with some sugar wrapped around them to be compatible with the old Deadline Scripting API from the 5.x days. Feel free to try using PyQt buttons in their place.