diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2010-04-15 18:59:03 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2010-04-15 18:59:03 +0200 |
commit | 1146230b1ef814a53587242782132d236b7d8927 (patch) | |
tree | bbf739e26e9c67f1f62157b4572ca2a2efe8edfd /src/gui | |
parent | b9bd131f2fa0f46f3c86a4acb7d2e354a0eebe18 (diff) | |
download | fpGUI-1146230b1ef814a53587242782132d236b7d8927.tar.xz |
FilenameEdit: Fixed image alignment on button.
It is now painted true center of button.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/fpg_editbtn.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/fpg_editbtn.pas b/src/gui/fpg_editbtn.pas index 70926c67..082dc59e 100644 --- a/src/gui/fpg_editbtn.pas +++ b/src/gui/fpg_editbtn.pas @@ -94,8 +94,9 @@ begin Name := 'FButton'; Text := ''; FontDesc := '#Label1'; - ImageMargin := 1; + ImageMargin := -1; ImageName := 'stdimg.folderopen'; + ImageSpacing := 0; TabOrder := 1; OnClick := @btnClick; end; |