Skip to content

Commit 378676b

Browse files
committed
Update layout
1 parent 13a3dbc commit 378676b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/MainView.vala

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,9 @@ public class Obliviate.MainView : Gtk.Box {
8585
this.generated_pass = new Gtk.PasswordEntry () {
8686
show_peek_icon = true,
8787
editable = false,
88-
sensitive = false,
8988
width_chars = 24
9089
};
9190

92-
this.generated_pass.add_css_class (Granite.STYLE_CLASS_FLAT);
93-
9491
copy_btn = new Gtk.Button.with_label (_ ("Copy")) {
9592
sensitive = false,
9693
hexpand = true
@@ -110,8 +107,11 @@ public class Obliviate.MainView : Gtk.Box {
110107
handle_copy (true);
111108
});
112109

113-
var button_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 6);
114-
button_box.prepend (copy_btn);
110+
var button_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 8) {
111+
margin_top = 4
112+
};
113+
114+
button_box.append (copy_btn);
115115
button_box.append (copy_without_symbols_btn);
116116

117117
clearing_label = new Gtk.Label (ngettext (

0 commit comments

Comments
 (0)