GtkFlowBox: the orthogonal orientation always requests the most size it could possibly need
Submitted by John Murray
Link to original bug (#787021)
Description
Created attachment 358777 Minimal test case for GtkFlowBox orientation issue
It appears that when a GtkFlowBox orientation is set to Vertical, the width request still acts like the widgets were handled as if the orientation was Horizontal resulting in the children being given more horizontal space than vertical. When combined with increasing the number of children per line, this results in GtkWindows with a large minimum width.
I've attached a minimal CMake based project which shows this problem. The .glade file was created in Glade 3.20.
To compile and run under Windows/MinGW: - unzip file and navigate to folder - mkdir build && cd build - cmake .. -G "MSYS Makefiles" -D'CMAKE_MAKE_PROGRAM:STRING=mingw32-make' - mingw32-make - cd ../bin - ./UKHF_Testing
Same process applies under Linux with swapping mingw32-make for just make and changing "MSYS Makefiles" for "Unix Makefiles".
Attachment 358777, "Minimal test case for GtkFlowBox orientation issue":
UKHF_Testing.zip
Version: 3.22.x