Skip to content

Commit 4ef79f7

Browse files
committed
New project dialog improvement for non themed platforms...
1 parent c040f32 commit 4ef79f7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

External/Plugins/ProjectManager/Controls/NewProjectDialog.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,13 @@ public NewProjectDialog()
283283
projectListView.Items.Clear();
284284
projectListView.TileSize = PluginCore.Helpers.ScaleHelper.Scale(new Size(170, 22));
285285

286+
// Better for non themed platforms
287+
if (!OSFeature.Feature.IsPresent(OSFeature.Themes))
288+
{
289+
this.projectListView.View = View.SmallIcon;
290+
this.projectListView.ShowGroups = false;
291+
}
292+
286293
if (!Directory.Exists(ProjectPaths.ProjectTemplatesDirectory))
287294
{
288295
string info = TextHelper.GetString("Info.TemplateDirNotFound");

0 commit comments

Comments
 (0)