From 758e083cafc3e469bc88c74f2a38970a76d975d5 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Sun, 2 Nov 2008 03:00:45 +0000 Subject: [PATCH] Draw a border around the panel. Move it to -1,-1 and make the width+2 so we only see the border at the bottom svn path=/trunk/; revision=19 --- js/ui/panel.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/ui/panel.js b/js/ui/panel.js index 22fcafa3b..f702a7c1d 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -26,8 +26,10 @@ Panel.prototype = { let background = new Clutter.Rectangle({ color: PANEL_BACKGROUND_COLOR, reactive: true, - width: global.screen_width, - height: PANEL_HEIGHT }); + width: global.screen_width+2, + height: PANEL_HEIGHT+1, + border_width: 1}); + background.set_position(-1, -1) this._group.add_actor(background); let message = new Clutter.Label({ font_name: "Sans Bold 16px",