← Back to team overview

indiv-screenlets-dev team mailing list archive

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

 

You have been subscribed to a public bug:

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: indiv-screenlets
     Importance: Undecided
     Assignee: Fjodor (sune-molgaard)
         Status: Fix Committed

-- 
OutputScreenlet calculates wrong height at narrow widths
https://bugs.launchpad.net/bugs/999369
You received this bug notification because you are a member of Individual Screenlets Developers, which is subscribed to Individual Screenlets.