indiv-screenlets-dev team mailing list archive
-
indiv-screenlets-dev team
-
Mailing list archive
-
Message #00347
[Bug 999369] Re: OutputScreenlet calculates wrong height at narrow widths
Fixed with http://bazaar.launchpad.net/~indiv-screenlets-dev/indiv-
screenlets/trunk/revision/1190
** Changed in: screenlets
Status: New => Fix Committed
** Changed in: screenlets
Assignee: (unassigned) => Fjodor (sune-molgaard)
** Project changed: screenlets => indiv-screenlets
--
You received this bug notification because you are a member of
Individual Screenlets Developers, which is subscribed to Individual
Screenlets.
https://bugs.launchpad.net/bugs/999369
Title:
OutputScreenlet calculates wrong height at narrow widths
Status in Screenlets — individual widgets development:
Fix Committed
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 manage notifications about this bug go to:
https://bugs.launchpad.net/indiv-screenlets/+bug/999369/+subscriptions