From 3d55bd6ff4ff03aa1ac01da7ba9ef475f11dde9d Mon Sep 17 00:00:00 2001 From: dbuechel Date: Tue, 12 Nov 2019 09:55:56 +0100 Subject: [PATCH] SEBWIN-312: Optimized design of application instances in action center. --- .../Controls/ActionCenterApplicationControl.xaml | 6 ++---- .../Controls/ActionCenterApplicationControl.xaml.cs | 1 + .../Controls/ActionCenterApplicationControl.xaml | 6 ++---- .../Controls/ActionCenterApplicationControl.xaml.cs | 1 + 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/SafeExamBrowser.UserInterface.Desktop/Controls/ActionCenterApplicationControl.xaml b/SafeExamBrowser.UserInterface.Desktop/Controls/ActionCenterApplicationControl.xaml index 37ec1158..e0578053 100644 --- a/SafeExamBrowser.UserInterface.Desktop/Controls/ActionCenterApplicationControl.xaml +++ b/SafeExamBrowser.UserInterface.Desktop/Controls/ActionCenterApplicationControl.xaml @@ -19,11 +19,9 @@ - - + - - + diff --git a/SafeExamBrowser.UserInterface.Desktop/Controls/ActionCenterApplicationControl.xaml.cs b/SafeExamBrowser.UserInterface.Desktop/Controls/ActionCenterApplicationControl.xaml.cs index 04674167..327e0c7c 100644 --- a/SafeExamBrowser.UserInterface.Desktop/Controls/ActionCenterApplicationControl.xaml.cs +++ b/SafeExamBrowser.UserInterface.Desktop/Controls/ActionCenterApplicationControl.xaml.cs @@ -32,6 +32,7 @@ namespace SafeExamBrowser.UserInterface.Desktop.Controls application.InstanceStarted += Application_InstanceStarted; button.Clicked += (o, args) => application.Start(); ApplicationName.Text = application.Info.Name; + ApplicationName.Visibility = Visibility.Collapsed; ApplicationButton.Content = button; } diff --git a/SafeExamBrowser.UserInterface.Mobile/Controls/ActionCenterApplicationControl.xaml b/SafeExamBrowser.UserInterface.Mobile/Controls/ActionCenterApplicationControl.xaml index 0ffea172..97436f21 100644 --- a/SafeExamBrowser.UserInterface.Mobile/Controls/ActionCenterApplicationControl.xaml +++ b/SafeExamBrowser.UserInterface.Mobile/Controls/ActionCenterApplicationControl.xaml @@ -19,11 +19,9 @@ - - + - - + diff --git a/SafeExamBrowser.UserInterface.Mobile/Controls/ActionCenterApplicationControl.xaml.cs b/SafeExamBrowser.UserInterface.Mobile/Controls/ActionCenterApplicationControl.xaml.cs index 609ec7aa..00f4e823 100644 --- a/SafeExamBrowser.UserInterface.Mobile/Controls/ActionCenterApplicationControl.xaml.cs +++ b/SafeExamBrowser.UserInterface.Mobile/Controls/ActionCenterApplicationControl.xaml.cs @@ -32,6 +32,7 @@ namespace SafeExamBrowser.UserInterface.Mobile.Controls application.InstanceStarted += Application_InstanceStarted; button.Clicked += (o, args) => application.Start(); ApplicationName.Text = application.Info.Name; + ApplicationName.Visibility = Visibility.Collapsed; ApplicationButton.Content = button; }