From bf74e394ba006311e59f192316abd3dd234fab1d Mon Sep 17 00:00:00 2001 From: nicolas-p Date: Sat, 18 Jul 2015 13:19:31 +0200 Subject: [PATCH] Unified toolbar New toolbar with a grey background. --- basis/ui/gadgets/buttons/buttons.factor | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/basis/ui/gadgets/buttons/buttons.factor b/basis/ui/gadgets/buttons/buttons.factor index 869fd35606..3a3338e6fc 100644 --- a/basis/ui/gadgets/buttons/buttons.factor +++ b/basis/ui/gadgets/buttons/buttons.factor @@ -121,7 +121,7 @@ PRIVATE> [ append theme-image ] tri-curry@ tri ] 2dip ; -CONSTANT: button-background COLOR: FactorTan +CONSTANT: button-background COLOR: grey95 CONSTANT: button-clicked-background COLOR: FactorDarkSlateBlue : ( -- pen ) @@ -253,4 +253,7 @@ PRIVATE> bi assoc-each ; : add-toolbar ( track -- track ) - dup { 3 3 } align-left f track-add ; + dup { 3 3 } + button-background >>interior + COLOR: grey75 >>boundary + align-left f track-add ;