Commit b652f2d
committed
fix(authentication): improve name editor layout and add focus border
1. Replace fixed maxWidth with fillWidth for adaptive input width
2. Set input height to 30px with 5px vertical margins (matches
itemDelegate height)
3. Remove redundant spacer item before edit button
4. Show blue focus border only during editing (focus + !readOnly)
5. Align with Bluetooth rename UI behavior
1. 将输入框从固定宽度改为 fillWidth 自适应填充
2. 设置输入框高度为30px,上下5px边距,保持行高40px
3. 移除编辑按钮前冗余的占位元素
4. 蓝色焦点边框仅在编辑状态(聚焦且非只读)时显示
5. 与蓝牙重命名界面的交互表现保持一致
Log: 优化认证模块用户名输入框布局与焦点边框样式
PMS: BUG-365807
Influence: 编辑用户名时输入框自适应宽度、高度匹配列表项规范,
蓝色焦点边框仅在编辑模式下显示,与蓝牙重命名体验对齐1 parent 3d19e0c commit b652f2d
1 file changed
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
150 | | - | |
151 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
| |||
157 | 159 | | |
158 | 160 | | |
159 | 161 | | |
160 | | - | |
| 162 | + | |
161 | 163 | | |
162 | 164 | | |
163 | 165 | | |
| |||
255 | 257 | | |
256 | 258 | | |
257 | 259 | | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | 260 | | |
262 | 261 | | |
263 | 262 | | |
| |||
0 commit comments