WebGroupBox.TitleAlignment problem

Not Answered This post has 0 verified answers | 4 Replies | 3 Followers Thread's RSS feed.

MartinvdGraaff
Points 165
Replied On: Thu, Apr 22 2010 4:37 AM Reply

Hello,

When I use a WebGroupBox and set the TitleAlignment property to Center, the title (Text property) gets centered in design mode, but when running the application the title is LEFT aligned.

I am not setting the property in code. Does anyone have the same problem?

Thanks,

Martin

 

 

  • Post Points: 35

All Replies

hellowahab
Points 242
Replied On: Thu, Apr 22 2010 5:19 AM Reply

This seems like occuring in IE8.  Checkout firefox it worked fine.

  • Post Points: 20
rshouse
Points 145
Replied On: Tue, Mar 20 2012 8:07 AM Reply

When will this get fixed for IE?

  • Post Points: 20
Replied On: Wed, Apr 25 2012 5:11 PM Reply

Hi,

The WebGroupBox uses the <fieldset> element. The only option which allows to customize horizontal alignment of title (which is <legend> object) is align. If browser fails to generate expected layout for that element, then WebGroupBox is not able to get around that.

From my tests, I found that only 2 browsers do not support align=center: IE8 and Opera.

Regards, Viktor Infragistics web team

  • Post Points: 5
Replied On: Wed, Apr 25 2012 5:18 PM Reply

I forgot to attach html which can be used to verify <legend> bug in IE8.

<fieldset style="width:300px;height:100px;">
  <legend align="center">
   Title
  </legend>
</fieldset>

Regards, Viktor Infragistics web team

  • Post Points: 5
Page 1 of 1 (5 items) | RSS