Results 1 to 8 of 8

Thread: left alignment for pushbutton text

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Join Date
    Jul 2006
    Posts
    8
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: left alignment for pushbutton text

    What's about this:

    Qt Code:
    1. button->setStyleSheet("Text-align:left");
    To copy to clipboard, switch view to plain text mode 

  2. The following user says thank you to bremer for this useful post:

    BalaQT (22nd September 2009)

Similar Threads

  1. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 09:49
  2. Window Title Text left alignment issue.
    By kaushal_gaurav in forum Qt Programming
    Replies: 2
    Last Post: 3rd March 2010, 14:46
  3. Replies: 2
    Last Post: 30th December 2008, 21:35
  4. Q3Table text alignment problem
    By batileon in forum Qt Programming
    Replies: 4
    Last Post: 28th August 2008, 18:04
  5. QToolButton text alignment
    By Vladimir in forum Qt Programming
    Replies: 6
    Last Post: 2nd March 2007, 07:42

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.