--- /home/luke/temp/OutputScreenlet.py 2012-07-15 00:11:14.525186114 +0930 +++ /usr/share/screenlets/screenlets-pack-all/Output/OutputScreenlet.py 2012-07-15 13:36:45.314234368 +0930 @@ -201,7 +201,10 @@ # substract 26 from height: 2*shadow=6 + 2*border=2 + 1*text-offset=10 liststart = len(chunklist) - int(round((self.height - 26) / (lineheight))) - + + if (liststart<0): + liststart=0 + # Preserve at least one line even if there is nearly no space if len(chunklist) - liststart == 0 and liststart > 0: liststart = liststart - 1