You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The NativeShell approach would be to put this in initializeWindow:
await window.setStyle(WindowStyle(
frame:WindowFrame.noTitle,
trafficLightOffset:constOffset(16, 18), // move the standard window buttons
));
This should give you window without the title bar. After that, for any area where you want your window to be draggable, use GestureDetector and on panStart call Window.of(context).performDrag();.
This should work across all platforms (except of trafficLightOffset which is ignored on linux and windows).
Related to #67.
Making the title bar transparent can usually be achieved by editing the
MainMenu.xib
file.How can I achieve this with nativeshell?
The text was updated successfully, but these errors were encountered: