Using ```xprop``` on any geany window (on Arch Linux latest version), I see the following:
``` _NORMAL_HINTS(WM_SIZE_HINTS): program specified location: 0, 0 program specified minimum size: 909 by 53 program specified base size: 0 by 0 window gravity: NorthWest ```
The number 909 by 53 regardless of my monitor resolution and it is geany rather than X11 that gives such figures. The numbers do not change whether symbol lists and line numbers are displayed or not.
Is it possible to somehow reduce the number 909? (e.g. on a laptop with 1920 width, I can only afford 400-500 width for geany and the rest has to be given to a browser window)
Here I get `program specified minimum size: 455 by 108`. The 455 seems to be set by the width of the menu as the sidebar and edit widget can both be partly hidden but the menu does not appear to allow that.
The menu is totally controlled by the GTK theme, not by Geany, maybe you can do something about it if you tweak the theme using geany.css, reducing the font size or spacing or allowing it to be scrollable (if possible).
Some of the items like "File, Edit" are frequently used. But we may not need "Projects, Build, Tools, Help" unless we are dealing with code. If 909 is determined by the menus width, then the best resolution is probably to have the options of hiding some of these menu items.
Also, I checked ```geany.conf``` and ```geany.css``` and there does not seem to be a convenient way to resolve the problem. (Reducing the font size will prevent me from smoothly using "File", "Edit", etc.)
On my computer, the minimum is `xprop` reports the minimum is "230 by 74". I have global menus enabled, so the menubar is relocated to a button on the titlebar. It's also possible to [hide the menubar](https://github.com/geany/geany/issues/633) with the GeanyLua plugin (`geany.signal("hbox_menubar", "hide")`).
github-comments@lists.geany.org