changeset 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
files mac/dw.m
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mac/dw.m	Thu Mar 17 04:48:06 2011 +0000
+++ b/mac/dw.m	Thu Mar 17 05:08:56 2011 +0000
@@ -4917,6 +4917,8 @@
     {
         [split setVertical:YES];
     }
+    /* Set the default percent to 50% split */
+    [split setPercent:50.0];
     /* [split setTag:cid]; Why doesn't this work? */
     DW_MUTEX_UNLOCK;
     return split;