calendar: Fix alignment of world clocks header in RTL
Signed-off-by: Yosef Or Boczko <yoseforb@gmail.com> Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2240>
This commit is contained in:
parent
e4446cd15c
commit
44d819149f
@ -400,6 +400,9 @@ class WorldClocksSection extends St.Button {
|
|||||||
x_align: Clutter.ActorAlign.START,
|
x_align: Clutter.ActorAlign.START,
|
||||||
text: title,
|
text: title,
|
||||||
});
|
});
|
||||||
|
if (this._grid.text_direction === Clutter.TextDirection.RTL)
|
||||||
|
layout.attach(header, 2, 0, 1, 1);
|
||||||
|
else
|
||||||
layout.attach(header, 0, 0, 2, 1);
|
layout.attach(header, 0, 0, 2, 1);
|
||||||
this.label_actor = header;
|
this.label_actor = header;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user