setttings button visually added along with other cosmetic changes
This commit is contained in:
parent
43c0b96405
commit
5b9a369114
15
interface.ui
15
interface.ui
|
@ -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>
|
||||
|
|
11
style.css
11
style.css
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue