Author: fejj
Date: 2007-10-08 16:35:50 -0400 (Mon, 08 Oct 2007)
New Revision: 87128

Modified:
   trunk/moon/src/ChangeLog
   trunk/moon/src/text.cpp
Log:
2007-10-08  Jeffrey Stedfast  <[EMAIL PROTECTED]>

        * text.cpp (OnPropertyChanged): We may need to relayout even if
        the wrapping is set to NoWrap.



Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2007-10-08 20:34:26 UTC (rev 87127)
+++ trunk/moon/src/ChangeLog    2007-10-08 20:35:50 UTC (rev 87128)
@@ -1,3 +1,8 @@
+2007-10-08  Jeffrey Stedfast  <[EMAIL PROTECTED]>
+
+       * text.cpp (OnPropertyChanged): We may need to relayout even if
+       the wrapping is set to NoWrap.
+
 2007-10-08  Zoltan Varga  <[EMAIL PROTECTED]>
 
        * text.cpp (OnPropertyChanged): Do a relayout if the Width property

Modified: trunk/moon/src/text.cpp
===================================================================
--- trunk/moon/src/text.cpp     2007-10-08 20:34:26 UTC (rev 87127)
+++ trunk/moon/src/text.cpp     2007-10-08 20:35:50 UTC (rev 87128)
@@ -818,7 +818,7 @@
        
        if (prop->type != Type::TEXTBLOCK) {
                FrameworkElement::OnPropertyChanged (prop);
-               if ((prop == FrameworkElement::WidthProperty) && 
text_block_get_text_wrapping (this) != TextWrappingNoWrap)
+               if (prop == FrameworkElement::WidthProperty)
                        dirty = true;
                else
                        return;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to