mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 16:49:28 +02:00
Qt5: mark viewport of TQtWindowArea as lclwidget
git-svn-id: trunk@62904 -
This commit is contained in:
parent
fc34d6ba75
commit
316304dd0a
@ -6895,6 +6895,7 @@ function TQtMainWindow.CreateWidget(const AParams: TCreateParams): QWidgetH;
|
||||
QFrame_setFrameShape(QAbstractScrollAreaH(ScrollArea.Widget), QFrameNoFrame);
|
||||
QWidget_setBackgroundRole(ScrollArea.viewportWidget, QPaletteNoRole);
|
||||
QWidget_setAutoFillBackground(ScrollArea.viewportWidget, False);
|
||||
setProperty(ScrollArea.viewportWidget, 'lclwidget', Int64(PtrUInt(Self)));
|
||||
|
||||
// we must set minimum heigth / width to 1 otherwise we'll have strange
|
||||
// effect eg. with main ide bar window (small size and cannot resize).
|
||||
|
Loading…
Reference in New Issue
Block a user