Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Trying to use borderlayout
Qt 6.11 is out! See what's new in the release blog

Trying to use borderlayout

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 703 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jkwok678
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • johnratiusJ Offline
      johnratiusJ Offline
      johnratius
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved