diff --git a/src/ui/main-window/ThumbnailView.swift b/src/ui/main-window/ThumbnailView.swift index d7cf40fa..2a75e016 100644 --- a/src/ui/main-window/ThumbnailView.swift +++ b/src/ui/main-window/ThumbnailView.swift @@ -351,12 +351,10 @@ class ThumbnailView: NSStackView { let appName = window_?.application.runningApplication.localizedName let windowTitle = window_?.title - if Preferences.appearanceStyle != .thumbnails { - if Preferences.onlyShowApplications() || Preferences.showTitles == .appName { - return appName ?? "" - } else if Preferences.showTitles == .appNameAndWindowTitle { - return [appName, windowTitle].compactMap{ $0 }.joined(separator: " - ") - } + if Preferences.onlyShowApplications() || Preferences.showTitles == .appName { + return appName ?? "" + } else if Preferences.showTitles == .appNameAndWindowTitle { + return [appName, windowTitle].compactMap{ $0 }.joined(separator: " - ") } return windowTitle ?? "" } diff --git a/src/ui/preferences-window/tabs/appearance/CustomizeStyleSheet.swift b/src/ui/preferences-window/tabs/appearance/CustomizeStyleSheet.swift index be07d1ed..4aa29c7f 100644 --- a/src/ui/preferences-window/tabs/appearance/CustomizeStyleSheet.swift +++ b/src/ui/preferences-window/tabs/appearance/CustomizeStyleSheet.swift @@ -79,6 +79,7 @@ class CustomizeStyleSheet: SheetWindow { showTitlesRowInfo = table.addRow(showTitles, onMouseEntered: { event, view in self.showAppsOrWindowsIllustratedImage() }) + table.addNewTable() table.addRow(alignThumbnails, onMouseEntered: { event, view in self.showAlignThumbnailsIllustratedImage() }, onMouseExited: { event, view in @@ -96,7 +97,7 @@ class CustomizeStyleSheet: SheetWindow { private func makeAppIconsView() -> TableGroupSetView { let table = makeAppWindowTableGroupView() - + table.addNewTable() table.addRow(alignThumbnails, onMouseEntered: { event, view in self.showAlignThumbnailsIllustratedImage() }) @@ -112,7 +113,7 @@ class CustomizeStyleSheet: SheetWindow { private func makeTitlesView() -> TableGroupSetView { let table = makeAppWindowTableGroupView() - + table.addNewTable() table.addRow(titleTruncation) table.fit() @@ -158,11 +159,9 @@ class CustomizeStyleSheet: SheetWindow { } private func showAppsOrWindowsIllustratedImage() { - var imageName = ShowTitlesPreference.windowTitle.image.name - if Preferences.showAppsOrWindows == .applications || Preferences.showTitles == .appName { + var imageName = Preferences.showTitles.image.name + if Preferences.onlyShowApplications() { imageName = ShowTitlesPreference.appName.image.name - } else if Preferences.showTitles == .appNameAndWindowTitle { - imageName = ShowTitlesPreference.appNameAndWindowTitle.image.name } self.illustratedImageView.highlight(true, imageName) }