Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-2011

improve border-image: stretch only middle part of images

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.4.0
    • GUI: Painting
    • None

    Description

      I have custom images for buttons, which I plug via border-image CSS attribute. they have 1px border and fade-effects near all edges. When the button is large enough, those borders become 2px, and when the button is very small, borders are removed after scaling. also, fade-effects become too stretched (especially if scaling is not proportional).

      it would be awesome if Qt stretched only middle part of image (actually, middle-center, middle-bottom, middle-top for horizontal scaling, and middle-center, middle-left, middle-right for vertical scaling).

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sletta Gunnar Sletta
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes