Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Checkbox widget text wrapping issue

New Here ,
Jun 02, 2015 Jun 02, 2015

I am using the stock checkbox widget in a standard responsive project in Captivate 8.0.1and even though it looks fine in the working window....

2015-06-02_11-32-59.jpg

when I publish it.....the text wraps around.
2015-06-02_11-34-32.jpg

I simply want the checkbox widget to stop arbitrarily wrapping the text.

What am I missing here?

Now even though the "help" section says I can set the position and size in the Transform window....there does not seem to be any options other than rotate...
2015-06-02_11-35-40.jpg

Aside from that....
When I do click on the info button to see what the size/position etc., it says 140 for the width, 175 for the height.
2015-06-02_11-38-20.jpg

but when I go to properties...I can see a different dimension.  What looks to be the correct dimension.
2015-06-02_11-40-24.jpg

I have tried everything and searched everywhere I can think of for a solution to this.

I have reset the width.height on each of the "views" and refreshed and tested each on individually, and they are all doing it.

I've even made the text blank, and aligned new, individual captions for each check boxk next to each check box in order to fake it.  Even that doesn't work, because the text (while, again....looking perfect in the working window, becomes misaligned when published)

Can anyone please help me with this?


806
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 02, 2015 Jun 02, 2015

Do you use the Checkbox widget or the Checkbox Learning Interaction?  The latest version of the interaction has a checkbox for Scale Text, do you have that version:

scaletxt.png

I'm also puzzled by the Position panel setup, I would never use absolute size and position (px) for a responsive project. When I double-checked inserting the interaction in a responsive project, after resizing on the stage, I did get (just an example) these settings, and do not see any text wrapping when Previewing in Browser:

Position.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 02, 2015 Jun 02, 2015

I am using the Learning Interaction, and it had the Updated ribbon when I captured this screenshot...so I tried it out, as I did not previously have the "Scale Text" option you mentioned...

2015-06-02_13-18-16.jpg

It worked!
2015-06-02_13-25-42.jpg

And I can't thank you enough!  All the views look great too btw.  I don't use absolute size or position either in responsive projects either, just grasping at straws with my testing by that point.

I will experiment with that new scaling option and see what kind of results I get.

Thank you again Lilybiri!  Problem solved, and I couldn't be happier!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Jun 02, 2015 Jun 02, 2015

I've had problems with the Checkbox and radio button widgets and interactions. I had to edit the JavaScript to get them to work properly.

I haven't checked the Checkbox interaction, but the Radio button interaction converts numbers to strings and then tries to use that string to compare with numbers. It's doing the comparison for widths and heights. It will never work. I had to add in the code to rewrite the strings back to numbers.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Jun 02, 2015 Jun 02, 2015

In the widget html file, change the bolded width in this line:

<div ID="Widget_4538_checkbox" style="width:640px; height: 175px">

The file is located in the applicable folder, my widget id is 4538.

wr/Widget_4538/Widget_4538.htm

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 02, 2015 Jun 02, 2015

That's interesting

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Jun 02, 2015 Jun 02, 2015

I'm using the same thing and mine always wrap, no matter if I use the new or old ones. I've found that's it's easier to manipulate the old ones.

Very frustrating to have to apply my fixes every time I republish. I now have a version where I just copy in the new CPM.js and leave the widget folders alone. I have 35 of the interactions.

I also code mine to reset the radio buttons, and fix a IE error that gets thrown if you reselect a radio button. Mine also work in FIrefox.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 02, 2015 Jun 02, 2015

You can reset them in Captivate by changing the variable (with latest version). I'm sure you have a better solution, but just wanted to tell that, blogged about it several times.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Jun 03, 2015 Jun 03, 2015

Thanks Lieve, my solution is not "better", just necessary.

I have a final test, html5, where the student must get 100% in order to pass. The results show how many they answered correctly. Then they retake, but are only presented with the questions they answered incorrectly. They keep on doing this until they achieve 100%.

I had to add code to reset the radio buttons so that what they answered previously did not show as selected and all radio buttons were deselected.

Also, if you made a selection and then changed it, an error was being thrown in IE.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 03, 2015 Jun 03, 2015
LATEST

David, I don't doubt your solution at all. Just tried to explain that with the latest version of the interactions (checkbox, radiobutton and TextArea) it is possible to reset the interactions by assigning an empty variable (v_null). I blogged about it. For that feature it is not necessary to change the code.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources