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. Wrong size window using kde
QtWS25 Last Chance

Wrong size window using kde

Scheduled Pinned Locked Moved Unsolved General and Desktop
kde
3 Posts 2 Posters 287 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
    jamat13
    wrote on last edited by
    #1

    My app is a toolbar positioned with move () and resize () and setWindowFlags (Qt::FramelessWindowHint); is used (and respected)

    Everything is perfect except under KDE where the window is too large. What does KDE do, and how do I undo.

    (The label is in correct place, but should be at top of toolbar)qteg.png

    jsulmJ 1 Reply Last reply
    0
    • J jamat13

      My app is a toolbar positioned with move () and resize () and setWindowFlags (Qt::FramelessWindowHint); is used (and respected)

      Everything is perfect except under KDE where the window is too large. What does KDE do, and how do I undo.

      (The label is in correct place, but should be at top of toolbar)qteg.png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @jamat13 said in Wrong size window using kde:

      The label is in correct place, but should be at top of toolbar

      Which label?
      Can you please explain better?
      And why don't you use layouts to position widgets?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      J 1 Reply Last reply
      0
      • jsulmJ jsulm

        @jamat13 said in Wrong size window using kde:

        The label is in correct place, but should be at top of toolbar

        Which label?
        Can you please explain better?
        And why don't you use layouts to position widgets?

        J Offline
        J Offline
        jamat13
        wrote on last edited by
        #3

        We end up talking about another issue :-)
        The app is a toolbar
        +-----------------------------+
        | |
        +-----------------------------+

        each group of icons in the toolbar may relate to a diver, and there may be 1..4 groups of divers
        having a floating label atop each group on tool bar made sense and seemed hard to achieve
        ie
        LABEL1 LABEL2
        +------------------------------+
        | |
        +------------------------------+

        my user did not like

        +-------------------------------+
        | LABEL1 LABEL2 |
        | |
        +-------------------------------+

        Now when toolbar size is wrong, as it is under kde only, then the whole rest of layout is messed up [4 video screens, large, normal or small, other items ie vu level]
        So my options are
        a) tame kde (to size correctly)
        b) don't use kde

        James

        1 Reply Last reply
        0

        • Login

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