macos: fix allocation for filechoosernative filter
authorChristian Hergert <christian@hergert.me>
Thu, 17 Feb 2022 20:39:21 +0000 (12:39 -0800)
committerChristian Hergert <christian@hergert.me>
Tue, 22 Feb 2022 19:53:33 +0000 (11:53 -0800)
commitb4b282dc81641de12fdd276e6dc9bb4dedb5b114
tree908ab43e23e80d3e8873129a22d3c3e7414f4f2e
parentd4d328f96f5ffcc7083d6d705bd234af691259d4
macos: fix allocation for filechoosernative filter

The GtkFileCHooserNativeQuartz injects a NSComboBox into the NSSavePanel
(which is displayed in a remote process since 10.15 whether or not you are
a sandboxed application). The style has changed and we need more space
here to not clip part of the combobox out of view.

I tried every size from 22 to 30 and this seemed to look the most natural
without skewing the location of the text within the combobox.
gtk/gtkfilechoosernativequartz.c