diff --git a/Assets/Content/Prefabs/UI/UILiveRoom/LiveRoomChatItem.prefab b/Assets/Content/Prefabs/UI/UILiveRoom/LiveRoomChatItem.prefab
index b45b09c5f..9aeb2206c 100644
--- a/Assets/Content/Prefabs/UI/UILiveRoom/LiveRoomChatItem.prefab
+++ b/Assets/Content/Prefabs/UI/UILiveRoom/LiveRoomChatItem.prefab
@@ -20,7 +20,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
- m_IsActive: 0
+ m_IsActive: 1
--- !u!224 &3135625391757224365
RectTransform:
m_ObjectHideFlags: 0
@@ -321,7 +321,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 278.44, y: 85}
+ m_SizeDelta: {x: 670, y: 85}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5747305123726246474
CanvasRenderer:
@@ -409,7 +409,7 @@ MonoBehaviour:
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 1
- m_VerticalAlignment: 512
+ m_VerticalAlignment: 256
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
@@ -437,7 +437,7 @@ MonoBehaviour:
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
- m_margin: {x: 0, y: 0, z: 0, w: 0}
+ m_margin: {x: 0, y: 20, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
@@ -843,10 +843,10 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
- m_fontSize: 34
+ m_fontSize: 36
m_fontSizeBase: 36
m_fontWeight: 400
- m_enableAutoSizing: 1
+ m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 34
m_fontStyle: 0
diff --git a/Assets/Lua/UI/UILiveRoom/UILiveRoomView.lua b/Assets/Lua/UI/UILiveRoom/UILiveRoomView.lua
index 33c25d3dd..01abe29c4 100644
--- a/Assets/Lua/UI/UILiveRoom/UILiveRoomView.lua
+++ b/Assets/Lua/UI/UILiveRoom/UILiveRoomView.lua
@@ -799,7 +799,7 @@ function UILiveRoomView:GenChatItem(loopview, index, room_id)
content = "【系统】"..content
else
itemlua.rect1:SetActive(true)
- name = string.format("%s.Lv%s", name, level)
+ name = string.format("%s.Lv%s", name, level)
end
itemlua.text_vip.text.text = vip or "0"
@@ -811,7 +811,9 @@ function UILiveRoomView:GenChatItem(loopview, index, room_id)
itemlua.text_name.rectTransform.sizeDelta = Vector2(c_sizename, 50)
itemlua.rect1.rectTransform.sizeDelta = Vector2(112 + 20 + c_sizename, 85)
local c_sizeother = 47 + 112 + 20 + c_sizename
-
+ if data.player_info.uid == 1000 then
+ c_sizeother = 47
+ end
local c_sizeMax = 1020 - c_sizeother
itemlua.text_chat.text.text = content
local c_size = StringUtil.GetTMTextWidth(itemlua.text_chat.text, content)