Mercurial > dwindows
comparison mac/dw.m @ 753:590eebc9b61f
Preset the splitbar percent to 50% since Leopard doesn't set it automatically.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 17 Mar 2011 05:08:56 +0000 |
parents | cf447811d322 |
children | 0d0dc78c589d |
comparison
equal
deleted
inserted
replaced
752:cf447811d322 | 753:590eebc9b61f |
---|---|
4915 } | 4915 } |
4916 else | 4916 else |
4917 { | 4917 { |
4918 [split setVertical:YES]; | 4918 [split setVertical:YES]; |
4919 } | 4919 } |
4920 /* Set the default percent to 50% split */ | |
4921 [split setPercent:50.0]; | |
4920 /* [split setTag:cid]; Why doesn't this work? */ | 4922 /* [split setTag:cid]; Why doesn't this work? */ |
4921 DW_MUTEX_UNLOCK; | 4923 DW_MUTEX_UNLOCK; |
4922 return split; | 4924 return split; |
4923 } | 4925 } |
4924 | 4926 |