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:
parent
e81ed61a38
commit
758e083caf
@ -26,8 +26,10 @@ Panel.prototype = {
|
|||||||
|
|
||||||
let background = new Clutter.Rectangle({ color: PANEL_BACKGROUND_COLOR,
|
let background = new Clutter.Rectangle({ color: PANEL_BACKGROUND_COLOR,
|
||||||
reactive: true,
|
reactive: true,
|
||||||
width: global.screen_width,
|
width: global.screen_width+2,
|
||||||
height: PANEL_HEIGHT });
|
height: PANEL_HEIGHT+1,
|
||||||
|
border_width: 1});
|
||||||
|
background.set_position(-1, -1)
|
||||||
this._group.add_actor(background);
|
this._group.add_actor(background);
|
||||||
|
|
||||||
let message = new Clutter.Label({ font_name: "Sans Bold 16px",
|
let message = new Clutter.Label({ font_name: "Sans Bold 16px",
|
||||||
|
Loading…
Reference in New Issue
Block a user