fix helper OSD display

This commit is contained in:
abakkk 2020-03-13 11:08:00 +01:00
parent 6286834473
commit 508d7dca3a
2 changed files with 11 additions and 5 deletions

View File

@ -1075,10 +1075,11 @@ var DrawingHelper = new Lang.Class({
Extends: St.ScrollView,
_init: function(params, monitor) {
params.style_class = 'osd-window draw-on-your-screen-helper';
this.parent(params);
this.monitor = monitor;
this.hide();
this.vbox = new St.BoxLayout({ style_class: 'osd-window draw-on-your-screen-helper', vertical: true });
this.vbox = new St.BoxLayout({ vertical: true });
this.add_actor(this.vbox);
this.vbox.add_child(new St.Label({ text: _("Global") }));

View File

@ -13,17 +13,22 @@
}
/* "Ctrl + F1" on-screen-display */
.draw-on-your-screen-helper {
margin: 0;
margin: 0px;
}
.draw-on-your-screen-helper > StBoxLayout {
margin: 8px;
margin-right: 16px;
spacing: 0.5em;
}
.draw-on-your-screen-helper StBoxLayout {
.draw-on-your-screen-helper > StBoxLayout StBoxLayout {
spacing: 7em;
}
.draw-on-your-screen-helper StBoxLayout StLabel {
.draw-on-your-screen-helper > StBoxLayout StBoxLayout StLabel {
text-align: right;
font-weight: normal;
}