Hide add account text entry borders
Cromulence++
This commit is contained in:
parent
91be03c5e5
commit
cf73a91681
2 changed files with 14 additions and 1 deletions
|
|
@ -213,20 +213,29 @@ internal class Accounts.LabelledEditorRow<PaneType,V> : EditorRow<PaneType> {
|
|||
|
||||
|
||||
public LabelledEditorRow(string label, V value) {
|
||||
this.label.hexpand = true;
|
||||
this.label.halign = Gtk.Align.START;
|
||||
this.label.valign = Gtk.Align.CENTER;
|
||||
this.label.set_text(label);
|
||||
this.label.show();
|
||||
this.layout.add(this.label);
|
||||
|
||||
bool expand_label = true;
|
||||
this.value = value;
|
||||
Gtk.Widget? widget = value as Gtk.Widget;
|
||||
if (widget != null) {
|
||||
Gtk.Entry? entry = value as Gtk.Entry;
|
||||
if (entry != null) {
|
||||
expand_label = false;
|
||||
entry.xalign = 1;
|
||||
entry.hexpand = true;
|
||||
}
|
||||
|
||||
widget.valign = Gtk.Align.CENTER;
|
||||
widget.show();
|
||||
this.layout.add(widget);
|
||||
}
|
||||
|
||||
this.label.hexpand = expand_label;
|
||||
}
|
||||
|
||||
public void set_dim_label(bool is_dim) {
|
||||
|
|
|
|||
|
|
@ -212,6 +212,10 @@ row.geary-settings image {
|
|||
padding: 0px 6px;
|
||||
}
|
||||
|
||||
row.geary-settings entry {
|
||||
border-width: 0px;
|
||||
}
|
||||
|
||||
row.geary-settings.geary-drag-source {
|
||||
color: @insensitive_fg_color;
|
||||
background-color: @insensitive_bg_color;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue