← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1228575] Re: Slider's tooltip too small sometimes

 

This bug was fixed in the package ubuntu-ui-toolkit -
1.2.1458+15.04.20150327-0ubuntu1

---------------
ubuntu-ui-toolkit (1.2.1458+15.04.20150327-0ubuntu1) vivid; urgency=medium

  [ By Tim Peeters ]
  * Remove the deprecated toolbar example from the gallery.
    Fixes LP: #1430904

  [ Nekhelesh Ramananthan ]
  * Fixes the slider bubble width to be dynamic and dependent
    on the label width. Fixes LP: #1228575

  [ Leo Arias ]
  * Added a scenario for autopilot tests without live dragging.
    Fixes LP: #1435698
  * Added a helper to reorder items in a list view.
    Fixes LP: #1435700

  [ Christian Dywan ]
  * Add tests/autopilot to sys.path of sphinx config.
  * Build-depend on python-autopilot used by sphinx-build
    Fixes LP: #1431749

  [ Zsombor Egri ]
  * Fixing crashes when AlarmModel::get() returned valid stock alarm
    ends up to be NULL in QML. Fixes LP: #1429273

  [ CI Train Bot ]
  * New rebuild forced.
 -- CI Train Bot <ci-train-bot@xxxxxxxxxxxxx>   Fri, 27 Mar 2015 12:35:55 +0000

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
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:
  Fix Released

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