From 74486960748debef3fc57159acf490e730d70e45 Mon Sep 17 00:00:00 2001 From: mattias Date: Sat, 18 Feb 2012 14:28:18 +0000 Subject: [PATCH] IDE: anchor editor: extended hints with notes about borderspacing git-svn-id: trunk@35447 - --- designer/anchoreditor.pas | 16 ++++++++-------- ide/lazarusidestrconsts.pas | 16 ++++++++++------ 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/designer/anchoreditor.pas b/designer/anchoreditor.pas index bd83de8050..e26a3b85cb 100644 --- a/designer/anchoreditor.pas +++ b/designer/anchoreditor.pas @@ -200,9 +200,9 @@ begin BottomAnchoredCheckBox.Hint:=Format(AnchorEnabledHint,['akBottom']); BottomBorderSpaceSpinEdit.Hint:=lisBottomBorderSpaceSpinEditHint; BottomGroupBox.Caption:=lisBottomGroupBoxCaption; - BottomRefBottomSpeedButton.Hint:=lisAnchorToBottomSideKeepBorderSpace; + BottomRefBottomSpeedButton.Hint:=lisAnchorBottomToBottomSide; BottomRefCenterSpeedButton.Hint:=lisCenterControlVerticallyRelativeToSibling; - BottomRefTopSpeedButton.Hint:=lisAnchorToTopSideKeepBorderSpace; + BottomRefTopSpeedButton.Hint:=lisAnchorBottomToTopSide; BottomSiblingComboBox.Hint:=lisBottomSiblingComboBoxHint; BottomSiblingLabel.Caption:=lisSibling; @@ -211,8 +211,8 @@ begin LeftBorderSpaceSpinEdit.Hint:=lisLeftBorderSpaceSpinEditHint; LeftGroupBox.Caption:=lisLeftGroupBoxCaption; LeftRefCenterSpeedButton.Hint:=lisCenterControlHorizontallyRelativeToSibling; - LeftRefLeftSpeedButton.Hint:=lisAnchorToLeftSideKeepBorderSpace; - LeftRefRightSpeedButton.Hint:=lisAnchorToRightSideKeepBorderSpace; + LeftRefLeftSpeedButton.Hint:=lisAnchorLeftToLeftSide; + LeftRefRightSpeedButton.Hint:=lisAnchorLeftToRightSide; LeftSiblingComboBox.Hint:=lisLeftSiblingComboBoxHint; LeftSiblingLabel.Caption:=lisSibling; @@ -221,8 +221,8 @@ begin RightBorderSpaceSpinEdit.Hint:=lisRightBorderSpaceSpinEditHint; RightGroupBox.Caption:=lisRightAnchoring; RightRefCenterSpeedButton.Hint:=lisCenterControlHorizontallyRelativeToSibling; - RightRefLeftSpeedButton.Hint:=lisAnchorToLeftSideKeepBorderSpace; - RightRefRightSpeedButton.Hint:=lisAnchorToRightSideKeepBorderSpace; + RightRefLeftSpeedButton.Hint:=lisAnchorRightToLeftSide; + RightRefRightSpeedButton.Hint:=lisAnchorRightToRightSide; RightSiblingComboBox.Hint:=lisRightSiblingComboBoxHint; RightSiblingLabel.Caption:=lisSibling; @@ -230,9 +230,9 @@ begin TopAnchoredCheckBox.Hint:=Format(AnchorEnabledHint,['akTop']); TopBorderSpaceSpinEdit.Hint:=lisTopBorderSpaceSpinEditHint; TopGroupBox.Caption:=lisTopAnchoring; - TopRefBottomSpeedButton.Hint:=lisAnchorToBottomSideKeepBorderSpace; + TopRefBottomSpeedButton.Hint:=lisAnchorTopToBottomSide; TopRefCenterSpeedButton.Hint:=lisCenterControlVerticallyRelativeToSibling; - TopRefTopSpeedButton.Hint:= lisAnchorToTopSideKeepBorderSpace; + TopRefTopSpeedButton.Hint:= lisAnchorTopToTopSide; TopSiblingComboBox.Hint:=lisTopSiblingComboBoxHint; TopSiblingLabel.Caption:=lisSibling; diff --git a/ide/lazarusidestrconsts.pas b/ide/lazarusidestrconsts.pas index 8090bac486..787e6dc74b 100644 --- a/ide/lazarusidestrconsts.pas +++ b/ide/lazarusidestrconsts.pas @@ -4505,12 +4505,16 @@ resourcestring lisBottomBorderSpaceSpinEditHint = 'Bottom borderspace. This value is added to base borderspace and used for the space below the control.'; lisLeftBorderSpaceSpinEditHint = 'Left borderspace. This value is added to base borderspace and used for the space left to the control.'; lisRightBorderSpaceSpinEditHint = 'Right borderspace. This value is added to base borderspace and used for the space right to the control.'; - lisCenterControlVerticallyRelativeToSibling = 'Center control vertically relative to the given sibling'; - lisCenterControlHorizontallyRelativeToSibling = 'Center control horizontally relative to the given sibling'; - lisAnchorToTopSideKeepBorderSpace = 'Anchor to top side of sibling, keep border space'; - lisAnchorToBottomSideKeepBorderSpace = 'Anchor to bottom side of sibling, keep border space'; - lisAnchorToLeftSideKeepBorderSpace = 'Anchor to left side of sibling, keep border space'; - lisAnchorToRightSideKeepBorderSpace = 'Anchor to right side of sibling, keep border space'; + lisCenterControlVerticallyRelativeToSibling = 'Center control vertically relative to the given sibling. BorderSpacing is ignored.'; + lisCenterControlHorizontallyRelativeToSibling = 'Center control horizontally relative to the given sibling. BorderSpacing is ignored.'; + lisAnchorBottomToTopSide = 'Anchor bottom side to top side of sibling. The kept distance is defined by both BorderSpacing properties of this and sibling.'; + lisAnchorBottomToBottomSide = 'Anchor bottom side to bottom side of sibling. Use BorderSpacing to set a distance. BorderSpacing of sibling is ignored.'; + lisAnchorTopToTopSide = 'Anchor top side to top side of sibling. Use BorderSpacing to set a distance. BorderSpacing of sibling is ignored.'; + lisAnchorTopToBottomSide = 'Anchor top side to bottom side of sibling. The kept distance is defined by both BorderSpacing properties of this and sibling.'; + lisAnchorLeftToLeftSide = 'Anchor left side to left side of sibling. Use BorderSpacing to set a distance. BorderSpacing of sibling is ignored.'; + lisAnchorLeftToRightSide = 'Anchor left side to right side of sibling. The kept distance is defined by both BorderSpacing properties of this and sibling.'; + lisAnchorRightToLeftSide = 'Anchor right side to left side of sibling. The kept distance is defined by both BorderSpacing properties of this and sibling.'; + lisAnchorRightToRightSide = 'Anchor right side to right side of sibling. Use BorderSpacing to set a distance. BorderSpacing of sibling is ignored.'; lisTopSiblingComboBoxHint = 'This is the sibling control to which the top side is anchored. Leave empty for parent.'; lisBottomSiblingComboBoxHint = 'This is the sibling control to which the bottom side is anchored. Leave empty for parent.'; lisRightSiblingComboBoxHint = 'This is the sibling control to which the right side is anchored. Leave empty for parent.';