omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    ui.resizable_image() help

    Pythonista
    2
    7
    2152
    Loading More Posts
    • 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.
    • stephen
      stephen last edited by

      hello,

      im trying to figure out gow to use this.. docs dont say if it is in place or returns and if i can use in a scene.Texture object. it will run without error but edges still stretch.. any thoughts?

      cvp 1 Reply Last reply Reply Quote 0
      • cvp
        cvp @stephen last edited by cvp

        @stephen Apple doc says

        Returns a new version of the image that contains the specified cap insets. 
        
        stephen 1 Reply Last reply Reply Quote 0
        • stephen
          stephen @cvp last edited by

          @cvp nice i wasnt sure it they were same func or not. By chance did you see anywhere if the inset is carried over to te Texture object?

          cvp 1 Reply Last reply Reply Quote 0
          • cvp
            cvp @stephen last edited by

            @stephen no idea, sorry

            1 Reply Last reply Reply Quote 0
            • stephen
              stephen last edited by

              @cvp no problem 😊🤓 i usually just look lol but got children today lol

              cvp 1 Reply Last reply Reply Quote 0
              • cvp
                cvp @stephen last edited by

                @stephen perhaps this helps?

                stephen 1 Reply Last reply Reply Quote 0
                • stephen
                  stephen @cvp last edited by

                  @cvp ah yes i curently use size. what im trying to acomplish here isnt just sizing but sizing with inset.. ui.resizable_image does exactly this but seems to reformat completly when i make a scene.Texture to use in SpriteNode 😕

                  patched

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB Forums | Contributors