OutputScreenlet calculates wrong height at narrow widths
Bug #999369 reported by
Fjodor
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) ;-)
To post a comment you must log in.
Could you join Individual Screenlets project yourself and submit the patch directly?