Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   Set the height request of the pickLanguageLabel (http://www.linux-archive.org/ubuntu-user/674414-set-height-request-picklanguagelabel.html)

Martin Gracik 06-19-2012 08:54 AM

Set the height request of the pickLanguageLabel
 
We need to make the label high enough for languages
that have higher characters. The font type and size
is hardcoded so it should not change.
---
pyanaconda/ui/gui/spokes/welcome.ui | 1 +
1 file changed, 1 insertion(+)

diff --git a/pyanaconda/ui/gui/spokes/welcome.ui b/pyanaconda/ui/gui/spokes/welcome.ui
index cf94ac8..25b667f 100644
--- a/pyanaconda/ui/gui/spokes/welcome.ui
+++ b/pyanaconda/ui/gui/spokes/welcome.ui
@@ -257,6 +257,7 @@ OS you can rely on. It's for testing purposes only.</property>
</child>
<child>
<object class="GtkLabel" id="pickLanguageLabel">
+ <property name="height_request">50</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">center</property>
--
1.7.9.5

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

Chris Lumens 06-19-2012 01:52 PM

Set the height request of the pickLanguageLabel
 
> diff --git a/pyanaconda/ui/gui/spokes/welcome.ui b/pyanaconda/ui/gui/spokes/welcome.ui
> index cf94ac8..25b667f 100644
> --- a/pyanaconda/ui/gui/spokes/welcome.ui
> +++ b/pyanaconda/ui/gui/spokes/welcome.ui
> @@ -257,6 +257,7 @@ OS you can rely on. It's for testing purposes only.</property>
> </child>
> <child>
> <object class="GtkLabel" id="pickLanguageLabel">
> + <property name="height_request">50</property>
> <property name="visible">True</property>
> <property name="can_focus">False</property>
> <property name="valign">center</property>

I'm not a huge fan of hard-coding sizes, but I've had to do it in a
couple targeted places. As long as we don't get out of hand with it,
ACK.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 05:51 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.