Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Trying to use borderlayout



  • I want to achieve a layout that I was able to use in JavaFX, called border-layout. I have seen an example of this, but is that the only way to implement this? Is there a defined class with borderlayout characteristics, that I could use apart from the example?



  • Hello,
    As far as I know, there is no layout already built for a border-layout style. You will have to create a custom layout. I made mine using the Qt example. https://doc.qt.io/qt-5/qtwidgets-layouts-borderlayout-example.html
    You can customize yours to your liking. I bet if you search hard enough you can find other examples on GitHub, but as one already implemented in Qt, I know not of it.


Log in to reply