mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 16:38:02 +02:00
IDE: High-DPI: ComponentPalette: Size of component pages speedbutton.
git-svn-id: trunk@55500 -
This commit is contained in:
parent
1571e2c9a0
commit
3257287083
@ -347,9 +347,9 @@ begin
|
||||
Align := alRight;
|
||||
Caption := '';
|
||||
BevelOuter := bvNone;
|
||||
Width := OVERVIEW_PANEL_WIDTH;
|
||||
Visible := True; // EnvironmentOptions.IDESpeedButtonsVisible;
|
||||
Parent := PageComponent;
|
||||
Width := Scale96ToForm(OVERVIEW_PANEL_WIDTH);
|
||||
OnMouseWheel := @Pal.OnPageMouseWheel;
|
||||
end;
|
||||
BtnRight:=TSpeedButton.Create(PageComponent);
|
||||
@ -357,13 +357,13 @@ begin
|
||||
begin
|
||||
TIDEImages.AssignImage(Glyph, 'SelCompPage');
|
||||
Flat := True;
|
||||
SetBounds(2,1,16,16);
|
||||
Hint := lisClickToSelectPalettePage;
|
||||
ShowHint := True;
|
||||
OnMouseDown := @MainIDE.SelComponentPageButtonMouseDown;
|
||||
OnClick := @MainIDE.SelComponentPageButtonClick;
|
||||
OnMouseWheel := @Pal.OnPageMouseWheel;
|
||||
Parent := PanelRight;
|
||||
SetBounds(Scale96ToForm(2), Scale96ToForm(1), Scale96ToForm(16), Scale96ToForm(16));
|
||||
end;
|
||||
end
|
||||
else begin
|
||||
|
Loading…
Reference in New Issue
Block a user