Results 1 to 2 of 2

Thread: Button Text Position

  1. #1
    Join Date
    Sep 2009
    Posts
    64

    Default Button Text Position

    Is there a way to make the text label in a button not be centered directly in the middle of the button but more toward the top?

    I am trying to make a button with the button text on the top of the button and a label near the bottom that will change values as i click the button... basically a labeled toggle switch.

    any help is greatly appreciated

    thanks

  2. #2
    Join Date
    Sep 2009
    Posts
    64

    Default Re: Button Text Position

    never mind... i figured it out... sorry bout the useless post

Similar Threads

  1. QGraphicsTextItem and text cursor position via QPoint
    By Lykurg in forum Qt Programming
    Replies: 2
    Last Post: 10th July 2017, 18:38
  2. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 09:49
  3. Replies: 3
    Last Post: 8th December 2011, 19:21
  4. How to enabled button, when i changed lineedit`s text ?
    By newermind in forum Qt Programming
    Replies: 8
    Last Post: 13th August 2009, 08:57
  5. Position of text in a qlabel
    By jiveaxe in forum Qt Programming
    Replies: 1
    Last Post: 25th May 2008, 13:26

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.