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. fixed sized window not working in tiling window manager in linux
Forum Updated to NodeBB v4.3 + New Features

fixed sized window not working in tiling window manager in linux

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 335 Views 1 Watching
  • 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.
  • S Offline
    S Offline
    saber
    wrote on last edited by saber
    #1

    i made a widget that is fixed in size and will show up at bottom of screen. it works fine in Stacking_window_manager
    but not in Tiling_window_manager like i3wm in linux. the window manager scratches the window .

    0_1550484279947_o.png

    but should be like this

    0_1550484004971_a6c9504d-4721-4040-9f88-663412b68661-image.png

    my code is

    // set window size
        int x = static_cast<int>(CPrime::InfoFunc::screenSize().width()  * .8);
        int y = static_cast<int>(CPrime::InfoFunc::screenSize().height()  * .7);
        this->setFixedSize(x,y);
    
    

    how can i fix that.

    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