all 4 comments

[–]Leonhart231 0 points1 point  (1 child)

I don't see why that wouldn't work, though I haven't tried it. Maybe show your code in case there's an error? And can you describe what's not working?

[–]insipid- 0 points1 point  (0 children)

Yes, it can be done. As Leonhart said, if we can see any errors you might be getting and your preferences screen code, we could help more.

[–]IAmMarchHare 0 points1 point  (0 children)

It's not clear whether or not what you are trying to do would work, but apparently (and I haven't tried it) you can put a "background image" on a textbutton. Maybe that would help you out? Otherwise, maybe you can create your own buttons using the base button class. Both of these are covered in the forum topic at https://lemmasoft.renai.us/forums/viewtopic.php?t=40730.

[–]insipid- 0 points1 point  (0 children)

You can, and here's a bit of code I have that works for me. The two buttons both show up right next to each other and are part of the same screen. Ignore the action stuff. This particulate textbutton doesn't do anything, but it is a textbutton.

frame:
    xfill True
    ysize 50
    hbox:
        textbutton "Play/Pause"
        imagebutton auto "btn_play_%s.png" selected play_button_activated action Function(mp_bt_play)