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:
parent
18a1435c25
commit
f2df9f1ae4
@ -977,6 +977,7 @@ StScrollBar {
|
|||||||
spacing-columns: 0.8em;
|
spacing-columns: 0.8em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.weather-header-box,
|
||||||
.weather-box {
|
.weather-box {
|
||||||
spacing: 0.4em;
|
spacing: 0.4em;
|
||||||
}
|
}
|
||||||
|
@ -267,7 +267,7 @@ class WeatherSection extends St.Button {
|
|||||||
|
|
||||||
this.child = box;
|
this.child = box;
|
||||||
|
|
||||||
let titleBox = new St.BoxLayout();
|
let titleBox = new St.BoxLayout({ style_class: 'weather-header-box' });
|
||||||
titleBox.add_child(new St.Label({
|
titleBox.add_child(new St.Label({
|
||||||
style_class: 'weather-header',
|
style_class: 'weather-header',
|
||||||
x_align: Clutter.ActorAlign.START,
|
x_align: Clutter.ActorAlign.START,
|
||||||
|
Loading…
Reference in New Issue
Block a user