mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
NSFullSizeContentViewWindowMask needs a little bit more work
This commit is contained in:
parent
77028f4be1
commit
eeb99c52d1
@ -170,7 +170,10 @@ YACReaderMacOSXToolbar::YACReaderMacOSXToolbar(QObject *parent)
|
|||||||
if([nswindow respondsToSelector:@selector(setTitleVisibility:)])
|
if([nswindow respondsToSelector:@selector(setTitleVisibility:)])
|
||||||
{
|
{
|
||||||
yosemite = true;
|
yosemite = true;
|
||||||
[nswindow setTitleVisibility:1];
|
//TODO yosemite new constants are not found in compilation time
|
||||||
|
[nswindow setTitleVisibility:1]; //NSWindowTitleHidden
|
||||||
|
//TODO NSFullSizeContentViewWindowMask produces an offset in the windows' content
|
||||||
|
//nswindow.styleMask |= 1 << 15; // NSFullSizeContentViewWindowMask;
|
||||||
[nativeToolBar setSizeMode:NSToolbarSizeModeSmall]; //TODO figure out how to load specific images in Yosemite
|
[nativeToolBar setSizeMode:NSToolbarSizeModeSmall]; //TODO figure out how to load specific images in Yosemite
|
||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user