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
Workaround for unexpected scrollbars in MultipleHyperlinkPresenter
This commit adds two additional points to the width and height
when calculating the size of the composite containing the Hyperlinks in
the MultipleHyperlinkPresenter. Additionally this refreshes the size of
the parent shell to prevent additional scrollbars in some zoom levels.
This serves as a workaround for a current limitation in the SWT
implementation on Windows. With certain zoom settings (e.g., 125%, 175%
or 225%), the calculated size may be too small, causing the Composite to
show Scrollbars, although it calculated to not need scrollbars. This
additional width/height is only added for windows and when no
scrollbars should be thrown.
0 commit comments