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.


    Tint Color can't be set

    Pythonista
    3
    9
    5871
    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.
    • 7points
      7points last edited by

      iPad Pro 12.9 / IOS 11.2.2 / Pythonista 3.2

      When using UI Designer, Tint Color can't be set (Button, Switch, Slider, SegmentedControl ...)
      In the designer you see the changed color, but when running the script, the default color is shown.

      This bug does not appear with iPad 3 / IOS 9.3.5 / Pythonista 3.2

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

        Can't reproduce with the same setup you have.

        Can you share reproducible case? Python script & UI file?

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

          With IPad mini 4, iOS 11.2.2., Pythonista 3.2

          1 Reply Last reply Reply Quote 0
          • 7points
            7points last edited by

            Here are the screenshots:

            ui-designer

            running script

            . . . . and the script / pyui-file

            TintTest.py

            TintTest.pyui

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

              Thanks, I can confirm this. Kind of curious how you did it. Did you edit the file manually somehow (.pyui)? Or just UI designer?

              Inspector shows fffffffb, when I tap on color it shows fffffffa in the alert view, .pyui contains RGBA(1.000000,-0.021739,-0.021739,1.000000), ... Interesting ...

              1 Reply Last reply Reply Quote 0
              • 7points
                7points last edited by

                I have created the files in the following order:

                1. New ... Script with ui
                2. added SegmentedControl in UI-Designer
                3. changed Tint Color in UI-Designer

                As I mentioned, the effect is only on the iPad Plus, not the iPad 3!
                With the iPad Plus, I'm generally not able to change Tint Color on objects like Buttons, SegmentedControls and so on!
                I reinstalled Pythonista, but did not succeed.

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

                  @7points I did report it as #523.

                  1 Reply Last reply Reply Quote 0
                  • 7points
                    7points last edited by

                    I think I have found the reason for the bug: the color picker of the ui-Designer. When sliding over the colors, the hex value sometimes jumps from 6 digits to eight digits. Since 8-digit values ​​are wrong for ipad pro edition 2015, they will be ignored.

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

                      @7points thanks, did add it to the issue.

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