Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2012, 2025 Original authors and others.
* Copyright (c) 2012, 2026 Original authors and others.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
Expand Down Expand Up @@ -38,6 +38,7 @@
import org.eclipse.nebula.widgets.nattable.style.VerticalAlignmentEnum;
import org.eclipse.nebula.widgets.nattable.ui.matcher.LetterOrDigitKeyEventMatcher;
import org.eclipse.nebula.widgets.nattable.util.GUIHelper;
import org.eclipse.nebula.widgets.nattable.util.PlatformHelper;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ControlEvent;
import org.eclipse.swt.events.ControlListener;
Expand Down Expand Up @@ -704,7 +705,7 @@ protected void createDropdownControl(int style) {
// horizontal scrollbar on mac
// see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=304128
int scrollStyle = ((this.itemList != null && this.itemList.size() > this.maxVisibleItems)
&& this.maxVisibleItems > 0) ? (SWT.V_SCROLL | SWT.NO_SCROLL) : SWT.NO_SCROLL;
&& this.maxVisibleItems > 0) ? (PlatformHelper.isRAP() ? SWT.V_SCROLL : (SWT.V_SCROLL | SWT.NO_SCROLL)) : SWT.NO_SCROLL;
int dropdownListStyle = style
| scrollStyle
| HorizontalAlignmentEnum.getSWTStyle(this.cellStyle)
Expand Down
Loading