mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 01:59:34 +02:00
Merged revision(s) 59081 #0d01822dfb from trunk:
IDE: Add package name to hints for component palette icons. ........ git-svn-id: branches/fixes_2_0@59099 -
This commit is contained in:
parent
51abe9c120
commit
4d2a63f942
@ -443,7 +443,9 @@ begin
|
||||
Pal.fComponentButtons[CompCN] := Btn;
|
||||
Btn.Name := CompPaletteCompBtnPrefix + aButtonUniqueName + CompCN;
|
||||
// Left and Top will be set in ReAlignButtons.
|
||||
Btn.SetBounds(Btn.Left,Btn.Top,aScrollBox.Scale96ToForm(ComponentPaletteBtnWidth),aScrollBox.Scale96ToForm(ComponentPaletteBtnHeight));
|
||||
Btn.SetBounds(Btn.Left, Btn.Top,
|
||||
aScrollBox.Scale96ToForm(ComponentPaletteBtnWidth),
|
||||
aScrollBox.Scale96ToForm(ComponentPaletteBtnHeight));
|
||||
Btn.Images := aComp.Images;
|
||||
Btn.ImageIndex := aComp.ImageIndex;
|
||||
Btn.GroupIndex := 1;
|
||||
@ -453,7 +455,8 @@ begin
|
||||
Btn.OnDblClick := @Pal.ComponentBtnDblClick;
|
||||
Btn.OnMouseWheel := @Pal.OnPageMouseWheel;
|
||||
Btn.ShowHint := EnvironmentOptions.ShowHintsForComponentPalette;
|
||||
Btn.Hint := CompCN + sLineBreak + '(' + aComp.ComponentClass.UnitName + ')';
|
||||
Btn.Hint := CompCN + sLineBreak +
|
||||
'(' + aComp.ComponentClass.UnitName+', '+aComp.PkgFile.LazPackage.Name + ')';
|
||||
Btn.PopupMenu:=Pal.PopupMenu;
|
||||
{$IFDEF VerboseComponentPalette}
|
||||
if aComp.RealPage.PageName = CompPalVerbPgName then
|
||||
|
Loading…
Reference in New Issue
Block a user