Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: progress bar percentage on next line

progress bar percentage on next line 3 years 4 weeks ago #66298

  • beckers
  • beckers's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
In many browsers as Firefox, Explorer (not sure about others), the "100%" text of the progress bar moves to the next line when the user sets the text smaller (zooms out, ctrl-), see attachment for a screenshot. This happes with all the templates. How can this be prevented?
Attachments:
The administrator has disabled public write access.

Re: progress bar percentage on next line 3 years 3 weeks ago #66324

  • machaven
  • machaven's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 14
  • Thank you received: 2
  • Karma: 6
Hi,

I noticed if you change the css:

#progress-wrapper #progress-post {
float: left;
margin: 0 0 0 5px;
text-align: left;
width: 40px;
}

file: limesurvey/scripts/jquery/css/start/lime-progress.css

Where width was 45px to be 40px, then it doesn't move down. (Firefox 6)
Last Edit: 3 years 3 weeks ago by machaven. Reason: added file location
The administrator has disabled public write access.

Re: progress bar percentage on next line 3 years 3 weeks ago #66325

  • nico_8it
  • nico_8it's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 24
  • Thank you received: 1
  • Karma: 1
It's possible to remove it in the Template, in particular, in survey.pstpl
The administrator has disabled public write access.

Re: progress bar percentage on next line 3 years 3 weeks ago #66335

  • Dennis
  • Dennis's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 9
  • Thank you received: 1
  • Karma: 0
This solves it, thank you!

Could this fix be included in the next version?
The administrator has disabled public write access.

Re: progress bar percentage on next line 3 years 3 weeks ago #66336

  • Dennis
  • Dennis's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 9
  • Thank you received: 1
  • Karma: 0
nico_8it wrote:
It's possible to remove it in the Template, in particular, in survey.pstpl

Since 1.91+ there is an option not to display the progress bar (Survey Settings, presentation & navigation, Show progress bar).
The administrator has disabled public write access.
The following user(s) said Thank You: nico_8it

Re: progress bar percentage on next line 3 years 3 weeks ago #66339

  • machaven
  • machaven's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 14
  • Thank you received: 2
  • Karma: 6
Dennis wrote:
This solves it, thank you!

Could this fix be included in the next version?

I will add it in :)
The administrator has disabled public write access.
The following user(s) said Thank You: Dennis

Re: progress bar percentage on next line 3 years 3 weeks ago #66341

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
machaven wrote:
Dennis wrote:
This solves it, thank you!

Could this fix be included in the next version?

I will add it in :)
I test with some option, width of 40px aren't the best. ( then it break if you use Zoom text only very quickly).

I think we can use width in em, not in px. But maybe there are some better fix. ( display:inline, float ?)

:)
Last Edit: 3 years 3 weeks ago by DenisChenu.
The administrator has disabled public write access.

Re: progress bar percentage on next line 3 years 3 weeks ago #66342

  • machaven
  • machaven's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 14
  • Thank you received: 2
  • Karma: 6
Shnoulle wrote:
machaven wrote:
Dennis wrote:
This solves it, thank you!

Could this fix be included in the next version?

I will add it in :)
I test with some option, width of 40px aren't the best. ( then it break if you use Zoom text only very quickly).

I think we can use width in em, not in px. But maybe there are some better fix. ( display:inline, float ?)

:)

Thx for the suggestions, i will have a look at the options
The administrator has disabled public write access.

Re: progress bar percentage on next line 3 years 3 weeks ago #66364

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
machaven wrote:
Thx for the suggestions, i will have a look at the options
I try with:
#progress-wrapper #progress-pre {width:4em;margin-right:0.5em}
#progress-wrapper #progressbar {width:15em;margin:0;font-size:12px}
#progress-wrapper #progress-post {width:4em;margin-left:0.5em}
#progress-wrapper {width:25em;padding:0;font-size:12px}

Seems to work with default template / Firefox 6.02 on Linux / Zoom in/out / Zoom in/out text only.

:)

PS: shnoulle.limequery.com/96955/lang-en for testing
Last Edit: 3 years 3 weeks ago by DenisChenu.
The administrator has disabled public write access.

Re: progress bar percentage on next line 3 years 3 weeks ago #66365

  • machaven
  • machaven's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 14
  • Thank you received: 2
  • Karma: 6
Nice works with chrome/chromium as well.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.129 seconds
Donation Image