diff --git a/extension/recent-file/translations/recent-file-extension_zh_CN.ts b/extension/recent-file/translations/recent-file-extension_zh_CN.ts index e17d0fe..c075f44 100644 --- a/extension/recent-file/translations/recent-file-extension_zh_CN.ts +++ b/extension/recent-file/translations/recent-file-extension_zh_CN.ts @@ -5,7 +5,7 @@ UkuiMenu::RecentFileExtension Recent Files - + 最近 Open diff --git a/qml/AppUI/FullScreenContent.qml b/qml/AppUI/FullScreenContent.qml index f61109f..649b4d8 100644 --- a/qml/AppUI/FullScreenContent.qml +++ b/qml/AppUI/FullScreenContent.qml @@ -74,7 +74,6 @@ RowLayout { width: parent.width height: contentHeight > parent.height ? parent.height : contentHeight interactive: contentHeight > parent.height - spacing: 5 highlightMoveDuration: animationDuration highlight: AppControls2.StyleBackground { diff --git a/qml/AppUI/PluginSelectMenu.qml b/qml/AppUI/PluginSelectMenu.qml index 2377be2..9f1df14 100644 --- a/qml/AppUI/PluginSelectMenu.qml +++ b/qml/AppUI/PluginSelectMenu.qml @@ -35,6 +35,8 @@ RowLayout { Layout.fillWidth: true Layout.maximumWidth: height + highlight: mainWindow.isFullScreen + autoHighLight: !mainWindow.isFullScreen buttonIcon: "image://appicon/ukui-selected" onClicked: pluginSelectMenuRoot.model.autoSwitchProvider(); } diff --git a/qml/AppUI/Sidebar.qml b/qml/AppUI/Sidebar.qml index 61c4ae5..050d455 100644 --- a/qml/AppUI/Sidebar.qml +++ b/qml/AppUI/Sidebar.qml @@ -35,12 +35,15 @@ Item { Layout.fillWidth: true Layout.preferredHeight: 40 Layout.rightMargin: 12 + Layout.leftMargin: 16 ListView { id: extensionListView width: parent.width - 34 height: parent.height clip: true + spacing: 24 + interactive: false orientation: ListView.Horizontal model: extensionManager.extensionModel() delegate: headerDelegate @@ -147,7 +150,7 @@ Item { Item { property var extensionData: model.data - width: 100 + width: styleText.width height: ListView.view ? ListView.view.height : 0 onExtensionDataChanged: { @@ -162,14 +165,15 @@ Item { } } - Text { - anchors.fill: parent + AppControls2.StyleText { + height: parent.height + id: styleText verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter - font.bold: true + font.bold: parent.ListView.isCurrentItem wrapMode: Text.ElideRight - color: parent.ListView.isCurrentItem ? "blue" : "black" + paletteRole: parent.ListView.isCurrentItem ? Palette.Highlight: Palette.Text text: model.name } diff --git a/translations/ukui-menu_zh_CN.ts b/translations/ukui-menu_zh_CN.ts index 1d91cf0..6bf9f0b 100644 --- a/translations/ukui-menu_zh_CN.ts +++ b/translations/ukui-menu_zh_CN.ts @@ -189,7 +189,7 @@ UkuiMenu::FavoriteExtension Favorite - 收藏夹 + 收藏