×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2009
    Location
    Rome
    Posts
    268

    Post tabWidget tabs caption size and font problem

    As the mainwindow is shown the tabs have a given font and size .
    As the device (my 5800 at least) get rotated the size and font of the tabs get the look&feel changed (and looks better to me)
    it is not related to using Ui editor or by creating tabWidget on the fly.
    Address book example also is affected
    I have tried forceing resizeEvent without success
    Any workaround ?

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: tabWidget tabs caption size and font problem

    So what are you trying to achieve? Do you want to change font or orientation of the window?

  3. #3
    Nokia Developer Expert
    Join Date
    Feb 2008
    Posts
    183

    Re: tabWidget tabs caption size and font problem

    Both orientations have their own pixel metrics in the QS60Style. When orientation change occurs, styleChange event is sent and style re-creates all the graphics and resets all pixel metrics.
    Now it is entirely possible that there is a bug in the style or when setting up the geometry for the widgets.

    I am not sure what is your issue (application looks better after rotation?), but if it is the tabwidget look change after two rotations (from portrait to landscape and then back), I am pretty sure that it is a bug.
    I agree that it looks better afterwards.

    Please report it to http://bugreports.qt.nokia.com/ and we'll fix it at some point.

  4. #4
    Registered User
    Join Date
    May 2009
    Location
    Rome
    Posts
    268

    Re: tabWidget tabs caption size and font problem

    Yes it is exactly, ,the tabwidget look change after two rotations (from portrait to landscape and then back)
    I dont care so much how it looks , i like using native look as is ... the fact is that as the application run the rects that contains let's say Tab1, Tab2 are 20px height (portrait) , after first rotation (landscape) resizes to 40px height . Then reach a stable state so that when rotated again and again tab caption rect height does not change.

Similar Threads

  1. LWUIT Labels Font size problem
    By superchacho in forum Mobile Java General
    Replies: 4
    Last Post: 2010-06-16, 09:00
  2. Replies: 15
    Last Post: 2009-04-29, 10:46
  3. problem with font size for image.text
    By roidayan in forum Symbian
    Replies: 2
    Last Post: 2008-03-04, 04:29
  4. font size problem
    By want2beboss in forum Symbian User Interface
    Replies: 3
    Last Post: 2007-04-14, 07:10

Posting Permissions

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