Vertical align, at last :-)
This commit is contained in:
parent
3bc50dc398
commit
c50753c07e
@ -103,7 +103,8 @@ class Indicator extends PanelMenu.Button {
|
|||||||
box.add_child(serverBox);
|
box.add_child(serverBox);
|
||||||
|
|
||||||
let name_box = new St.BoxLayout( { style_class: 'monito-namebox' } );
|
let name_box = new St.BoxLayout( { style_class: 'monito-namebox' } );
|
||||||
this.namesBoxes [ this.server ] = new St.Label ( { text: this.account_settings.get_string ( 'name' ) } );
|
this.namesBoxes [ this.server ] = new St.Label ( { text: this.account_settings.get_string ( 'name' ),
|
||||||
|
y_align: Clutter.ActorAlign.CENTER, } );
|
||||||
name_box.add_child ( this.namesBoxes [ this.server ] );
|
name_box.add_child ( this.namesBoxes [ this.server ] );
|
||||||
serverBox.add_child(name_box);
|
serverBox.add_child(name_box);
|
||||||
this.account_settings.bind ( 'name', this.namesBoxes [ this.server ], 'text', Gio.SettingsBindFlags.GET );
|
this.account_settings.bind ( 'name', this.namesBoxes [ this.server ], 'text', Gio.SettingsBindFlags.GET );
|
||||||
|
@ -44,7 +44,6 @@
|
|||||||
|
|
||||||
.monito-namebox {
|
.monito-namebox {
|
||||||
margin-right: .5em;
|
margin-right: .5em;
|
||||||
vertical-align: middle;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.monito-critical-box, .monito-service-CRITICAL, .monito-service-line-CRITICAL {
|
.monito-critical-box, .monito-service-CRITICAL, .monito-service-line-CRITICAL {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user