diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2010-02-22 23:37:09 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2010-02-22 23:37:09 +0200 |
commit | 3055ece98db7f8e38d0a88508a1698f4a7813470 (patch) | |
tree | 1b98591e02356a08558562c4cf97b31529691adb | |
parent | c61d71cc4c63a7a601640f48ee264923e8100639 (diff) | |
download | fpGUI-3055ece98db7f8e38d0a88508a1698f4a7813470.tar.xz |
Repositioned OK button of Strings property editor dialog.
Adhere to UI standards.
-rw-r--r-- | uidesigner/vfdeditors.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uidesigner/vfdeditors.pas b/uidesigner/vfdeditors.pas index 9e65245f..39bf8167 100644 --- a/uidesigner/vfdeditors.pas +++ b/uidesigner/vfdeditors.pas @@ -73,8 +73,8 @@ begin btnClear := CreateButton(self, 8, 200, 80, 'Clear', @btnClearClicked); btnClear.Anchors := [anLeft, anBottom]; - btnOK := CreateButton(self, btnClear.Right + 4, 200, 80, 'OK', @OnButtonClick); - btnOK.Anchors := [anLeft, anBottom]; + btnOK := CreateButton(self, Width-168, 200, 80, 'OK', @OnButtonClick); + btnOK.Anchors := [anRight, anBottom]; btnCancel := CreateButton(self, Width-84, 200, 80, 'Cancel', @OnButtonClick); btnCancel.Anchors := [anRight, anBottom]; |