Skip to content

Commit 97d256c

Browse files
committed
gmoccapy: bigger MDI enter button (with CSS)
1 parent 2bcf69a commit 97d256c

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

src/emc/usr_intf/gmoccapy/gmoccapy.glade

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1735,6 +1735,7 @@ uncomment selection</property>
17351735
</child>
17361736
<child>
17371737
<object class="EMC_MDIHistory" id="hal_mdihistory">
1738+
<property name="name">mdi_entry</property>
17381739
<property name="visible">True</property>
17391740
<property name="can-focus">False</property>
17401741
<property name="use-double-click">True</property>

src/emc/usr_intf/gmoccapy/gmoccapy.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,11 @@ def __init__(self, argv):
161161
progress, text {
162162
font-size: 13.3px;
163163
}
164-
"""
164+
#mdi_entry image.right { background: rgba(146,149,149,0.3); padding: 20px; border-radius: 3px; }
165+
#mdi_entry entry { border-width: 2px; margin-top: 3px; padding-right: 0px; }
166+
#mdi_entry entry:focus { border-width: 1px; padding-right: 1px; padding-top: 1px; padding-bottom: 1px; }
167+
"""
168+
165169
screen = Gdk.Screen.get_default()
166170
provider = Gtk.CssProvider()
167171
provider.load_from_data(css)

0 commit comments

Comments
 (0)