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
This commit is contained in:
Johan Dahlin 2008-11-02 03:00:45 +00:00
parent e81ed61a38
commit 758e083caf

View File

@ -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",