Browse Source

Modify Simulator UI;

niuyx 1 month ago
parent
commit
f98359438e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Framework/UICore/E95Template/BottomView.xaml.cs

+ 2 - 2
Framework/UICore/E95Template/BottomView.xaml.cs

@@ -21,7 +21,7 @@ namespace Aitex.Core.UI.View.Frame
 
     partial class BottomView : UserControl
     {
-        private int ButtonMarginLeft = 60;
+        private int ButtonMarginLeft = 30;
 
         Size ButtonSizeSelected = new Size(160, 45);
         Size ButtonSizeUnselected = new Size(145, 38);
@@ -49,7 +49,7 @@ namespace Aitex.Core.UI.View.Frame
         public void CreateMenu(List<ViewItem> items)
         {
             //double marginLeft = btnBackward.Margin.Left + btnBackward.Width + 50;
-            double marginLeft = ButtonSizeUnselected.Width;
+            double marginLeft = ButtonSizeUnselected.Width - 110;
             foreach (ViewItem item in items)
             {
                 Button btn = new Button();