Skip to content

Commit

Permalink
文字跑出去了 。。。。。。。。
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaokui committed Jul 6, 2017
1 parent 107bfd7 commit 001a3b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/xk/ui/main/chat/ChatItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public int getHeight() {
if(maxWidth < point.x) {
maxWidth += point.x + str.length() + 10;//字间距
}else {
maxWidth +=point.x + str.length() + LINE_SPACE_HEIGHT;
maxWidth +=point.x + str.length();
}
}
int curLen = point.x + str.length();
Expand Down

0 comments on commit 001a3b8

Please sign in to comment.