×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    37

    need the desciption in smaller font!!!!!!!!!!

    hi all,
    I want to display a description of a text on QCommandLink Button,
    but thing is when i tried that with qt + maemo text shows bigger than description on qt creator,
    but when i deploy the application on Nokia n900 it will show description and text in same font size.

    when i refer QT reference it will describe about description as follows,


    This property holds a descriptive label to complement the button text.

    Setting this property will set a descriptive text on the button, complementing the text label. This will usually be displayed in a smaller font than the primary text.

    pls help me out to solve this issue,


    cheers
    ~Wishwa

  2. #2
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: need the desciption in smaller font!!!!!!!!!!

    Quote Originally Posted by wishwaa View Post
    hi all,
    I want to display a description of a text on QCommandLink Button,
    but thing is when i tried that with qt + maemo text shows bigger than description on qt creator,
    but when i deploy the application on Nokia n900 it will show description and text in same font size.

    when i refer QT reference it will describe about description as follows,


    This property holds a descriptive label to complement the button text.

    Setting this property will set a descriptive text on the button, complementing the text label. This will usually be displayed in a smaller font than the primary text.

    pls help me out to solve this issue,


    cheers
    ~Wishwa
    The font size is hardcoded in QCommandLinkButton
    http://qt.gitorious.org/+qt-develope...on.cpp#line138
    You can subclass QCommandLinkButton and reimplement paintEvent to change size of the font.

  3. #3
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: need the desciption in smaller font!!!!!!!!!!


Similar Threads

  1. font flags not working
    By jtullis in forum Python
    Replies: 10
    Last Post: 2008-12-10, 08:27
  2. Using the font from setting list in custom listbox
    By alav in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-11-05, 17:17
  3. Replies: 7
    Last Post: 2006-06-08, 22:17
  4. How to create a smaller font?
    By ash_bhatia in forum Symbian User Interface
    Replies: 5
    Last Post: 2003-08-21, 13:24
  5. 5100 font setting in WAP browser
    By forum-user28 in forum Mobile Web Site Development
    Replies: 0
    Last Post: 2003-06-21, 15:13

Posting Permissions

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