X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Web%2FSystem.Web.UI.WebControls%2FPanel.cs;h=444d8ac67da3d5813b73b95ad956c843ed2afc45;hb=171a7610c5bc2cdcc00eba30210d8e3ff3dcdc1d;hp=7d83c647465bcbe3e4cd498e41ca84e0f1eeb793;hpb=0fc9b50a1af3008abf655f3ee2a3364ed1fb187c;p=mono.git diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/Panel.cs b/mcs/class/System.Web/System.Web.UI.WebControls/Panel.cs index 7d83c647465..444d8ac67da 100644 --- a/mcs/class/System.Web/System.Web.UI.WebControls/Panel.cs +++ b/mcs/class/System.Web/System.Web.UI.WebControls/Panel.cs @@ -94,7 +94,7 @@ namespace System.Web.UI.WebControls { writer.AddAttribute(HtmlTextWriterAttribute.Align, TypeDescriptor.GetConverter(typeof(HorizontalAlign)).ConvertToString(HorizontalAlign)); } - if(Wrap) + if(!Wrap) { writer.AddAttribute(HtmlTextWriterAttribute.Nowrap, "nowrap"); }