Qt Labs Forum » Graphics View

Why so much white space in QComponentHost?

(2 posts)

  1. tom
    tom
    Member

    I have successfully made the QtJambiAwtBridge work now. Thanks very much for offering this helpful addition to the wonderful QtJambi.
    However, one thing that troubles me are the white bars above and below every JPanel that I put into a QWidget using QComponentHost. These white bars also appear in the AwtInQt example that comes with the QtJambiAwtBridge. It seems, that they have the same height as the JPanel and appear above as well as below. Hence, every JPanel takes up 3 times the space it actually requires.
    When resizing the QWidget, the white spaces also grow and shrink accordingly.
    Is there any way to avoid these waste of precious GUI space?

    Posted: 10 months #
  2. Hi, Tom.

    I believe that is a bug, yes, and I will look into it. Thank you for the report!

    Posted: 10 months #

RSS feed for this topic

Reply

You must log in to post.



© 2008 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners.