Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - FontQuality bug
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

FontQuality bug

 Post Reply Post Reply
Author
Message
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Topic: FontQuality bug
    Posted: 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 11 August 2008 at 2:15am
Thanks, fixed.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 11 August 2008 at 8:23am
Hi,
Yes, its our extension.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 11 August 2008 at 8:53am
Originally posted by oleg oleg wrote:

Hi,
Yes, its our extension.


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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.219 seconds.