Readjust margins on website search button

This commit is contained in:
Mathieu Comandon 2019-03-21 00:10:58 -07:00
parent e6a1c0b249
commit 6fd5ce7106
2 changed files with 4 additions and 6 deletions

View file

@ -122,8 +122,8 @@ class LutrisWindow(Gtk.ApplicationWindow):
# Add additional widgets
lutris_icon = Gtk.Image.new_from_icon_name("lutris", Gtk.IconSize.MENU)
lutris_icon.set_margin_right(10)
lutris_icon.set_margin_left(10)
lutris_icon.set_margin_right(6)
lutris_icon.set_margin_left(6)
self.website_search_toggle.set_image(lutris_icon)
self.website_search_toggle.set_tooltip_text("Search on Lutris.net")
self.sidebar_listbox = SidebarListBox()

View file

@ -621,10 +621,7 @@
<property name="can_focus">True</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="margin_left">5</property>
<property name="margin_right">5</property>
<property name="margin_top">5</property>
<property name="margin_bottom">5</property>
<property name="margin">5</property>
<property name="width_chars">50</property>
<property name="placeholder_text" translatable="yes">Filter the list of games</property>
<signal name="search-changed" handler="on_search_entry_changed" swapped="no"/>
@ -641,6 +638,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="always_show_image">True</property>
<property name="margin">4</property>
<signal name="toggled" handler="on_website_search_toggle_toggled" swapped="no"/>
</object>
<packing>