Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006601 [JEDI VCL] 00 JVCL Components minor always 2017-10-25 20:39 2017-10-27 08:44
Reporter tetardd View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version Daily / GIT
Summary 0006601: TJvArrowButton - Glyph and caption not properly drawn when using Margin
Description If you specify a margin > 0 in the properties (note: not the VCL Margins, the controls margin property) with a glyph and caption (button layout = glyph left and vert. align = centre), the glyph and caption are not well centered vertically.
Additional Information Add TJvArrowButton, set height to 45 pixels
Set glyph to a 32 x 32 bitmap
Set a caption
Set margins to 10
Set layout to glyph left
Set vertical alignment to center

The glyph and text are clearly drawn too high.
Tags No tags attached.
Attached Files zip file icon Debug JvArrowButton.zip [^] (83,731 bytes) 2017-10-27 08:42
? file icon JvArrowButton.pas [^] (46,223 bytes) 2017-10-27 08:43

- Relationships

-  Notes
(0021438)
tetardd (reporter)
2017-10-27 08:44

Attached is a test program to show the problem and my attempt at solving it. By the way, it also includes the changes proposed in issue 6600.

- Issue History
Date Modified Username Field Change
2017-10-25 20:39 tetardd New Issue
2017-10-27 08:42 tetardd File Added: Debug JvArrowButton.zip
2017-10-27 08:43 tetardd File Added: JvArrowButton.pas
2017-10-27 08:44 tetardd Note Added: 0021438


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker