diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-10-01 12:34:46 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-10-01 12:36:07 +0200 |
commit | e893110c3a53b1a5419ffb6dc565c67a7b66824b (patch) | |
tree | 15d450c27f4a0917a3a70ef6859b1a9a84a77aa0 /uidesigner/newformdesigner.pas | |
parent | d4de6b17ae95af88922817d84d7bd16421f2111a (diff) | |
download | fpGUI-e893110c3a53b1a5419ffb6dc565c67a7b66824b.tar.xz |
uidesigner: correctly center images in component palette buttons.
Diffstat (limited to 'uidesigner/newformdesigner.pas')
-rw-r--r-- | uidesigner/newformdesigner.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/uidesigner/newformdesigner.pas b/uidesigner/newformdesigner.pas index a9aca6b8..dd930dee 100644 --- a/uidesigner/newformdesigner.pas +++ b/uidesigner/newformdesigner.pas @@ -908,7 +908,8 @@ begin begin btn := wgPalette.Components[n] as TwgPaletteButton; btn.SetPosition(x, y, 30, 28); - + btn.ImageMargin := -1; + btn.ImageSpacing := 0; Inc(x, 32); if (x+30) >= wgpalette.Width then begin |