ubuntu-touch-coreapps-reviewers team mailing list archive
-
ubuntu-touch-coreapps-reviewers team
-
Mailing list archive
-
Message #00848
[Bug 1228575] Re: Slider's tooltip too small sometimes
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Status: Confirmed => In Progress
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Assignee: (unassigned) => Nekhelesh Ramananthan (nik90)
** Branch linked: lp:~nik90/ubuntu-ui-toolkit/fix-slider-bubble-width
--
You received this bug notification because you are a member of Ubuntu
RSS Feed Reader Developers, which is subscribed to Ubuntu RSS Feed
Reader App.
Matching subscriptions: Ubuntu RSS Reader Bugmail
https://bugs.launchpad.net/bugs/1228575
Title:
Slider's tooltip too small sometimes
Status in RSS Feed Reader application for Ubuntu devices:
New
Status in ubuntu-ui-toolkit package in Ubuntu:
In Progress
Bug description:
I tried to reimplement Slider's formatValue function this way:
function formatValue(v) {
if (v < maximumValue / 3)
return i18n.tr("Small")
else if (v < maximumValue / 3 * 2)
return i18n.tr("Midium")
else return i18n.tr("Large")
}
Result: word "Medium" doesn't fit in tooltip.
Solution: use something like
Math.max(STANDARD_WIDTH, innerLabel.contentWidth)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-rssreader-app/+bug/1228575/+subscriptions