← Back to team overview

screenlets-dev team mailing list archive

[Bug 999369] [NEW] OutputScreenlet calculates wrong height at narrow widths

 

Public bug reported:

Setting the screenlet width to, say, 180px and height 60px, as I have
done,  only one line will show.

Culprit is line 199, where the "benchmark" text for calculating max line
height is "foo|bar - pipe is important in this dummy text as we need to
measure max height!", which will word-wrap at narrow widths, inflating
the height.

The obvious fix is setting the benchmark text to "|" (and possibly add a
comment to the effect of the previous text) ;-)

** Affects: screenlets
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of
Screenlets Dev Team, which is subscribed to Screenlets.
https://bugs.launchpad.net/bugs/999369

Title:
  OutputScreenlet calculates wrong height at narrow widths

To manage notifications about this bug go to:
https://bugs.launchpad.net/screenlets/+bug/999369/+subscriptions


Follow ups

References