norgepaul / TChromeTabs

Comprehensive Delphi implementation of Chrome's tab system
Other
218 stars 78 forks source link

Tab widths set by content not working #36

Closed Andyk123 closed 8 years ago

Andyk123 commented 8 years ago

Tabs with images overwrite the tab text.

Problem is in TChromeTabControl.CalculateRects, I have fixed the problem by effectively commenting out the following code.....

if {LeftOffset + ImageWidth > RightOffset} false then begin NormalImageVisible := FALSE; OverlayImageVisible := FALSE; SpinnerVisible := FALSE; end

norgepaul commented 8 years ago

Fixed