|
|
|
|
|
by dvt
544 days ago
|
|
If you don't use some kind of layouting language (like XML/HTML), this is inevitably what you will always end up with. See: AWT[1], SWT[2], Swing[3], Qt[4]†, Fyne[5], etc., etc., etc. [1] https://docs.oracle.com/javase/7/docs/api/java/awt/GridLayou... [2] https://github.com/eclipse-platform/eclipse.platform.swt/blo... [3] https://stackoverflow.com/a/12867862/243613 [4] https://stackoverflow.com/questions/37304684/qwidgetsetlayou... † Qt actually has a (XML-based, I think) layouting system, but you can also just do stuff in code, which is generally discouraged. [5] https://gist.github.com/ledongthuc/9686787fe51bbe763fa1e5038... |
|
I wish there would be an elegant c++ class/function based ui framework again.