[minijoe] r67 committed - small layout fix

0 views
Skip to first unread message

min...@googlecode.com

unread,
Feb 17, 2010, 7:22:28 PM2/17/10
to min...@googlegroups.com
Revision: 67
Author: stefan.haustein
Date: Wed Feb 17 16:21:17 2010
Log: small layout fix
http://code.google.com/p/minijoe/source/detail?r=67

Modified:
/trunk/src/com/google/minijoe/html/BlockWidget.java

=======================================
--- /trunk/src/com/google/minijoe/html/BlockWidget.java Mon Feb 15 16:34:01
2010
+++ /trunk/src/com/google/minijoe/html/BlockWidget.java Wed Feb 17 16:21:17
2010
@@ -462,7 +462,7 @@
// Keeps track of y-position and borders for the regular layout set by
// floating elements. The viewport width is taken into account here.
LayoutContext layoutContext = new LayoutContext(
- Math.min(innerMaxWidth, viewportWidth - left - right), style,
parentLayoutContext,
+ Math.min(innerMaxWidth, viewportWidth), style, parentLayoutContext,
left, top);

// line break positions determined when laying out TextFragmentWidget

Reply all
Reply to author
Forward
0 new messages