mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 10:19:23 +02:00
win32: adjust size of pages after assigning an imagelist to a pagecontrol (bug #0015516)
git-svn-id: trunk@23602 -
This commit is contained in:
parent
3dd19fc92b
commit
19471a58d8
@ -662,6 +662,9 @@ begin
|
||||
SendMessage(ANoteBook.Handle, TCM_SETIMAGELIST, 0, AImageList.Reference._Handle)
|
||||
else
|
||||
SendMessage(ANoteBook.Handle, TCM_SETIMAGELIST, 0, 0);
|
||||
// if you set big images like 32x32 then tabs will be big too => you need to
|
||||
// readjust the size of pages
|
||||
AdjustSizeNotebookPages(ANotebook);
|
||||
end;
|
||||
|
||||
class procedure TWin32WSCustomNotebook.SetPageIndex(const ANotebook: TCustomNotebook; const AIndex: integer);
|
||||
|
Loading…
Reference in New Issue
Block a user