![]() |
FontQuality bug |
Post Reply
|
| Author | |
ABuenger
Newbie
Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
Quote Reply
Topic: FontQuality bugPosted: 08 August 2008 at 8:43pm |
|
If you modify the Buttons.xaml and add FontQuality="ClearType" to the LightBlue button it has no effect. But if you then move the LightBlue button above the Red button so that it becomes the first one all text is rendered in ClearType.
<Button Margin="2" Background="LightBlue" Cursor="Hand"> <TextBlock HorizontalAlignment="Center" FontQuality="ClearType">This is Button</TextBlock> </Button> |
|
|
Codejock support
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 August 2008 at 2:15am |
|
Thanks, fixed.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
ABuenger
Newbie
Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 August 2008 at 5:43am |
|
Btw, is FontQuality also a property of WPF? Haven't found it in the docs. Is this an XTP extension? In this case you should introduce xtp:Textblock and add it to the new element.
|
|
|
Codejock support
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 August 2008 at 8:23am |
|
Hi,
Yes, its our extension.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
ABuenger
Newbie
Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 August 2008 at 8:53am |
You shouldn't add proprietary extensions to standard elements! Either introduce xtp:Textblock or add a member to your Markup object where the font quality can be set. |
|
|
Codejock support
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |