View Issue Details

IDProjectCategoryView StatusLast Update
0002086JEDI VCL00 JVCL Componentspublic2004-08-26 07:02
ReporterborzovAssigned ToAHUser 
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0002086: bad alignment in TJvDBStatusLabel
DescriptionAfter fixing the bug 0002004 I see new bug in tJvDBStatusLabel related to property Alignment (see Images).
TagsNo tags attached.

Activities

2004-08-23 06:16

 

image.gif (9,662 bytes)
image.gif (9,662 bytes)

AHUser

2004-08-23 15:27

developer   ~0005070

And which is the old and which the new one?

borzov

2004-08-23 23:45

reporter   ~0005074

It is new one. This error has appeared right after corrections of an old bug 0002004.

AHUser

2004-08-24 02:58

developer   ~0005077

You have two screenshots in your picture. And which one of these two screenshots it the new and which is the old.
And how should the control behave?

"bad alignment" is a little to common as a bug description. Means I do not see the problem (maybe I'm blind)

borzov

2004-08-24 04:26

reporter   ~0005079

Both screenshots concern the new version of the component. The list of properties shows that the left and right screenshots differ from each other only by the Alignment property . Both have Autosize = true (by default). Thus, both images, irrespective of Alignment, should be completely identical. That is - there should be no space on the right of the specified components. The problem with Autosize persists, and change of the Alignment property shows it.

borzov

2004-08-24 05:07

reporter   ~0005080

I have checked up the work of the Autosize property of another component-TjvLabel and have seen that it works incorrectly. It is obvious that the problem is not in the Alignment property, because the problem appears when changing the Autosize property. When throwing new component TjvLabel on the form its width will be incorrect at once (the width must be equal to the width of text, but it is not). The component also does not react to the change of its size manually when Autosize = true (its dimensions must return to those which fit label text, but they don't - the component doesn't change its dimensions).

AHUser

2004-08-24 11:18

developer   ~0005084

Ok. I have fixed the AutoSize bug now. I had introduced it because I had overlooked the DT_CALCRECT in the DrawText function call. Now AutoSize works.

Can you confirm that the new bug is now gone?

borzov

2004-08-26 04:37

reporter   ~0005098

Yes, it is so. The new bug is now gone.

AHUser

2004-08-26 07:02

developer   ~0005101

Fixed.

Issue History

Date Modified Username Field Change
2004-08-23 06:16 borzov New Issue
2004-08-23 06:16 borzov File Added: image.gif
2004-08-23 15:27 AHUser Note Added: 0005070
2004-08-23 15:28 AHUser Status new => feedback
2004-08-23 23:45 borzov Note Added: 0005074
2004-08-24 02:58 AHUser Note Added: 0005077
2004-08-24 04:26 borzov Note Added: 0005079
2004-08-24 05:07 borzov Note Added: 0005080
2004-08-24 11:18 AHUser Note Added: 0005084
2004-08-26 04:37 borzov Note Added: 0005098
2004-08-26 07:02 AHUser Status feedback => resolved
2004-08-26 07:02 AHUser Resolution open => fixed
2004-08-26 07:02 AHUser Assigned To => AHUser
2004-08-26 07:02 AHUser Note Added: 0005101