[chronojump] Recuperated menu Mode format



commit 72facdabacf12cdbc784b4ec15643e5c3b3db88b
Author: Xavier de Blas <xaviblas gmail com>
Date:   Sat Jan 20 02:22:35 2018 +0100

    Recuperated menu Mode format

 src/gui/chronojump.cs |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 890ba7b..3d8145e 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -624,7 +624,8 @@ public partial class ChronoJumpWindow
                definedSession = false;
                
                rand = new Random(40);
-       
+
+               formatModeMenu();
                putNonStandardIcons();  
                eventExecutePutNonStandardIcons();
                //eventExecuteCreateComboGraphResultsSize();
@@ -771,6 +772,23 @@ public partial class ChronoJumpWindow
        }
 */
 
+       private void formatModeMenu()
+       {
+               ((Label) radio_menuitem_mode_jumps_simple.Child).Text =
+                       "   " + ((Label) radio_menuitem_mode_jumps_simple.Child).Text;
+               ((Label) radio_menuitem_mode_jumps_reactive.Child).Text =
+                       "   " + ((Label) radio_menuitem_mode_jumps_reactive.Child).Text;
+
+               ((Label) radio_menuitem_mode_runs_simple.Child).Text =
+                       "   " + ((Label) radio_menuitem_mode_runs_simple.Child).Text;
+               ((Label) radio_menuitem_mode_runs_intervallic.Child).Text =
+                       "   " + ((Label) radio_menuitem_mode_runs_intervallic.Child).Text;
+
+               ((Label) radio_menuitem_mode_power_gravitatory.Child).Text =
+                       "   " + ((Label) radio_menuitem_mode_power_gravitatory.Child).Text;
+               ((Label) radio_menuitem_mode_power_inertial.Child).Text =
+                       "   " + ((Label) radio_menuitem_mode_power_inertial.Child).Text;
+       }
 
        private void loadPreferences () 
        {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]