Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[nebula-dev] New topic in forum Nebula, called Resizable DropDown Box in NatCombo, by Andreas Blezu

Title: Eclipse Community Forums
Subject: Resizable DropDown Box in NatCombo Author: Andreas Blezu Date: Tue, 26 September 2017 09:18
I am using ComboBoxCellEditor in a NatTable and would like to resize the dropdown list at its borders (similar to windows). I can achieve this by extending NatCombo, overriding createDropdownControl(int style) and changing the line
 this.dropdownShell = new Shell(getShell(), SWT.MODELESS);
to
 this.dropdownShell = new Shell(getShell(), SWT.RESIZE);


Is it possible to do this wihtout overriding the method and copying the whole method body except that one line?

Is there a reason why the dropdownShell does not have a seperate style parameter/variable?
[ Reply ][ Quote ][ View Topic/Message ][ Unsubscribe from this forum ]

Back to the top