[InfoBar] Make spacing between message and button stylable

https://bugzilla.gnome.org/show_bug.cgi?id=609401
This commit is contained in:
Florian Müllner
2010-02-09 07:28:49 +01:00
parent 32e2ff7573
commit 9a1cb9c3db
2 changed files with 11 additions and 8 deletions

View File

@ -95,14 +95,13 @@ InfoBar.prototype = {
this._undo = new St.Button({ label: _('Undo'),
style_class: 'info-bar-link-button' });
let bin = new St.Bin({ style_class: 'info-bar',
x_fill: false,
let bin = new St.Bin({ x_fill: false,
y_fill: false,
x_align: St.Align.MIDDLE,
y_align: St.Align.MIDDLE });
this.actor.set_child(bin);
let box = new St.BoxLayout();
let box = new St.BoxLayout({ style_class: 'info-bar' });
bin.set_child(box);
this._timeoutId = 0;
@ -171,7 +170,7 @@ InfoBar.prototype = {
this._timeout = false;
this._overviewWasHidden = false;
this._label.text = text + ' ';
this._label.text = text;
Tweener.addTween(this.actor,
{ opacity: 255,