tmf: Fix for visible middle scrollbar on Mac
authorMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tue, 22 Sep 2015 02:27:16 +0000 (22:27 -0400)
committerMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tue, 22 Sep 2015 21:30:50 +0000 (17:30 -0400)
commitf6de5bef16d024ec0119fce3a1f0a3b58f80dcd9
tree8dfdd6d0da5387dac4b03d552bffee957dfb1a70
parent6ea94e31a1b1ab3344304670ea67b04042dc0103
tmf: Fix for visible middle scrollbar on Mac

On Windows we need to use a workaround to hide the vertical
scrollbar. By using that workaround on Mac, it actually makes the
vertical scrollbar visible all the time. Instead, we can use the
SWT.H_SCROLL | SWT.NO_SCROLL combination to only get the horizontal
scrollbar. This doesn't work on Windows but can still be used on Mac
and Linux (GTK).

Bug: 466870
Change-Id: If199708b41ed1b9467c6950d5fcf7ce7e461f1e1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50115
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/TimeGraphCombo.java
This page took 0.042506 seconds and 5 git commands to generate.