I'm writing a desktop application using the Go bindings for GTK at https://mattn.github.io/go-gtk/.
I'm showing a set of widgets in a listing "view". I'd like to make it responsive - kind of like using the "float" property in CSS. So far I've looked at VBox, HBox, Table, and the Fixed Layout and Layout Container, but none of these really solve my problem - they all scale in one direction. I’m interested in suggestions either within go-gtk, C GTK that would be possible to bind, a Go library that would do this for me, or if none of those exist, then ideas/best practices for rolling my own. The result would be a container that "moves" widgets around depending on the screen dimensions. I left some ascii-art below of how I'd like it to look. Thanks in advance! Larger/wider window: +-------------------+ | app | | | | +-----+ +-----+ | | | | | | | | | w1 | | w2 | | | | | | | | | +-----+ +-----+ | | | | | | +-----+ | | | | | | | w3 | | | | | | | +-----+ | | | +-------------------+ Smaller/narrower window: +------------+ | app | | | | +-----+ | | | | | | | w1 | | | | | | | +-----+ | | | | +-----+ | | | | | | | w2 | | | | | | | +-----+ | | | | +-----+ | | | | | | | w3 | | | | | | | +-----+ | | | +------------+ -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.