Qt World Summit: Register Today!

How to resize browser and fancy browser example widget window size

  • Hi Sir,
    I have build Qt5.3.2 with QtWebkit and QtWebkit-examples which includes browser and fancy browser example.

    I am successfully able to run these example on my ubuntu laptop which has screen resolution of 1366 and 768 but these QT examples (browser and fancy browser) opens in very small window.

    so now i want to change screen resolution i.e. width and height of these example but in QT code i am not able to understand what and where i need to do changes.

    In other example such as simple selector or domtraversal there is windows.ui file where i can change the screen resolution but for fancy browser and browser example there is no such file.

    so plz suggest me what and where i need to do changes to resize the example windows size.

    plz help me to solve this issue.

    Thanks in advance

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    What about using the showMaximized method on your main widget ?

Log in to reply