没有任何数据可供显示
| 开源项目社区 | 当前位置 : |
|
| www.trustie.net/open_source_projects | 主页 > 开源项目社区 > IGResizableComboBox |
|
IGResizableComboBox
|
| 1 | 0 | 95 |
| 贡献者 | 讨论 | 代码提交 |
概述
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.
创建时间:2014-05-06 16:50
标签:
