[This is on 8.1.15, with the issue in Perspective]
In a prior question I asked about Forcing scroll bars off in views? and received the solution to set an “overflow” style to the root container, and set it’s value to visible. This worked well for that situation.
However when working on a later view I believe that I have discovered a bug in the extents calculation of a rotated object within a view, for which overflow has been set to visible on the root container, and how that view is rendered in the designer. Note: This issue does not occur when the overflow style has not been added to a view.
Here is a simple view that contains a single label element (which has it’s outline set so we can see its dimensions). I can’t use the mouse to drag the right hand edge of the rendered view past the right hand edge of the label. But if you look at the x axis shading (highlighted with the red box), the dimensions of the view have continued to decrease past where the outline of the view itself stopped. This dimension is also shown in the numerical values of the view properties.
Now, if I rotate the the label by 90 degrees I expect that I can reduce the width of the view to the new right hand side of the label (the side that was previously the bottom of the label).
Except I can’t do this.
When dragging with the mouse, the rendered boundaries of the view stop in exactly the same location as when the label was not rotated. (and I can still decrease the view dimensions to less than the view outline)
I am not sure about the relationship between the rendering of the view out line and the view’s default dimensions. However, I would expect that when the label is rotated that the right hand extent of the rotated label should be used in calculations rather than the unrotated value.
Here is an export of my test view (Can’t remember if the label was rotated or not in this export)
TestSvg_2022-04-25_0701.zip (2.7 KB)
This is actually worse than I thought. In the above view, I removed the overflow style from the root container, rotated the label and then realized that the scroll bars appear on the view as soon as the right hand edge of the view passes what would be the right hand edge of the non-rotated label.