mirror of
https://github.com/oleid/gnome-shell-teatime.git
synced 2022-04-29 18:53:50 +00:00
trying to centre tea cup
This commit is contained in:
parent
8fc62efb59
commit
3fee302396
@ -41,7 +41,9 @@ const TeaTimeFullscreenNotification = new Lang.Class({
|
||||
// this spans the whole monitor and contains
|
||||
// the actual layout, which it displays in
|
||||
// the center of itself
|
||||
this._bin = new St.Bin();
|
||||
|
||||
// TODO: trying to centre the tea cup... doesn't work
|
||||
this._bin = new St.Bin({ x_align: St.Align.MIDDLE, y_align: St.Align.MIDDLE});
|
||||
this._monitorConstraint = new Layout.MonitorConstraint();
|
||||
this._bin.add_constraint(this._monitorConstraint);
|
||||
Main.uiGroup.add_actor(this._bin);
|
||||
|
Loading…
Reference in New Issue
Block a user