fix helper OSD display
This commit is contained in:
parent
6286834473
commit
508d7dca3a
3
draw.js
3
draw.js
|
|
@ -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") }));
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue