[initial-setup][PATCH] Put license view into a scrolled window (#1000409)

David Shea dshea at redhat.com
Thu Oct 3 15:54:23 UTC 2013


On 10/03/2013 04:49 AM, Vratislav Podzimek wrote:
> Otherwise the license view mangles the whole GUI by expanding out of it's area.
>
> Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
> ---
>   initial_setup/gui/spokes/eula.glade | 31 +++++++++++++++++++------------
>   1 file changed, 19 insertions(+), 12 deletions(-)
>
> diff --git a/initial_setup/gui/spokes/eula.glade b/initial_setup/gui/spokes/eula.glade
> index ea29652..bdc9675 100644
> --- a/initial_setup/gui/spokes/eula.glade
> +++ b/initial_setup/gui/spokes/eula.glade
> @@ -69,20 +69,27 @@
>                       <property name="vexpand">True</property>
>                       <property name="orientation">vertical</property>
>                       <child>
> -                      <object class="GtkTextView" id="eulaView">
> +                      <object class="GtkScrolledWindow" id="eulaScrolledWindow">
>                           <property name="visible">True</property>
>                           <property name="can_focus">True</property>
> -                        <property name="margin_bottom">18</property>
> -                        <property name="hexpand">True</property>
> -                        <property name="vexpand">True</property>
> -                        <property name="vscroll_policy">natural</property>
> -                        <property name="pixels_above_lines">12</property>
> -                        <property name="editable">False</property>
> -                        <property name="wrap_mode">word</property>
> -                        <property name="left_margin">12</property>
> -                        <property name="right_margin">12</property>
> -                        <property name="cursor_visible">False</property>
> -                        <property name="buffer">eulaBuffer</property>
> +                        <property name="shadow_type">in</property>
> +                        <child>
> +                          <object class="GtkTextView" id="eulaView">
> +                            <property name="visible">True</property>
> +                            <property name="can_focus">True</property>
> +                            <property name="margin_bottom">18</property>
> +                            <property name="hexpand">True</property>
> +                            <property name="vexpand">True</property>
> +                            <property name="vscroll_policy">natural</property>
> +                            <property name="pixels_above_lines">12</property>
> +                            <property name="editable">False</property>
> +                            <property name="wrap_mode">word</property>
> +                            <property name="left_margin">12</property>
> +                            <property name="right_margin">12</property>
> +                            <property name="cursor_visible">False</property>
> +                            <property name="buffer">eulaBuffer</property>
> +                          </object>
> +                        </child>
>                         </object>
>                         <packing>
>                           <property name="expand">False</property>
This looks fine, but now that you can actually get to the bottom I see 
"The license will go here" on the last line.


More information about the anaconda-patches mailing list