Set progressBarText

PennController for IBEX Forums Support Set progressBarText

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3614
    adamliter
    Participant

    From PCIbex, is there a way to change the progressBarText option provided by Ibex?

    I naively tried the following:

    PennController.ResetPrefix(null);
    
    PennController(
        defaultText
            .settings.center()
            .print()
        ,
        newText("sentence", "Ние щото отидохме със тримата ни братовчеда, на вечерята нямаше място за всички.")
        ,
        newText("my_clear", "<br/>")
        ,
        newScale("judgment", "1", "2", "3", "4", "5", "6", "7")
            .settings.log()
            .settings.labelsPosition("top")
            .settings.before(newText("bad", "very bad"))
            .settings.after(newText("good", "very good"))
            .settings.size("auto")
            .settings.center()
            .print()
            .wait()
        ,
        newTimer("delay", 250)
            .start()
            .wait()
    ).setOption("progressBarText", "asdf");

    But this does not work.

    • This topic was modified 4 years, 11 months ago by adamliter.
    #3617
    Jeremy
    Keymaster

    Hi,

    I haven’t implemented a PennController-specific way to set progressBarText, but PennController is fully compatible with native IBEX, so you can simply use var progressBarText = "asdf"; instead

    Jeremy

    #3645
    adamliter
    Participant

    Ah, thanks! I should have thought to try that. That works perfectly.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.