Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions demo/Views/FormView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,27 @@ public class FormView : DemoPage {
secondary_text = "Must be at least 8 characters long"
};

var button = new Gtk.Button.with_label ("Submit");
var password_entry = new Gtk.PasswordEntry () {
show_peek_icon = true
};

var password_label = new Granite.HeaderLabel ("Password") {
mnemonic_widget = password_entry
};

var button = new Gtk.Button.with_label ("Submit") {
margin_top = 24
};

var box = new Granite.Box (VERTICAL) {
var box = new Granite.Box (VERTICAL, NONE) {
halign = CENTER,
valign = CENTER,
margin_start = margin_end = margin_top = margin_bottom = 12
};
box.append (username_label);
box.append (username_entry);
box.append (password_label);
box.append (password_entry);
box.append (button);

child = box;
Expand Down
8 changes: 5 additions & 3 deletions lib/Icons/icons.gresource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@

<file alias="scalable/actions/selection-mode-symbolic.svg" compressed="true" preprocess="xml-stripblanks">scalable/selection-mode-symbolic.svg</file>

<file alias="scalable/actions/view-conceal-symbolic.svg" compressed="true" preprocess="xml-stripblanks">scalable/view-conceal-symbolic.svg</file>
<file alias="scalable/actions/view-reveal-symbolic.svg" compressed="true" preprocess="xml-stripblanks">scalable/view-reveal-symbolic.svg</file>
<file alias="scalable/status/eye-not-looking-symbolic.svg" compressed="true" preprocess="xml-stripblanks">scalable/view-conceal-symbolic.svg</file>
<file alias="scalable/status/eye-open-negative-filled-symbolic.svg" compressed="true" preprocess="xml-stripblanks">scalable/view-reveal-symbolic.svg</file>

<file alias="scalable/actions/view-column-symbolic.svg" compressed="true" preprocess="xml-stripblanks">scalable/view-column-symbolic.svg</file>
<file alias="scalable/actions/view-grid-symbolic.svg" compressed="true" preprocess="xml-stripblanks">scalable/view-grid-symbolic.svg</file>
<file alias="scalable/actions/view-list-symbolic.svg" compressed="true" preprocess="xml-stripblanks">scalable/view-list-symbolic.svg</file>
Expand Down Expand Up @@ -54,9 +59,6 @@
<file alias="scalable/status/check-indeterminate-symbolic.svg" compressed="true" preprocess="xml-stripblanks">scalable/check-indeterminate.svg</file>
<file alias="scalable/status/check-mixed-symbolic.svg" compressed="true" preprocess="xml-stripblanks">scalable/check-indeterminate.svg</file>

<file alias="scalable/status/eye-not-looking-symbolic.svg" compressed="true" preprocess="xml-stripblanks">scalable/eye-not-looking-symbolic.svg</file>
<file alias="scalable/status/eye-open-negative-filled-symbolic.svg" compressed="true" preprocess="xml-stripblanks">scalable/eye-open-negative-filled-symbolic.svg</file>

<file alias="scalable/status/pager-checked-symbolic.svg" compressed="true" preprocess="xml-stripblanks">scalable/pager-checked-symbolic.svg</file>

<file alias="scalable/status/process-completed-symbolic.svg" compressed="true" preprocess="xml-stripblanks">scalable/process-completed-symbolic.svg</file>
Expand Down
25 changes: 0 additions & 25 deletions lib/Icons/scalable/eye-not-looking-symbolic.svg

This file was deleted.

15 changes: 0 additions & 15 deletions lib/Icons/scalable/eye-open-negative-filled-symbolic.svg

This file was deleted.

35 changes: 35 additions & 0 deletions lib/Icons/scalable/view-conceal-symbolic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions lib/Icons/scalable/view-reveal-symbolic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.