| 26 * POSSIBILITY OF SUCH DAMAGE. |
26 * POSSIBILITY OF SUCH DAMAGE. |
| 27 */ |
27 */ |
| 28 |
28 |
| 29 #import "text.h" |
29 #import "text.h" |
| 30 #import "EventData.h" |
30 #import "EventData.h" |
| 31 #import "Container.h" |
31 #import "container.h" |
| 32 #import <objc/runtime.h> |
32 #import <objc/runtime.h> |
| 33 |
33 |
| 34 UIWIDGET ui_textarea_create(UiObject *obj, UiTextAreaArgs *args) { |
34 UIWIDGET ui_textarea_create(UiObject *obj, UiTextAreaArgs *args) { |
| 35 NSTextView *textview = [[NSTextView alloc] init]; |
35 NSTextView *textview = [[NSTextView alloc] init]; |
| 36 textview.autoresizingMask = NSViewWidthSizable; |
36 textview.autoresizingMask = NSViewWidthSizable; |