mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #40426
[Bug 1467252] Re: Display problem with Switchbox when label strings aren't the same length as "On" & "Off"
Hi Kristina,
Yea, My first thought where I saw the problem was to ask myself why the computed width is done server side, at least, only here.
I did the patch like this to avoid to change too greatly the behavior but I admit now that a client side will be the best.
Now the problem with JavaScript is the switch is visible when the page is loaded and there’ll be a delay before the application of the width so the resize will be visible.
The best would be a pure CSS solution but I even not sure its possible the way the switch is.
This is why I would keep a fix on the server side when loading the page. The actual server side computed width still wrong.
I’m interested to investigate for it, I just hope it will not take too
much time, I already spent quite some on this.
Regards,
Gilles-Philippe Leblanc
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1467252
Title:
Display problem with Switchbox when label strings aren't the same
length as "On" & "Off"
Status in Mahara:
In Progress
Status in Mahara 15.10 series:
Incomplete
Status in Mahara 16.04 series:
Incomplete
Status in Mahara 16.10 series:
Incomplete
Bug description:
It was ok in 15.04 but the the new interface of 15.10dev, the
translated text for the "switch" options are not displayed correctly.
1/ When "On", the translated text for "on" is displayed, with the text for "off" partially
2/ When "Off", the translated text for "off" is displayed centered below the the red bullet
(see inclosed picture)
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1467252/+subscriptions
References