Make the entry a bit bigger
This commit is contained in:
parent
d01a5cdf95
commit
5cc6ee3235
@ -11,7 +11,7 @@ class AddressItem(gtk.ToolItem):
|
|||||||
gtk.ToolItem.__init__(self)
|
gtk.ToolItem.__init__(self)
|
||||||
|
|
||||||
entry = gtk.Entry()
|
entry = gtk.Entry()
|
||||||
width = int(gtk.gdk.screen_width() / 2)
|
width = int(gtk.gdk.screen_width() / 3 * 2)
|
||||||
entry.set_size_request(width, -1)
|
entry.set_size_request(width, -1)
|
||||||
entry.connect("activate", self.__activate_cb)
|
entry.connect("activate", self.__activate_cb)
|
||||||
self.add(entry)
|
self.add(entry)
|
||||||
|
Loading…
Reference in New Issue
Block a user