Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Is possible to scale a border-image in width/height when only her width is resized?

Is possible to scale a border-image in width/height when only her width is resized?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 165 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    Ylvy
    wrote on last edited by Ylvy
    #1

    Is it possible to make a border-image be scaled in both width and height when her width is resized?

    Example:
    Suppose you are expanding the widget in the direction of the green arrow ➡
    e2bf2f2f-22c3-45db-87de-2e18ae98804a-image.png

    Then the border-image would be scaled in the direction of the blue/green arrow ↘➡

    It would be the same as resizing the image by clicking the red button and expanding it, the difference is that the widget height is not increasing.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved