I have an issue with scrollbars shifting the page about. It feels clunky, so came up with a way to workaround it in my groups.
I simply set a conditional margin to appear that’s the same width as the scrollbar, when the group is not scrollable. This worked perfectly.
Now I’m trying to do the same with the main window but that’s harder, as I do not know what resolution or scale the end user is viewing the page in.
How do I know if the scrollbar is visible on a page?
Setting an aribrary size doesn’t work, because the user may be zoomed in or out, making the measurement useless.