Results 1 to 3 of 3

Thread: Vertical alingnment of images

  1. #1
    Join Date
    Sep 2006
    Location
    the Netherlands
    Posts
    5
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Exclamation Vertical alingnment of images

    Hi all,

    I want an image in a QTextEdit widget to vertically align center (relative to the height of the line that contains the image). I have tried some potential ways, but nothing worked. Can someone help me?

    Thanks in advance,

    Trav

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Vertical alingnment of images

    Have you tried using the valign attribute?

  3. #3
    Join Date
    Sep 2006
    Location
    the Netherlands
    Posts
    5
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Vertical alingnment of images

    Quote Originally Posted by wysota
    Have you tried using the valign attribute?
    Yes I did, but Qt just removes the valign attribute from the html code so I guess it isn't supported for images... But it sounds like such a simple thing, so I think it should be possible...

Similar Threads

  1. JPEG Images not shown in QiconView using QT3??
    By darpan in forum Qt Programming
    Replies: 1
    Last Post: 4th August 2006, 20:34
  2. Question about thumbnailing different kinds of images
    By SkripT in forum Qt Programming
    Replies: 6
    Last Post: 18th March 2006, 13:05
  3. working with images
    By Kapil in forum Newbie
    Replies: 2
    Last Post: 9th March 2006, 11:59
  4. Images in QLabel
    By qball2k5 in forum Qt Programming
    Replies: 5
    Last Post: 6th March 2006, 21:28

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.