Improved legibility of the label parameters test.

This commit is contained in:
Tristan Van Berkom 2010-04-20 22:02:48 -04:00
parent 7db18bb726
commit 504ec365a7

View File

@ -440,7 +440,7 @@ TestInterface interfaces[] = {
" <child>"
" <object class=\"GtkLabel\" id=\"label1\">"
" <property name=\"visible\">True</property>"
" <property name=\"label\" translatable=\"yes\">These first 2 labels explicitly require only 10 charachters in width.</property>"
" <property name=\"label\" translatable=\"yes\">The first 2 labels require 10 charachters.</property>"
" <property name=\"wrap\">True</property>"
" <property name=\"width_chars\">10</property>"
" <attributes>"
@ -457,7 +457,7 @@ TestInterface interfaces[] = {
" <child>"
" <object class=\"GtkLabel\" id=\"label2\">"
" <property name=\"visible\">True</property>"
" <property name=\"label\" translatable=\"yes\">This label has a maximum natural width of 20 charachters. Otherwise it would unwrap much further.</property>"
" <property name=\"label\" translatable=\"yes\">This label has a maximum natural width of 20 charachters. The second two labels expand.</property>"
" <property name=\"wrap\">True</property>"
" <property name=\"width_chars\">10</property>"
" <property name=\"max_width_chars\">20</property>"
@ -467,15 +467,15 @@ TestInterface interfaces[] = {
" </attributes>"
" </object>"
" <packing>"
" <property name=\"expand\">False</property>"
" <property name=\"fill\">False</property>"
" <property name=\"expand\">True</property>"
" <property name=\"fill\">True</property>"
" <property name=\"position\">1</property>"
" </packing>"
" </child>"
" <child>"
" <object class=\"GtkLabel\" id=\"label3\">"
" <property name=\"visible\">True</property>"
" <property name=\"label\" translatable=\"yes\">This label is set to expand and requires a default minimum size.</property>"
" <property name=\"label\" translatable=\"yes\">This label requires a default minimum size.</property>"
" <property name=\"wrap\">True</property>"
" <attributes>"
" <attribute name=\"weight\" value=\"bold\"/>"