×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2011
    Posts
    42

    Qt Dialog fit to screen

    Hello, I have a problem when displaying a dialog.
    A dialog seems to be bigger than screen. It fit to screen when I run on simulator (N8 Simulator).
    But when I deploy on a real device (N8 also), a dialog is bigger than the screen.

    How can I solve this issue? The N8 Simulator displays fine for me. But N8 real device doesn't display exactly.

  2. #2
    Registered User
    Join Date
    Dec 2010
    Posts
    62

    Re: Qt Dialog fit to screen

    Put this to dialog constructor:

    Code:
    #if defined(Q_OS_SYMBIAN)
        this->showMaximized();
    #else
        this->show();
    #endif

Similar Threads

  1. how to edit a Book cover fit h/v screen ?
    By nokia_lin in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-05-25, 09:03
  2. Command Label cant fit to the screen
    By ongchiboon in forum Mobile Java General
    Replies: 1
    Last Post: 2004-06-21, 06:59

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×