Author: titmuss
Date: Thu Jan 24 03:31:28 2008
New Revision: 1602
URL: http://svn.slimdevices.com?rev=1602&root=Jive&view=rev
Log:
[EMAIL PROTECTED] (orig r1595): titmuss | 2008-01-24 11:26:35 +0000
Bug: 6311
Description:
Fixed text layout in Flickr applet.
Modified:
trunk/ (props changed)
trunk/jive/src/pkg/jive/share/applets/Flickr/FlickrApplet.lua
Propchange: trunk/
------------------------------------------------------------------------------
--- svk:merge (original)
+++ svk:merge Thu Jan 24 03:31:28 2008
@@ -1,3 +1,3 @@
-bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:1594
+bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:1595
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/SN:1083
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/scrolling:1378
Modified: trunk/jive/src/pkg/jive/share/applets/Flickr/FlickrApplet.lua
URL:
http://svn.slimdevices.com/trunk/jive/src/pkg/jive/share/applets/Flickr/FlickrApplet.lua?rev=1602&root=Jive&r1=1601&r2=1602&view=diff
==============================================================================
--- trunk/jive/src/pkg/jive/share/applets/Flickr/FlickrApplet.lua (original)
+++ trunk/jive/src/pkg/jive/share/applets/Flickr/FlickrApplet.lua Thu Jan 24
03:31:28 2008
@@ -539,14 +539,14 @@
-- draw photo owner
local txt1 = Surface:drawText(fontBold, 0xFFFFFFFF, photo.ownername)
- txt1:blit(totImg, 5, sh-15)
+ txt1:blit(totImg, 5, sh-15 - fontBold:offset())
-- draw photo title
if photo.title then
local titleWidth = fontRegular:width(photo.title)
local txt2 = Surface:drawText(fontRegular, 0xFFFFFFFF,
photo.title)
- txt2:blit(totImg, sw - 5 - titleWidth, sh-15)
+ txt2:blit(totImg, sw - 5 - titleWidth, sh-15 -
fontRegular:offset())
end
local icon = Icon("image", totImg)
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins