View Issue Details

IDProjectCategoryView StatusLast Update
0004030JEDI VCL00 JVCL Componentspublic2007-10-12 03:58
Reporterivan_raAssigned Toobones 
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionnot fixable 
Product VersionDaily / GIT 
Target VersionFixed in Version 
Summary0004030: TJvTabControl with TJvTabDefaultPainter: wrong tab size or font
DescriptionTJvTabControl with TJvTabDefaultPainter as TabPainter can't properly handle font size change.
When JvTabControl.Font.Size changes, its tabs becomes smaller or ladger, but size of tabs font is constant, so labels cant fit into tabs.
Additional InformationTo solve problem I suggest always use JvTabControl.Font.Size in TJvTabDefaultPainter.DrawTab method - so DisabledFont, ActiveFont and InactiveFont will draw with same size

Another way is to change tab sizes to fit labels with custom fonts, but I'm think its not so easy
TagsNo tags attached.

Activities

obones

2007-06-19 04:51

administrator   ~0013413

Can you test both solutions and come up with an acceptable patch?

obones

2007-10-12 03:58

administrator   ~0013891

No answer, no patch as requested

Issue History

Date Modified Username Field Change
2007-01-04 01:43 ivan_ra New Issue
2007-06-19 04:51 obones Note Added: 0013413
2007-06-19 04:51 obones Status new => feedback
2007-10-12 03:58 obones Status feedback => resolved
2007-10-12 03:58 obones Resolution open => not fixable
2007-10-12 03:58 obones Assigned To => obones
2007-10-12 03:58 obones Note Added: 0013891