What is the minimum window size in electron?


#1

Hello,

Im trying to create a frameless window as small as possible (ideally a height and/or width of 1,2 or 3 pixels) but it seems the minimum size supported is larger than that. Does anyone know what this minimum size is (and why) or how to create a window arbitrary small?

Thanks.


#2

I’m wondering the same. I wanted to create a sort of banner to span the width of the screen and a height of only about 20 pixels but it LOOKS like the minimum height is about 38 pixels. This is of course frameless.


#3

Also, the issue I’m experiencing seems to occur on Windows, but not on Mac. I can make the frameless window as small as I want on the Mac.