diff options
-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]; |