Qt: Fix for disabled tabbar scrollbuttons under mac, now it's enabled as default option (as in linux & win32)

git-svn-id: trunk@12276 -
This commit is contained in:
zeljko 2007-10-01 15:06:32 +00:00
parent 0e6f105e48
commit cecd2455c2

View File

@ -4543,6 +4543,13 @@ begin
WriteLn('TQtTabWidget.Create');
{$endif}
Result := QTabWidget_create();
{note: for some reason tabbar scroll buttons are not enabled as default option
under mac - but under linux & win are. Qt docs says that this options is enabled
as default ... possible qt bug}
{$ifdef darwin}
QTabWidget_setUsesScrollButtons(QTabWidgetH(Result), True);
{$endif}
end;
procedure TQtTabWidget.AttachEvents;