Set progressBarText

PennController for IBEX Forums Support Set progressBarText

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by Avatar adamliter 6 months, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3614
    Avatar
    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 7 months, 1 week ago by Avatar adamliter.
    #3617
    Jeremy
    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
    Avatar
    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.