commit: | 583bad01e9b4661bb93008df012ac60889d1acc1 |
author: | Trevor Bentley |
committer: | Trevor Bentley |
date: | Mon Jul 24 20:33:00 2017 +0200 |
parents: | 9e338b2c5eebd15d1d80da14bbc1f0311f3fc0ab |
diff --git a/src/touchbar.rs b/src/touchbar.rs line changes: +2/-0 index dbb442a..d031c2a --- a/src/touchbar.rs +++ b/src/touchbar.rs
@@ -566,6 +566,8 @@ impl TTouchbar for Touchbar { let label: *mut Object = msg_send![cls, alloc]; let label: *mut Object = msg_send![label, initWithFrame: frame]; let _:() = msg_send![label, setEditable: NO]; + let cell: *mut Object = msg_send![label, cell]; + let _:() = msg_send![cell, setWraps: NO]; let text = NSString::alloc(nil).init_str(text); let _:() = msg_send![label, setStringValue: text]; let _ = msg_send![text, release];