×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    17

    Change the style of the ">>" button in QToolBar

    Hi,

    I have wrote an application where the no. of tool buttons in QToolBar is too much that not able to display in a single line. In desktop Qt, it will show a ">>" button , press it will extend the view into multiple line. However, in maemo5 , as the default background color of QToolBar is black , and the ">>" button still use black color. It was not able to see. And the size of the button is too thin , it is almost impossible to press the button without use the style.

    So I want to ask.

    1) How can I change the color of the ">>" button?
    2) How can i change the width of the ">>" button?

    Thanks.

  2. #2
    Nokia Developer Champion
    Join Date
    Sep 2007
    Location
    Bhavnagar
    Posts
    928

    Re: Change the style of the ">>" button in QToolBar

    Hi,

    I think simplest way to do it is to use a stylesheet and change the color of the toolbar. Any specific reason why you dont want to use the stylesheet?
    Jajal Mehul

  3. #3
    Registered User
    Join Date
    Feb 2010
    Posts
    17

    Re: Change the style of the ">>" button in QToolBar

    I have already tried to set the style sheet like :

    color : white;

    However , It only can affect the text color of action items , but it can't change the color of the ">>" button.

  4. #4
    Nokia Developer Champion
    Join Date
    Sep 2007
    Location
    Bhavnagar
    Posts
    928

    Re: Change the style of the ">>" button in QToolBar

    Hi,
    Have tried to change the background color of the toolbar using background-color?
    Jajal Mehul

Similar Threads

  1. Replies: 2
    Last Post: 2009-12-08, 10:13
  2. How to "open > launch file.swf > close"?
    By cheesewhisk in forum Symbian
    Replies: 2
    Last Post: 2006-08-10, 12:08
  3. Replies: 2
    Last Post: 2004-10-15, 04:25
  4. <input type="button"> on 3650
    By efras in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2003-10-23, 06:58

Posting Permissions

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