1
0
Fork 0

setttings button visually added along with other cosmetic changes

This commit is contained in:
Raatty 2020-04-13 16:03:00 +12:00
parent 43c0b96405
commit 5b9a369114
2 changed files with 23 additions and 3 deletions

View File

@ -53,6 +53,7 @@
<property name="only_digits">True</property>
<property name="show_symbols">False</property>
<property name="right_action">delete_btn</property>
<property name="left_action">settings_btn</property>
<property name="entry">pin_entry</property>
<style>
<class name="keypad"/>
@ -99,6 +100,20 @@
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon_name">edit-clear-symbolic</property>
<property name="icon_size">40</property>
</object>
</child>
</object>
<object class="GtkButton" id="settings_btn">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="focus-on-click">False</property>
<signal name="clicked" handler="backspace"/>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon_name">applications-system-symbolic</property>
<property name="icon_size">40</property>
</object>
</child>
</object>

View File

@ -17,9 +17,7 @@ button {
border-width: 2px;
padding: 16px 36px;
}
.keypad button {
padding: 16px 16px;
}
label {
font-weight: bold;
}
@ -32,3 +30,10 @@ button:active {
button:active label {
color: black;
}
hdykeypad > button {
font-size: 20px;
font-weight: bold;
padding: 10px;
}