Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

460
Views
electron title bar overlay adds white vertical lines when maximizing

In my electron js project, I'm experiencing weird behaviour from the titlebar which is initialized with the following code:

function createWindow() {
  win = new BrowserWindow({
    width: 800,
    height: 600,
    titleBarStyle: 'hidden',
    titleBarOverlay: {
      color: '#1D1E20',
      symbolColor: '#EEEEEE'
    },
    webPreferences: {
      nodeIntegration: true,
      contextIsolation: false,
      devTools: true
    },
    show: false
  })
  //win.webContents.openDevTools()
  win.loadFile('index.html')
  win.once('ready-to-show', () => {
    win.show()
  })
}

When maximizing I get a vertical white line next to the maximize-Button, which I believe is because of the changing size of the native windows buttons when resizing. Is there any way to solve this problem without styling a custom title bar? normal maximized

almost 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!