Skip to content

Commit 8afeb00

Browse files
committed
bigger MDI enter button (hacky solution)
1 parent dc46963 commit 8afeb00

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/emc/usr_intf/gmoccapy/gmoccapy.glade

+3-2
Original file line numberDiff line numberDiff line change
@@ -1738,6 +1738,7 @@
17381738
</child>
17391739
<child>
17401740
<object class="EMC_MDIHistory" id="hal_mdihistory">
1741+
<property name="name">mdi_entry</property>
17411742
<property name="visible">True</property>
17421743
<property name="can-focus">False</property>
17431744
<property name="use-double-click">True</property>
@@ -1875,7 +1876,7 @@
18751876
</child>
18761877
<child>
18771878
<object class="GtkEntry" id="search_entry">
1878-
<property name="name">with_padding</property>
1879+
<property name="name">search_entry</property>
18791880
<property name="visible">True</property>
18801881
<property name="can-focus">True</property>
18811882
<property name="valign">center</property>
@@ -1903,7 +1904,7 @@
19031904
</child>
19041905
<child>
19051906
<object class="GtkEntry" id="replace_entry">
1906-
<property name="name">with_padding</property>
1907+
<property name="name">search_entry</property>
19071908
<property name="visible">True</property>
19081909
<property name="can-focus">True</property>
19091910
<property name="valign">center</property>

src/emc/usr_intf/gmoccapy/gmoccapy.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,14 @@ def __init__(self, argv):
157157
progress, text {
158158
font-size: 13.3px;
159159
}
160-
entry {
160+
#search_entry entry {
161161
min-height: 18px;
162162
padding:1px;
163163
}
164+
#mdi_entry entry image.right {
165+
background: lightgray;
166+
padding:20px;
167+
}
164168
"""
165169
screen = Gdk.Screen.get_default()
166170
provider = Gtk.CssProvider()

0 commit comments

Comments
 (0)