This function did not work quite right for me( emacs 23.3.1/OSX), I had to replace with:
(defun powerline-make-fill
(color)
;; justify right by filling with spaces to right fringe, 20 should be calculated
(let ((plface (powerline-make-face color)))
(propertize " " 'display '((space :align-to (- right-margin 20)))
'face plface)))
I use margin instead of fringe that saved the test against the scrollbar.
This function did not work quite right for me( emacs 23.3.1/OSX), I had to replace with:
(defun powerline-make-fill (color) ;; justify right by filling with spaces to right fringe, 20 should be calculated (let ((plface (powerline-make-face color))) (propertize " " 'display '((space :align-to (- right-margin 20))) 'face plface)))
I use margin instead of fringe that saved the test against the scrollbar.