electron icon indicating copy to clipboard operation
electron copied to clipboard

want to customize the frame header color

Open wangxiexe opened this issue 10 years ago • 8 comments

  • Electron version: 1.2.1
  • Operating system: windows 10

I am developing an app with electron on win 10 and the frame header (where you find functions like close the window 'x' ) is white which is not the color I want.

Is there any way I can customize the color?

Thx!

wangxiexe avatar Jun 27 '16 06:06 wangxiexe

IMO, for this purpose, you can read from this document: Frameless Window

abdihaikal avatar Jun 27 '16 14:06 abdihaikal

@abdihaikal That will allow you to make a completely custom frame border by disabling the system borders. What @wangxiexe wants (I believe) and what I would find useful aswell is this API.

http://blog.thomasnigro.fr/2015/02/11/exploring-w10-apis-windows-and-titlebar/

The ability to set the color of the default control bar. (This is a windows 10 only API)

MarshallOfSound avatar Jun 27 '16 14:06 MarshallOfSound

@MarshallOfSound is right, I just want set the color of the titlebar, thx.

wangxiexe avatar Jun 28 '16 01:06 wangxiexe

duplicate of #1582

lukeapage avatar Jun 28 '16 04:06 lukeapage

Closing this out, please subscribe to #1582 for future updates.

kevinsawicki avatar Jun 29 '16 00:06 kevinsawicki

Hi, guys. How to make the window movable when using frameless window?

hz0324 avatar Jan 22 '18 09:01 hz0324

@hz0324 Did you mean this? https://electronjs.org/docs/api/frameless-window#draggable-region

isEdison avatar Jan 22 '18 11:01 isEdison

@MarshallOfSound can you update your link to: http://thomasnigro.fr/2015/02/11/exploring-w10-apis-windows-and-titlebar/

Thank everyone for your help.

euangordon avatar Oct 19 '18 10:10 euangordon