View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002086 | JEDI VCL | 00 JVCL Components | public | 2004-08-23 06:16 | 2004-08-26 07:02 |
Reporter | borzov | Assigned To | AHUser | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0002086: bad alignment in TJvDBStatusLabel | ||||
Description | After fixing the bug 0002004 I see new bug in tJvDBStatusLabel related to property Alignment (see Images). | ||||
Tags | No tags attached. | ||||
2004-08-23 06:16
|
|
|
And which is the old and which the new one? |
|
It is new one. This error has appeared right after corrections of an old bug 0002004. |
|
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) |
|
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. |
|
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). |
|
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? |
|
Yes, it is so. The new bug is now gone. |
|
Fixed. |
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 |