Skip to content

Commit 8e479ad

Browse files
committed
fix: align release date and expand button in update list
Added flexible spacer items to properly separate release time text from tool buttons in the update list layout, ensuring consistent alignment across different list items. Log: Fixed UI alignment in update list Influence: 1. Verify release time text and expand button are properly separated 2. Test on different screen sizes and resolutions 3. Check alignment consistency across all list items fix: 修复更新列表中发布日期和展开按钮的对齐问题 在更新列表布局中添加弹性分隔项,确保发布日期文本与工具按钮正确分离,保持 列表项间对齐一致性。 Log: 修复更新列表UI对齐问题 Influence: 1. 验证发布日期文本和展开按钮是否适当分离 2. 在不同屏幕尺寸和分辨率下测试 3. 检查所有列表项之间的对齐一致性 PMS: BUG-362721
1 parent 5f5910a commit 8e479ad

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/dcc-update-plugin/qml/UpdateList.qml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ Rectangle {
117117
text: qsTr("Release time:") + model.releaseTime
118118
}
119119

120+
Item {
121+
Layout.fillWidth: true
122+
}
123+
120124
D.ToolButton {
121125
textColor: D.Palette {
122126
normal {
@@ -193,6 +197,10 @@ Rectangle {
193197
text: qsTr("Release time:") + modelData.updateTime
194198
}
195199

200+
Item {
201+
Layout.fillWidth: true
202+
}
203+
196204
D.ToolButton {
197205
textColor: D.Palette {
198206
normal {

0 commit comments

Comments
 (0)