View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003153 | JEDI VCL | 00 JVCL Components | public | 2005-08-16 15:05 | 2005-08-17 01:45 |
Reporter | rickwhisper2 | Assigned To | obones | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.00 | ||||
Target Version | Fixed in Version | 3.10 | |||
Summary | 0003153: TJvBalloonHint | ||||
Description | If the hint text is wider than the screen width, the anchor position of the ballon message is bad. For example: set the DefaultBalloonPosition to bpLeftUp, and activate the hint on a TTreeView that is on the right area of the screen. Use a hint that would cause the CalcHintRect computation to result in text width rect that exceeds the screen width. The balloon hint will not align to the left edge of the screen, but rather will align the left edge to about the position that is half the width of the TTreeView panel, and extend off the right edge of the screen. By changing the following line of code at line 1264... From: Rect := FHint.CalcHintRect(Screen.Width, RHint, @FData); To: Rect := FHint.CalcHintRect(Screen.Width div 2, RHint, @FData); This will correct the problem, but might not be the best solution. It would be nice on high res screens to be able to specify the max width of the hint since I personally like the way the above turned out rather than if it had stretched the whole width of the screen. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2005-08-16 15:05 | rickwhisper2 | New Issue | |
2005-08-17 01:44 | obones | Status | new => resolved |
2005-08-17 01:44 | obones | Resolution | open => fixed |
2005-08-17 01:44 | obones | Assigned To | => obones |
2005-08-17 01:44 | obones | Note Added: 0007805 |