This follows on from an earlier thread I created, but I’ve got a different problem now.
I implemented the UI for my extension in its prefs dialog. The problem now is that the dialog is too big, with loads of wasted space. During testing, when I created my own window, it automatically made itself just big enough for the content. As extension prefs I don’t have control over the window, I can only create its main widget. The widget is a vertical Gtk.Box containing a Label and set of radio buttons for each monitor. Any ideas on how I can shrink the window to fit it?
The extension is just about usable now, so I’ve published it on github.