Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - BUG: Report control / markup alignment
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

BUG: Report control / markup alignment

 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: BUG: Report control / markup alignment
    Posted: 13 August 2008 at 8:42am
The alignment for the markup in the report control items is screwed up. To have the Rectangle centered I had to increase the margin on the right and bottom.

Without any margin there is a margin of 1 pixel at the top and no margin at the bottom.

<Rectangle Fill='#800000'/>





With 1px margin at the top it adds up to 2 pixels at the top, but with 3px at the bottom I also only get 2 pixels.

<Border Margin='1,1,3,3'>
   <Rectangle Fill='#800000'/>
</Border>





Codejock support
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 13 August 2008 at 5:56pm
This has been bugging me too! In the end I gave up and implemented my own drawing function :P
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: 13 August 2008 at 6:17pm
Originally posted by znakeeye znakeeye wrote:

This has been bugging me too! In the end I gave up and implemented my own drawing function :P


That's what I just did.

Codejock support
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: 14 August 2008 at 12:24pm
Can you reproduce it? Is this going to be fixed?

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.047 seconds.