mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 22:29:25 +02:00
IDE: improved Editor Toolbar options page layout/i18n
git-svn-id: trunk@49951 -
This commit is contained in:
parent
1d7c4f7d59
commit
4fe4e35ac1
@ -21,7 +21,7 @@ object EditorToolbarOptionsFrame: TEditorToolbarOptionsFrame
|
||||
TabOrder = 0
|
||||
object dbGeneralSettings: TDividerBevel
|
||||
Left = 0
|
||||
Height = 17
|
||||
Height = 15
|
||||
Top = 5
|
||||
Width = 503
|
||||
Caption = 'Editor Toolbars Settings'
|
||||
@ -36,11 +36,10 @@ object EditorToolbarOptionsFrame: TEditorToolbarOptionsFrame
|
||||
AnchorSideLeft.Control = pnTop
|
||||
AnchorSideTop.Control = dbGeneralSettings
|
||||
AnchorSideTop.Side = asrBottom
|
||||
Left = 6
|
||||
Height = 22
|
||||
Top = 34
|
||||
Width = 119
|
||||
BorderSpacing.Left = 6
|
||||
Left = 0
|
||||
Height = 19
|
||||
Top = 32
|
||||
Width = 108
|
||||
BorderSpacing.Top = 12
|
||||
Caption = 'Toolbar is visible'
|
||||
OnClick = cbCoolBarVisibleClick
|
||||
@ -61,10 +60,10 @@ object EditorToolbarOptionsFrame: TEditorToolbarOptionsFrame
|
||||
AnchorSideTop.Control = cbCoolBarVisible
|
||||
AnchorSideTop.Side = asrBottom
|
||||
AnchorSideBottom.Side = asrBottom
|
||||
Left = 6
|
||||
Height = 29
|
||||
Top = 70
|
||||
Width = 69
|
||||
Left = 0
|
||||
Height = 25
|
||||
Top = 65
|
||||
Width = 79
|
||||
AutoSize = True
|
||||
BorderSpacing.Top = 14
|
||||
Caption = 'Configure'
|
||||
@ -78,10 +77,10 @@ object EditorToolbarOptionsFrame: TEditorToolbarOptionsFrame
|
||||
AnchorSideRight.Control = cbPos
|
||||
AnchorSideRight.Side = asrBottom
|
||||
AnchorSideBottom.Side = asrBottom
|
||||
Left = 379
|
||||
Height = 29
|
||||
Top = 70
|
||||
Width = 105
|
||||
Left = 168
|
||||
Height = 25
|
||||
Top = 65
|
||||
Width = 110
|
||||
Anchors = [akTop, akRight]
|
||||
AutoSize = True
|
||||
BorderSpacing.Top = 6
|
||||
@ -90,31 +89,31 @@ object EditorToolbarOptionsFrame: TEditorToolbarOptionsFrame
|
||||
TabOrder = 3
|
||||
end
|
||||
object lblpos: TLabel
|
||||
AnchorSideLeft.Control = cbCoolBarVisible
|
||||
AnchorSideLeft.Side = asrBottom
|
||||
AnchorSideTop.Control = cbPos
|
||||
AnchorSideTop.Control = cbCoolBarVisible
|
||||
AnchorSideTop.Side = asrCenter
|
||||
AnchorSideRight.Control = cbPos
|
||||
Left = 343
|
||||
Height = 17
|
||||
Top = 37
|
||||
Width = 35
|
||||
Anchors = [akTop, akRight]
|
||||
Left = 140
|
||||
Height = 15
|
||||
Top = 34
|
||||
Width = 32
|
||||
BorderSpacing.Left = 32
|
||||
BorderSpacing.Right = 6
|
||||
Caption = 'lblpos'
|
||||
ParentColor = False
|
||||
end
|
||||
object cbPos: TComboBox
|
||||
AnchorSideLeft.Control = lblpos
|
||||
AnchorSideLeft.Side = asrBottom
|
||||
AnchorSideTop.Control = cbCoolBarVisible
|
||||
AnchorSideTop.Control = lblpos
|
||||
AnchorSideTop.Side = asrCenter
|
||||
AnchorSideRight.Side = asrBottom
|
||||
Left = 384
|
||||
Left = 178
|
||||
Height = 23
|
||||
Top = 34
|
||||
Top = 30
|
||||
Width = 100
|
||||
Anchors = [akTop, akRight]
|
||||
BorderSpacing.Bottom = 6
|
||||
ItemHeight = 17
|
||||
ItemHeight = 15
|
||||
ItemIndex = 0
|
||||
Items.Strings = (
|
||||
'Top'
|
||||
@ -129,6 +128,6 @@ object EditorToolbarOptionsFrame: TEditorToolbarOptionsFrame
|
||||
end
|
||||
end
|
||||
object imButtons: TImageList
|
||||
left = 464
|
||||
left = 304
|
||||
end
|
||||
end
|
||||
|
@ -100,7 +100,7 @@ begin
|
||||
cbPos.Items[i] := sLocalizedPosValues[i]; // localized
|
||||
cbPos.Caption := cbPos.Items[cbPos.ItemIndex];
|
||||
|
||||
dbGeneralSettings.Caption := 'Editor Toolbars Settings'; // ToDo: Will be removed ...
|
||||
dbGeneralSettings.Caption := lisEditorToolbarSettings; // ToDo: Will be removed ...
|
||||
cbCoolBarVisible.Caption := lisEditorToolbarVisible;
|
||||
lblpos.Caption := lisPosition;
|
||||
bDefaultToolbar.Caption := lisCmpRestoreDefaults;
|
||||
|
@ -4640,7 +4640,8 @@ resourcestring
|
||||
lisEditorToolbar = 'Editor ToolBar';
|
||||
lisEditorToolbarHint = 'You may add here your favorite commands';
|
||||
lisConfigureEditorToolbar = 'Configure Toolbar';
|
||||
lisEditorToolbarVisible = 'EditorToolbar is &visible';
|
||||
lisEditorToolbarVisible = 'Editor Toolbar is &visible';
|
||||
lisEditorToolbarSettings = 'Editor Toolbar Settings';
|
||||
lisPosition = 'Position';
|
||||
|
||||
// components palette settings and list form
|
||||
|
Loading…
Reference in New Issue
Block a user