An NSComboBox subclass (Cocoa) that allows drag-resizing of the combo box pop-up.
NSComboBox generates its pop-up by creating a special NSWindow subclass, NSComboBoxWindow. This pop-up window has an NSScrollView (or subclass thereof) as its content view and uses that to display the choices and (if needed) the scrollbar (via an NSComboTableView, which is a subclass of NSTableView).
IGResizableComboBox inserts its own NSView subclass as the content view of the NSComboBoxWindow and puts the NSScrollView as a subview of this NSView. This NSView is slightly taller than the NSScrollView and the NSView captures mouse dragging events on this extra space to allow resizing.
Commercial Use
Modify
Distribute
Sub-License
Private Use
Hold Liable
Include Copyright
Include License
These details are provided for information only. No information here is legal advice and should not be used as such.
30 Day SummaryJul 19 2020 — Aug 18 2020
|
12 Month SummaryAug 18 2019 — Aug 18 2020
|