From 3055ece98db7f8e38d0a88508a1698f4a7813470 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Mon, 22 Feb 2010 23:37:09 +0200 Subject: Repositioned OK button of Strings property editor dialog. Adhere to UI standards. --- uidesigner/vfdeditors.pas | 4 ++-- 1 file 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]; -- cgit v1.2.3-70-g09d2