From 8d139c621af8946eb9727877ab2b6a48b2a330f3 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Sun, 20 Feb 2005 00:57:26 +0000 Subject: [PATCH] layout alignments --- TODO.FACTOR.txt | 1 - examples/gadget-test.factor | 4 ++-- library/ui/buttons.factor | 2 +- library/ui/fields.factor | 39 ++++++++++++++++++------------------ library/ui/gadgets.factor | 16 ++------------- library/ui/layouts.factor | 40 ++++++++++++++++++++++++++----------- 6 files changed, 53 insertions(+), 49 deletions(-) diff --git a/TODO.FACTOR.txt b/TODO.FACTOR.txt index 9d68ae5aee..2f668bcd31 100644 --- a/TODO.FACTOR.txt +++ b/TODO.FACTOR.txt @@ -19,7 +19,6 @@ - #jump-f #jump-f-label - extract word inside M:, C:, and structure browsing for these -- fix checkbox alignment - each-slot combinator - references primitive - fix completion invoke in middle of word diff --git a/examples/gadget-test.factor b/examples/gadget-test.factor index 7a46689dc9..b1bd2a1a7f 100644 --- a/examples/gadget-test.factor +++ b/examples/gadget-test.factor @@ -66,8 +66,8 @@ USE: words : make-shapes ( -- ) f world get set-gadget-children - default-gap "pile" set - default-gap "shelf" set + 0 default-gap "pile" set + "shelf" set "Close" [ "dialog" get world get remove-gadget ]