gio icon indicating copy to clipboard operation
gio copied to clipboard

app: add support to hidden minimize and maximize buttons on macos and …

Open kkeybbs opened this issue 5 months ago • 2 comments

Two options app.HiddenMinimizeButton and app.HiddenMaximizeButton are added to create a window without minimize or/and maximize buttons.

hide both minimize and maximize buttons

w := new(app.Window)
w.Option(app.HiddenMinimizeButton(true), app.HiddenMaximizeButton(true))
image

hide minimize button, keep maximize button:

w := new(app.Window)
w.Option(app.HiddenMinimizeButton(true), app.HiddenMaximizeButton(false))
  • on macOS: image

  • on Windows: image

kkeybbs avatar Aug 29 '24 11:08 kkeybbs