[recipes] Avoid a sizing problem in cooking mode
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Avoid a sizing problem in cooking mode
- Date: Tue, 14 Feb 2017 02:10:51 +0000 (UTC)
commit f6b29c8d7a62ba144f77b0c3e719617466834b66
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Feb 13 21:06:30 2017 -0500
Avoid a sizing problem in cooking mode
Put the page contents into a scrolled window so they can
shrink when required.
src/gr-cooking-page.ui | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/src/gr-cooking-page.ui b/src/gr-cooking-page.ui
index 9bcde78..262d3e7 100644
--- a/src/gr-cooking-page.ui
+++ b/src/gr-cooking-page.ui
@@ -245,13 +245,18 @@ the right mouse button.</property>
</object>
</child>
<child>
- <object class="GtkEventBox" id="event_box">
+ <object class="GtkScrolledWindow">
<property name="visible">1</property>
- <property name="can-focus">1</property>
- <signal name="motion-notify-event" handler="motion_notify"/>
<child>
- <object class="GrCookingView" id="cooking_view">
- <property name="wide">1</property>
+ <object class="GtkEventBox" id="event_box">
+ <property name="visible">1</property>
+ <property name="can-focus">1</property>
+ <signal name="motion-notify-event" handler="motion_notify"/>
+ <child>
+ <object class="GrCookingView" id="cooking_view">
+ <property name="wide">1</property>
+ </object>
+ </child>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]