OutputScreenlet calculates wrong height at narrow widths

Bug #999369 reported by Fjodor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Individual Screenlets
Fix Committed
Undecided
Fjodor

Bug Description

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) ;-)

Revision history for this message
Fjodor (sune-molgaard) wrote :
Revision history for this message
Märt Põder (boamaod) wrote :

Could you join Individual Screenlets project yourself and submit the patch directly?

Revision history for this message
Fjodor (sune-molgaard) wrote :
Changed in screenlets:
assignee: nobody → Fjodor (sune-molgaard)
status: New → Fix Committed
affects: screenlets → indiv-screenlets
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.