mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-02-19 19:56:56 +01:00
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:
parent
0e6f105e48
commit
cecd2455c2
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user