I’m working in Maya with pyside2 (mainly the identical as PyQt5).
I’ve a gui with a scroll space in it… The scroll space has rows of some buttons and stuff that I need to develop horizontally if the consumer drags the window and expands it bigger. Additional rows of these things could be added to it which makes the vertical scroll bar seem (clearly).
I am making an attempt to find out a approach to stop the slight resize of my rows of things when the scroll bar seems/disappears. Visually, I need the width of the objects in every row to say the identical if new rows get added and the scroll bar seems, or if the consumer expands the window some and the scroll bar disappears…
Is there a sign or one thing that will get despatched if the scroll bar’s visibility modifications so I can modify the margins of the structure for the objects within the scroll space?
I do know I can set the scroll bar to be seen or not, however I am unable to discover something that I can hook into for when this inherently modifications as the dimensions of the gui or contents within the scroll space is modified… If there’s not already a sign, how may I am going about creating one?