Fix position of scrollbars

This commit is contained in:
Huluti 2017-02-04 11:15:59 +01:00
parent 6e7b4c506f
commit f6ddb0cd9a
2 changed files with 5 additions and 4 deletions

View File

@ -67,6 +67,7 @@ class ManjaroHello():
for page in self.pages:
scrolled_window = Gtk.ScrolledWindow()
viewport = Gtk.Viewport()
viewport.set_border_width(10)
label = Gtk.Label(wrap=True)
viewport.add(label)
scrolled_window.add(viewport)

View File

@ -22,16 +22,16 @@
<object class="GtkStack" id="stack">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">10</property>
<property name="margin_right">10</property>
<property name="margin_top">10</property>
<property name="margin_bottom">10</property>
<property name="hexpand">True</property>
<property name="transition_type">crossfade</property>
<child>
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">10</property>
<property name="margin_right">10</property>
<property name="margin_top">10</property>
<property name="margin_bottom">10</property>
<property name="row_spacing">20</property>
<property name="column_spacing">10</property>
<property name="column_homogeneous">True</property>