From 7cefd48884df79a0a1eeecd054b23d7dd8fb632a Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Thu, 12 Mar 2009 17:48:46 -0500 Subject: [PATCH] Tweak pane layout for better baseline alignment --- basis/ui/gadgets/panes/panes.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/ui/gadgets/panes/panes.factor b/basis/ui/gadgets/panes/panes.factor index bf166f993a..28dc7e3ead 100644 --- a/basis/ui/gadgets/panes/panes.factor +++ b/basis/ui/gadgets/panes/panes.factor @@ -66,7 +66,7 @@ M: pane gadget-selection ( pane -- string/f ) selection-color >>selection-color ; inline : init-last-line ( pane -- pane ) - horizontal + horizontal 0 >>fill +baseline+ >>align [ >>last-line ] [ 1 track-add ] bi dup prepare-last-line ; inline