]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/separation-item.cc
release: 1.5.4
[lilypond.git] / lily / separation-item.cc
index b5642dbc268796839a4d742e3acbd7c243349138..522cde9ac162a6a3324610c2aaac920a86350d8b 100644 (file)
@@ -60,6 +60,14 @@ Separation_item::my_width (Grob *me)
        }
     }
 
+  SCM pad = me->get_grob_property ("padding");
+
+  if (gh_number_p (pad))
+  {
+    w[RIGHT] += gh_scm2double (pad)/2;
+    w[LEFT] -= gh_scm2double (pad)/2;    
+  }
+  
   return w;
  // add this->offset_ ? this-> relative_coordinate ()? 
 }