dateMenu: Add some spacing between weather header and location

In case of a very long location name, the label may take up all
available space. Make sure there is at least some spacing between
header and location in that case.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1927
This commit is contained in:
Florian Müllner 2019-11-20 22:21:48 +01:00
parent 18a1435c25
commit f2df9f1ae4
2 changed files with 2 additions and 1 deletions

View File

@ -977,6 +977,7 @@ StScrollBar {
spacing-columns: 0.8em;
}
.weather-header-box,
.weather-box {
spacing: 0.4em;
}

View File

@ -267,7 +267,7 @@ class WeatherSection extends St.Button {
this.child = box;
let titleBox = new St.BoxLayout();
let titleBox = new St.BoxLayout({ style_class: 'weather-header-box' });
titleBox.add_child(new St.Label({
style_class: 'weather-header',
x_align: Clutter.ActorAlign.START,