mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 10:47:58 +02:00
git-svn-id: trunk@41536 -
This commit is contained in:
parent
b9f92c2008
commit
39c54740fe
@ -306,7 +306,7 @@ begin
|
||||
|
||||
{set spacing to LCL's default if bitbtn does not have glyph.issue #23255}
|
||||
if not BitBtn.CanShowGlyph then
|
||||
ASpacing := -1;
|
||||
ASpacing := 0;
|
||||
|
||||
if BitBtn.CanShowGlyph then
|
||||
begin
|
||||
@ -315,7 +315,7 @@ begin
|
||||
if BitBtn.NumGlyphs > 1 then
|
||||
srcWidth := srcWidth div BitBtn.NumGlyphs;
|
||||
if (srcWidth = 0) or (srcHeight = 0) then
|
||||
ASpacing := -1;
|
||||
ASpacing := 0;
|
||||
end else
|
||||
begin
|
||||
srcWidth := 0;
|
||||
|
Loading…
Reference in New Issue
Block a user