Search
lxdream.org :: lxdream :: r1070:f543ee84dceb
lxdream 0.9.1
released Jun 29
Download Now
changeset1070:f543ee84dceb
parent1069:7e2b65496762
child1071:182cfe43c09e
authornkeynes
dateThu Jul 09 08:51:18 2009 +1000 (11 years ago)
Adjust label alignment on OSX path properties, looks better now
src/cocoaui/cocoa_path.m
1.1 --- a/src/cocoaui/cocoa_path.m Thu Jul 09 08:50:41 2009 +1000
1.2 +++ b/src/cocoaui/cocoa_path.m Thu Jul 09 08:51:18 2009 +1000
1.3 @@ -45,7 +45,7 @@
1.4 for( i=0; i<=CONFIG_KEY_MAX; i++ ) {
1.5 const struct lxdream_config_entry *entry = lxdream_get_global_config_entry(i);
1.6 if( entry->label != NULL ) {
1.7 - NSRect frame = NSMakeRect( TEXT_GAP, y - 2, 150, LABEL_HEIGHT );
1.8 + NSRect frame = NSMakeRect( TEXT_GAP, y+2, 150, LABEL_HEIGHT );
1.9 NSTextField *label = cocoa_gui_add_label(self, NS_(entry->label), frame);
1.10 [label setAlignment: NSRightTextAlignment];
1.11
.