- set margins to 0 for qt 4.2

git-svn-id: trunk@11466 -
This commit is contained in:
paul 2007-07-12 06:24:34 +00:00
parent e720286a68
commit e238453328

View File

@ -2238,6 +2238,9 @@ begin
{$ifdef USE_QT_4_3}
QBoxLayout_setSpacing(LayoutWidget, 0);
QLayout_setContentsMargins(LayoutWidget, 0, 0, 0, 0);
{$else}
QLayout_setSpacing(LayoutWidget, 0);
QLayout_setMargin(LayoutWidget, 0);
{$endif}
QLayout_setMenuBar(LayoutWidget, MenuBar.Widget);