diff --git a/src/Artemis.UI/Screens/Module/ProfileEditor/ProfileEditorView.xaml b/src/Artemis.UI/Screens/Module/ProfileEditor/ProfileEditorView.xaml
index 76debb152..8a96256e6 100644
--- a/src/Artemis.UI/Screens/Module/ProfileEditor/ProfileEditorView.xaml
+++ b/src/Artemis.UI/Screens/Module/ProfileEditor/ProfileEditorView.xaml
@@ -8,7 +8,7 @@
xmlns:profileEditor="clr-namespace:Artemis.UI.Screens.Module.ProfileEditor"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800"
- d:DataContext="{x:Type profileEditor:ProfileEditorViewModel}">
+ d:DataContext="{d:DesignInstance Type=profileEditor:ProfileEditorViewModel, IsDesignTimeCreatable=False}">
@@ -20,37 +20,36 @@
+
+
+
-
+
+
-
-
-
-
-
-
+
-
+
-
+
-
+
-
+
-
+
- The profile defines what colors the LEDs will have. Multiple groups of LEDs are defined into layers. On these layers you can apply effects.
+ The profile defines what colors the LEDs will have. Multiple groups of LEDs are defined into layers. On these layers you can apply effects.
-
+
@@ -61,11 +60,14 @@
-
+
+
+
+
@@ -84,11 +86,22 @@
-
-
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -127,32 +140,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
+
+
-
+
+
-
-
-
-
\ No newline at end of file
diff --git a/src/Artemis.UI/Screens/Module/ProfileEditor/ProfileEditorViewModel.cs b/src/Artemis.UI/Screens/Module/ProfileEditor/ProfileEditorViewModel.cs
index 7f1fb234a..b585ca6f9 100644
--- a/src/Artemis.UI/Screens/Module/ProfileEditor/ProfileEditorViewModel.cs
+++ b/src/Artemis.UI/Screens/Module/ProfileEditor/ProfileEditorViewModel.cs
@@ -55,9 +55,9 @@ namespace Artemis.UI.Screens.Module.ProfileEditor
public ProfileViewModel ProfileViewModel { get; }
public BindableCollection Profiles { get; set; }
- public PluginSetting ProfileElementsWidth { get; set; }
+ public PluginSetting SidePanelsWidth { get; set; }
public PluginSetting DisplayConditionsHeight { get; set; }
- public PluginSetting LayerElementsHeight { get; set; }
+ public PluginSetting BottomPanelsHeight { get; set; }
public PluginSetting ElementPropertiesWidth { get; set; }
public Profile SelectedProfile
@@ -157,17 +157,17 @@ namespace Artemis.UI.Screens.Module.ProfileEditor
private void LoadWorkspaceSettings()
{
- ProfileElementsWidth = _settingsService.GetSetting("ProfileEditor.ProfileElementsWidth", new GridLength(550));
- DisplayConditionsHeight = _settingsService.GetSetting("ProfileEditor.DisplayConditionsHeight", new GridLength(320));
- LayerElementsHeight = _settingsService.GetSetting("ProfileEditor.LayerElementsHeight", new GridLength(350));
- ElementPropertiesWidth = _settingsService.GetSetting("ProfileEditor.ElementPropertiesWidth", new GridLength(920));
+ SidePanelsWidth = _settingsService.GetSetting("ProfileEditor.SidePanelsWidth", new GridLength(385));
+ DisplayConditionsHeight = _settingsService.GetSetting("ProfileEditor.DisplayConditionsHeight", new GridLength(345));
+ BottomPanelsHeight = _settingsService.GetSetting("ProfileEditor.BottomPanelsHeight", new GridLength(265));
+ ElementPropertiesWidth = _settingsService.GetSetting("ProfileEditor.ElementPropertiesWidth", new GridLength(545));
}
private void SaveWorkspaceSettings()
{
- ProfileElementsWidth.Save();
+ SidePanelsWidth.Save();
DisplayConditionsHeight.Save();
- LayerElementsHeight.Save();
+ BottomPanelsHeight.Save();
ElementPropertiesWidth.Save();
}