Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › Debug menu bar introduced with 2.7.1

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12578

    spike

    Hi,

    the debug bar is a nice idea. But it’s a bit problematic, because it y-offset’s my entire scene by the bar’s height.

    Is there an “official” way to disable it? Right now I use

    menuBar: null

    to remove the menu bar.

    Either way, add more debug options, that thing has much potential to make one’s life easier.

     

    #12579

    Lorenz

    Hi spike,

    Thank you for your feedback, we will take a look at our implementation and see how we can improve it.

    What debug options are the most important ones you would like to see in the future?

    Best,

    Lorenz from Felgo

    #12588

    Christian
    Felgo Team

    Can you also please post a simple example where we can test the y-offsetting? We did not realize any of these issues in our demos.

    Cheers, Chris

    #12781

    Günther
    Felgo Team

    Hi spike!

    I just wanted to inform you that the y-offset issue is now fixed. It will be included in the next Felgo update!

    One change that is important to know, is that the GameWindow width and height properties can no longer be used to specify the size of the window’s content area. The width and height always refer to the total window size, which also includes the debug menu bar.

    Instead, to specify the size of the content area, two new properties screenWidth and screenHeight should be used. These properties are available both for the GameWindow and App type.

    To simulate a 960 x 640 px resolution in a desktop window, simply use:

    GameWindow {
    
      screenWidth: 960  // replaces width: 960
      screenHeight: 640 // replaces height: 640
    
      // ...
    }

     

    The actual window height may then be bigger if the debug menu is used. But the content area will always have a height of 640 px.

    Best,
    Günther

     

    • This reply was modified 8 years, 1 month ago by  GT.
    #12783

    spike

    Ah, I totally forgot I made this thread. Thanks for all the trouble. 🙂

Viewing 5 posts - 1 through 5 (of 5 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded