Results 1 to 5 of 5

Thread: About Border-image

  1. #1
    Join Date
    Dec 2010
    Posts
    33
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Question About Border-image

    Hi, This background image bk_stargreetings.png

    Now I set stylesheet like this

    Qt Code:
    1. border-image: url(:/bg.png) 80 167 9 9;
    2. border-width:80 167 9 9;
    To copy to clipboard, switch view to plain text mode 

    And effect 无标题.jpg

    Now, I want to know that how i can remove red line!

    Thanks!

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: About Border-image

    What are those red lines?

    They appear as layouts in QtDesigner, if so just delete them
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  3. #3
    Join Date
    Dec 2010
    Posts
    33
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: About Border-image

    Red line is sign on bg.png.....

  4. #4
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: About Border-image

    Can you post a sample project?
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  5. #5
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: About Border-image

    Quote Originally Posted by Wong View Post
    Red line is sign on bg.png.....
    Then open your favorite image manipulation programm and remove them, or do you need those lines for anything?

Similar Threads

  1. StyleSheets: border-image performance
    By GuS in forum Qt Programming
    Replies: 3
    Last Post: 15th May 2013, 12:42
  2. Problems rendering small border-image in Windows
    By droneone in forum Qt Programming
    Replies: 1
    Last Post: 14th March 2013, 16:05
  3. Replies: 1
    Last Post: 29th December 2012, 09:07
  4. Border-image not working in QWidget?
    By astampor in forum Qt Programming
    Replies: 4
    Last Post: 3rd October 2011, 15:16
  5. costum QWidget with border-image in style sheet
    By qt fan in forum Qt Programming
    Replies: 1
    Last Post: 25th January 2009, 20:36

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.