bitsdojo_window icon indicating copy to clipboard operation
bitsdojo_window copied to clipboard

Frameless windows not working

Open jeydi243 opened this issue 2 years ago • 2 comments

Hi everyone! After initilizing with method :

doWhenWindowReady(() {
     final initialSize = Size(600, 450);
     appWindow.minSize = initialSize;
     appWindow.size = initialSize;
     appWindow.alignment = Alignment.center;
     appWindow.show();
   });

I try to add this two lignes in windows/runner/main.cpp:

#include <bitsdojo_window/bitsdojo_window_plugin.h>
auto bdw = bitsdojo_window_configure(BDW_CUSTOM_FRAME); 

The error shown is:

F:\Projets\Flutter\gesi\windows\runner\main.cpp(1,10): fatal error C1083: Impossible d'ouvrir le fichier include : 'bitsdojo_window/bitsdojo_window_plugin.h' : No such file or directory [F:\Projets\Flutter\gesi\build\windows\runner\gesi.vcxproj]

The expected is the windos to be frameless, i try to clean(flutter clean) and run again but same result Thank you for your help.

jeydi243 avatar Mar 28 '22 10:03 jeydi243

Import #include <bitsdojo_window_windows/bitsdojo_window_plugin.h> instead of #include <bitsdojo_window/bitsdojo_window_plugin.h>

mattracx avatar Jun 04 '22 11:06 mattracx

Hi. Have you found a solution? I ran into the exact same issue. Update: the issue solved after IDE restart )

alevlako avatar Aug 22 '22 09:08 alevlako