[Webkit-unassigned] [Bug 57980] [Qt] Reduce default test app window size for environments with small display sizes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 6 19:33:34 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=57980





--- Comment #7 from Keith Kyzivat <keith.kyzivat at nokia.com>  2011-04-06 19:33:34 PST ---
It still would be nice for small-screen devices (mobile phones, PDAs, GPS units, ...) to start maximized without specifying any command line arguments.

I think I have come up with a reasonable way to do this without having platform #ifdefs.

Get the screen geometry of the default screen from QApplication::desktop()->screenGeometry().size(), and if it is less than some defined dimensions (640x480?), set the application window maximized.

Does this seem reasonable?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list