Text/Labels should not be shrunk.

SVN revision: 34240
This commit is contained in:
titan 2008-04-10 20:40:50 +00:00 committed by titan
parent 0e8deec487
commit 579fc529c3
1 changed files with 0 additions and 4 deletions

View File

@ -109,8 +109,6 @@ add_label(Ewl_Widget *c, char *lbl)
if(lbl) ewl_label_text_set(EWL_LABEL(label), _(lbl));
ewl_object_alignment_set(EWL_OBJECT(label),
EWL_FLAG_ALIGN_CENTER);
ewl_object_fill_policy_set(EWL_OBJECT(label),
EWL_FLAG_FILL_SHRINK);
if(c) ewl_container_child_append(EWL_CONTAINER(c), label);
ewl_widget_show(label);
@ -175,8 +173,6 @@ add_text(Ewl_Widget *c, char *txt)
if(txt) ewl_text_text_set(EWL_TEXT(text), _(txt));
ewl_object_alignment_set(EWL_OBJECT(text),
EWL_FLAG_ALIGN_CENTER);
ewl_object_fill_policy_set(EWL_OBJECT(text),
EWL_FLAG_FILL_SHRINK);
if(c) ewl_container_child_append(EWL_CONTAINER(c), text);
ewl_widget_show(text);