You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think you hit an edge case.
If your content is N pixels wide, and the container is N pixels wide, we automatically get the scroll bar from the underlying JavaFX graphics library.
Ways around that:
Either make the container N+5 pixels wide, i.e. have some margin which causes the graphics library to NOT proactively enable the scroll bar.
Or select the "Resize Behavior: Size widget to match content". In this case, the container size matches the size of the content (well, duh), plus we actually disable the scrollbars because we know that the content fits and thus we must keep the graphics library from proactively enabling the scroll bar, which it would actually do for size(content)==size(container).
I think that the embedded container has a 1 pixel border, so +2 in both width and height should be enough. This is, in any case, something I want to investigate in order to remove this border if possible.
Steps to reproduce:
embed.bob
(size 300x200 pixels) containing a label (x=0, y=50, size 300x100 px)master.bob
, add a linking container (size 300x200 px) pointing toembed.bob
.Both x and y scroll bars are displayed although
I'm running the FRIB version of CS-Studio 4.5.6 on Debian jessie.
The text was updated successfully, but these errors were encountered: