Community Groups are officially here!
We've released Groups, a new feature that enables us to connect community members of similar industries and interests in a shared, private space. You can check out all of the details here, including information about who can join, how to join, and what Groups are currently offered. Please leave your feedback through this Community Groups Feedback Survey.

Custom Horizontal Scale Labeling

akwein
akwein Community Member Qubie ✭
edited July 30 in Custom Code

I need to set up a slider type question to look roughly like this:

I've spent a few hours trying to do this a myriad of different ways, but with no good solution that would work well on both desktop and mobile. The latest attempt was to create a carefully measured custom image for each label, but for some reason it automatically shrinks the two on the ends (Terrible and Excellent) so they're barely readable anymore:

If I substitute those two endpoint labels as text only, the labels are no longer centered on the scale points. The sizing varies wildly between the desktop and mobile versions (if in portrait mode), but that could be avoided by instructing users to switch to landscape:


Am I missing anything that others would do to try to replicate the original scale in the first image?

Answers

  • ahmedA
    ahmedA IndiaCommunity Member, XMPN Member Wizard ✭✭✭✭✭

    Using the inbuilt slider, you won't be able to make one setup work for both mobile and desktop.

    Create two different versions and then use display logic to show the appropriate one.