summaryrefslogtreecommitdiff
path: root/panel.js
diff options
context:
space:
mode:
Diffstat (limited to 'panel.js')
-rw-r--r--panel.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/panel.js b/panel.js
index bfee077..f0683f2 100644
--- a/panel.js
+++ b/panel.js
@@ -36,7 +36,7 @@ Panel.prototype = {
this._broadcastButton.set_icon_name('media-record-symbolic');
this._broadcastButton.set_icon_size(16);
this.actor.add_actor(this._broadcastButton, -1);
- this.actor.child_set_x_align(this._broadcastButton, 0.0);
+ this.actor.child_set_x_align(this._broadcastButton, Mx.Align.START);
this._broadcastButton.connect('clicked',
Lang.bind(this, function() {
@@ -47,14 +47,14 @@ Panel.prototype = {
disabled: true });
this.actor.add_actor(this._slider, -1);
this.actor.child_set_expand(this._slider, true);
- this.actor.child_set_x_align(this._slider, 0.5);
+ this.actor.child_set_x_align(this._slider, Mx.Align.MIDDLE);
this.actor.child_set_x_fill(this._slider, true);
this._fullscreenButton = new Mx.Button({ style_class: 'panel-item' });
this._fullscreenButton.set_icon_name('view-fullscreen-symbolic');
this._fullscreenButton.set_icon_size(16);
this.actor.add_actor(this._fullscreenButton, -1);
- this.actor.child_set_x_align(this._fullscreenButton, 1.0);
+ this.actor.child_set_x_align(this._fullscreenButton, Mx.Align.END);
this._fullscreenButton.connect('clicked',
Lang.bind(this, function() {