projects
/
org.ibex.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3a623d5
)
2002/06/14 22:58:02
author
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 06:48:09 +0000
(06:48 +0000)
committer
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 06:48:09 +0000
(06:48 +0000)
darcs-hash:
20040130064809
-2ba56-
3fa652abdcc280ff7819c8ad2fc4b9b4d38b23ef
.gz
src/org/xwt/Box.java
patch
|
blob
|
history
diff --git
a/src/org/xwt/Box.java
b/src/org/xwt/Box.java
index
51315b9
..
e34fe98
100644
(file)
--- a/
src/org/xwt/Box.java
+++ b/
src/org/xwt/Box.java
@@
-831,7
+831,7
@@
public final class Box extends JSObject {
int x1 = max(x, pos(0) + bw);
int y1 = max(y, pos(1) + bh);
int x2 = min(x + w, pos(0) + size(0) - bw);
- int y2 = min(y + h, pos(1) + size(1) - 2);
+ int y2 = min(y + h, pos(1) + size(1) - bh);
buf.setClip(0, 0, buf.getWidth(), buf.getHeight());
if (y2 - y1 > 0 && x2 - x1 > 0)
buf.fillRect(x1,y1,x2,y2,(color & 0xFF000000) != 0 ? color : SpecialBoxProperty.lightGray);