From e352c0638b62a8d2bcba401069ce640110f55c40 Mon Sep 17 00:00:00 2001 From: juha Date: Thu, 2 Jul 2015 18:50:21 +0000 Subject: [PATCH] IDE: Minor layout changes in EditorToolbar options frame. git-svn-id: trunk@49484 - --- ide/frames/editortoolbar_options.lfm | 20 ++++++++++---------- ide/frames/editortoolbar_options.pas | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ide/frames/editortoolbar_options.lfm b/ide/frames/editortoolbar_options.lfm index 73d586f486..997300c3b0 100644 --- a/ide/frames/editortoolbar_options.lfm +++ b/ide/frames/editortoolbar_options.lfm @@ -63,29 +63,29 @@ object EditorToolbarOptionsFrame: TEditorToolbarOptionsFrame AnchorSideBottom.Side = asrBottom Left = 6 Height = 29 - Top = 66 + Top = 70 Width = 69 - Anchors = [akLeft] AutoSize = True - BorderSpacing.Top = 6 + BorderSpacing.Top = 14 Caption = 'Configure' OnClick = bConfigClick TabOrder = 2 end object bDefaultToolbar: TBitBtn - AnchorSideLeft.Control = bConfig + AnchorSideLeft.Side = asrBottom AnchorSideTop.Control = bConfig - AnchorSideTop.Side = asrBottom - AnchorSideRight.Control = pnTop + AnchorSideTop.Side = asrCenter + AnchorSideRight.Control = cbPos AnchorSideRight.Side = asrBottom AnchorSideBottom.Side = asrBottom - Left = 6 + Left = 379 Height = 29 - Top = 101 - Width = 56 + Top = 70 + Width = 105 + Anchors = [akTop, akRight] AutoSize = True BorderSpacing.Top = 6 - Caption = 'Default' + Caption = 'Restore defaults' OnClick = bDefaultToolbarClick TabOrder = 3 end diff --git a/ide/frames/editortoolbar_options.pas b/ide/frames/editortoolbar_options.pas index ae3c9018b9..cc126b9142 100644 --- a/ide/frames/editortoolbar_options.pas +++ b/ide/frames/editortoolbar_options.pas @@ -102,7 +102,7 @@ begin dbGeneralSettings.Caption := 'Editor Toolbars Settings'; // ToDo: Will be removed ... cbCoolBarVisible.Caption := lisEditorToolbarVisible; lblpos.Caption := lisPosition; - bDefaultToolbar.Caption := lisCoolbarRestoreDefaults; + bDefaultToolbar.Caption := lisCmpRestoreDefaults; bConfig.Caption := lisCoolbarConfigure; end;