#349·menubar

setSize need reset the position

Author: binvbCreated Jul 8, 2021Updated Jul 29, 2026

Description

when i use mb.window.setSize(150, height) change the size, it need to reset the position

Steps to Reproduce the Problem

  1. traySide is 'bottom'
  2. focus in mb window
  3. mb.window.setSize(150, height)
  4. part of mb window is over hidden

Expected Behaviour

reset the position when setSize()

Actual Behaviour

Specifications

  • Menubar version: 9.0.5
  • Platform: windows
  • Electron version: (Run electron -v or node_modules/.bin/electron -v to get it)

Other information