Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change color and text size of choice buttons
#4
(07-08-2021, 09:12 AM)Ting Wrote: Hi! For font size, there's actually a yet-to-be documented feature for it. You can add:

Code:
"font_size": "18px"

to your choice response to make the text 18px large, or whatever works for you.

For the color unfortunately there's no solutions for now, but in the future we do plan to introduce color themes. Sorry about that.

IT WORKED AFTER THE EXPERIMENT WAS REFRESHED.

I face the same issue. I defined the text for the responses thus:
Code:
{
  "type": "text",
  "content": "T",
  "size": "30px",
  "alignment": "center"
}
And the response looks like this:
Code:
{
  "type": "choice",
  "choices": [
    "%s:1_text",
    "%s:2_text",
    "%s:3_text"
  ],
  "target": [
    "%s:1_text"
  ],
  "locations": "fixed",
  "key_mapping": [
    "J",
    "K",
    "L"
  ],
  "key_only": true,
  "instruction": "Press the corresponding key to record your answer:",
  "font_size": "30px"
}

I specified the font size in both places, but the text and button size are still very small. Is there a different way to improve readability?

Thanks in advance!
Reply


Messages In This Thread
RE: Change color and text size of choice buttons - by mkrishnaswamy - 09-03-2021, 02:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)