gtk2: fix TBitBtn with Marging (#0011383)

git-svn-id: trunk@15296 -
This commit is contained in:
paul 2008-06-03 03:41:58 +00:00
parent 72096b4856
commit 3ef54218fb

View File

@ -422,7 +422,8 @@ begin
if (AInfo^.SpaceWidget = nil)
and (ALayout in [blGlyphRight, blGlyphBottom])
then begin
AInfo^.SpaceWidget := gtk_invisible_new;
// dont use gtk_invisible_new - it cannot have parent
AInfo^.SpaceWidget := gtk_image_new;
UpdateLayout(AInfo, ALayout, AMargin);
end
else begin