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
-
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
-
Can't reproduce with the same setup you have.
Can you share reproducible case? Python script & UI file?
-
With IPad mini 4, iOS 11.2.2., Pythonista 3.2
-
Here are the screenshots:
. . . . and the script / pyui-file
-
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 showsfffffffa
in the alert view, .pyui containsRGBA(1.000000,-0.021739,-0.021739,1.000000)
, ... Interesting ... -
I have created the files in the following order:
- New ... Script with ui
- added SegmentedControl in UI-Designer
- 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. -
-
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.
-
@7points thanks, did add it to the issue.