I want to prevent the display of scrollbars on my popovers. I especially want to prevent the momentary flash of scrollbars that occurs when objects are so close to the edge of the popover that FileMaker thinks scrollbars might be needed, then decides that they are not.
It seems to be related to style rules for the popover. It also seems to like a 2px gap. For example, I have a popover with padding set to 5px on all borders. The popover is 260px wide and I've placed a button bar onto it that is centered. When the button bar is 250px wide the popover will display scrollbars. If it is 248px wide the popover will briefly display scrollbars. At 246px wide the scrollbars are not displayed.
When the scrollbar is 246px wide and I change the padding of the popover to 7px the scrollbars are displayed.
Does anyone know what minimum margin is needed between the edge of the popover and the objects within it? Is it different on each platform?