CreoPlayer Alpha settings

  1. 5 years ago

    Joel_Eisenstat

    18 Jan 2019 User since 2016

    First of all, Congrats to 'tout la gang' ( or crew) on the release of 2.0 . A job well done both functionally and aesthetically.

    I waited for 2.0 to re-test this area but the problem persists. In the simulator this works ;
    resource123Label.alpha = 0.50;
    resource456Label.alpha = 0.25;
    resource789Label.alpha = 0.25;
    but 'greys' the colour in CreoPlayer. I used Color.green if it makes a difference.
    Thanks
    Joel

  2. andrea

    18 Jan 2019 Administrator User since 2016

    @Joel_Eisenstat ,
    I'm trying to reproduce the issue but it seems ok to me, please see the attached screenshot (Simulator and CreoPlayer) and project. Am I missing something?

    Screenshot 2019-01-18 at 10.54.12.png

  3. Joel_Eisenstat

    18 Jan 2019 User since 2016

    Hi Andreas ,
    Attached are my screenshots - There are superimposed buttons on top of the tables, the source of the problem ?

  4. Joel_Eisenstat

    18 Jan 2019 User since 2016

    labels not tables

  5. andrea

    18 Jan 2019 Administrator User since 2016

    Can you please copy&paste the one of your labels and its superimposed button to a new project and send me the project?

  6. Joel_Eisenstat

    19 Jan 2019 User since 2016

    Hi Andreas ,
    You are correct in that there is is no problem in changing the alpha properties , I have found it occurs when the text of the label is updated:

    resource123Label.text = View2.resource1Label.text + "\n" + View2.resource2Label.text + "\n" + View2.resource3Label.text;

    resource456Label.text = View2.resource4Label.text + "\n" + View2.resource5Label.text + "\n" + View2.resource6Label.text;

    resource789Label.text = View2.resource7Label.text + "\n" + View2.resource8Label.text + "\n" + View2.resource9Label.text;

    This causes the label colour to to be grey. I cannot say why though.
    Again this occurs in CreoPlayer , the Simulator is fine .
    The labels are attached for completeness . Should any changes be made to the label ( text) attributes ?
    Thanks
    Joel

  7. andrea

    23 Jan 2019 Administrator User since 2016

    Hi @Joel_Eisenstat ,
    you can fix it by disabling the opaque property of the Labels (Geometry Inspector - appearance section).

    Screenshot 2019-01-23 at 11.08.47.png

  8. Joel_Eisenstat

    23 Jan 2019 User since 2016

    Thanks Andreas.

or Sign Up to reply!