Skip to content

Commit 1245436

Browse files
committed
忽略数据库,
1 parent 0cf86e0 commit 1245436

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

conf/nbs.db

0 Bytes
Binary file not shown.

src/main/java/io/nbs/client/ui/panels/im/messages/MessageLeftTextViewHolder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public MessageLeftTextViewHolder() {
3636

3737
private void initComponents()
3838
{
39-
int maxWidth = (int) (MainFrame.getContext().currentWindowWidth * 0.5);
39+
int maxWidth = (int) (MainFrame.getContext().currentWindowWidth * 0.385);
4040
text = new SizeAutoAdjustTextArea(maxWidth);
4141
text.setParseUrl(true);
4242

src/main/java/io/nbs/client/ui/panels/im/messages/MessageRightTextViewHolder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ private void initComponents(){
4848
timePanel.setBackground(ColorCnst.WINDOW_BACKGROUND);
4949
messageAvatarPanel.setBackground(ColorCnst.WINDOW_BACKGROUND);
5050

51-
int maxWidth = (int)(MainFrame.getContext().currentWindowWidth*0.5);
51+
int maxWidth = (int)(MainFrame.getContext().currentWindowWidth*0.385);
5252
text = new SizeAutoAdjustTextArea(maxWidth);
5353
text.setParseUrl(true);
5454

0 commit comments

Comments
 (0)