File tree Expand file tree Collapse file tree 6 files changed +69
-45
lines changed Expand file tree Collapse file tree 6 files changed +69
-45
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,27 @@ public class FormView : DemoPage {
2222 secondary_text = " Must be at least 8 characters long"
2323 };
2424
25- var button = new Gtk .Button .with_label (" Submit" );
25+ var password_entry = new Gtk .PasswordEntry () {
26+ show_peek_icon = true
27+ };
28+
29+ var password_label = new Granite .HeaderLabel (" Password" ) {
30+ mnemonic_widget = password_entry
31+ };
32+
33+ var button = new Gtk .Button .with_label (" Submit" ) {
34+ margin_top = 24
35+ };
2636
27- var box = new Granite .Box (VERTICAL ) {
37+ var box = new Granite .Box (VERTICAL , NONE ) {
2838 halign = CENTER ,
2939 valign = CENTER ,
3040 margin_start = margin_end = margin_top = margin_bottom = 12
3141 };
3242 box. append (username_label);
3343 box. append (username_entry);
44+ box. append (password_label);
45+ box. append (password_entry);
3446 box. append (button);
3547
3648 child = box;
Original file line number Diff line number Diff line change 1919
2020 <file alias =" scalable/actions/selection-mode-symbolic.svg" compressed =" true" preprocess =" xml-stripblanks" >scalable/selection-mode-symbolic.svg</file >
2121
22+ <file alias =" scalable/actions/view-conceal-symbolic.svg" compressed =" true" preprocess =" xml-stripblanks" >scalable/view-conceal-symbolic.svg</file >
23+ <file alias =" scalable/actions/view-reveal-symbolic.svg" compressed =" true" preprocess =" xml-stripblanks" >scalable/view-reveal-symbolic.svg</file >
24+ <file alias =" scalable/status/eye-not-looking-symbolic.svg" compressed =" true" preprocess =" xml-stripblanks" >scalable/view-conceal-symbolic.svg</file >
25+ <file alias =" scalable/status/eye-open-negative-filled-symbolic.svg" compressed =" true" preprocess =" xml-stripblanks" >scalable/view-reveal-symbolic.svg</file >
26+
2227 <file alias =" scalable/actions/view-column-symbolic.svg" compressed =" true" preprocess =" xml-stripblanks" >scalable/view-column-symbolic.svg</file >
2328 <file alias =" scalable/actions/view-grid-symbolic.svg" compressed =" true" preprocess =" xml-stripblanks" >scalable/view-grid-symbolic.svg</file >
2429 <file alias =" scalable/actions/view-list-symbolic.svg" compressed =" true" preprocess =" xml-stripblanks" >scalable/view-list-symbolic.svg</file >
5459 <file alias =" scalable/status/check-indeterminate-symbolic.svg" compressed =" true" preprocess =" xml-stripblanks" >scalable/check-indeterminate.svg</file >
5560 <file alias =" scalable/status/check-mixed-symbolic.svg" compressed =" true" preprocess =" xml-stripblanks" >scalable/check-indeterminate.svg</file >
5661
57- <file alias =" scalable/status/eye-not-looking-symbolic.svg" compressed =" true" preprocess =" xml-stripblanks" >scalable/eye-not-looking-symbolic.svg</file >
58- <file alias =" scalable/status/eye-open-negative-filled-symbolic.svg" compressed =" true" preprocess =" xml-stripblanks" >scalable/eye-open-negative-filled-symbolic.svg</file >
59-
6062 <file alias =" scalable/status/pager-checked-symbolic.svg" compressed =" true" preprocess =" xml-stripblanks" >scalable/pager-checked-symbolic.svg</file >
6163
6264 <file alias =" scalable/status/process-completed-symbolic.svg" compressed =" true" preprocess =" xml-stripblanks" >scalable/process-completed-symbolic.svg</file >
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments