Commit f2df9f1a authored by Florian Müllner's avatar Florian Müllner

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.

GNOME/gnome-shell#1927
parent 18a1435c
......@@ -977,6 +977,7 @@ StScrollBar {
spacing-columns: 0.8em;
}
.weather-header-box,
.weather-box {
spacing: 0.4em;
}
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment