@@ -48,7 +48,7 @@ public AboutProgramPanel(CoreLib core)
48
48
49
49
private void InitializeComponent ( )
50
50
{
51
- TableLayoutPanel layout = InitFactory . Layout . Create ( 1 , 4 , 5 , 0 ) ;
51
+ TableLayoutPanel layout = InitFactory . Layout . Create ( 1 , 5 , 5 , 0 ) ;
52
52
layout . RowStyles . Add ( new RowStyle ( SizeType . AutoSize ) ) ;
53
53
layout . RowStyles . Add ( new RowStyle ( SizeType . AutoSize ) ) ;
54
54
layout . RowStyles . Add ( new RowStyle ( SizeType . AutoSize ) ) ;
@@ -59,9 +59,11 @@ private void InitializeComponent()
59
59
60
60
layout . Controls . Add ( GetCoopyrightLabel ( 0 ) , 0 , 1 ) ;
61
61
62
- layout . Controls . Add ( GetCoopyrightLabel ( 1 ) , 0 , 2 ) ;
62
+ layout . Controls . Add ( GetCoopyrightLabel ( 1 ) , 0 , 2 ) ;
63
+
64
+ layout . Controls . Add ( GetCoopyrightLabel ( 2 ) , 0 , 3 ) ;
63
65
64
- layout . Controls . Add ( CreateInfoTable ( Font ) , 0 , 3 ) ;
66
+ layout . Controls . Add ( CreateInfoTable ( Font ) , 0 , 4 ) ;
65
67
66
68
Controls . Add ( layout ) ;
67
69
}
@@ -73,9 +75,10 @@ private Label GetCoopyrightLabel(int index)
73
75
{
74
76
case 0 : text = Resources . Strings . Current . AboutProgramPanel_CopyrightLabel0_Text ; break ;
75
77
case 1 : text = Resources . Strings . Current . AboutProgramPanel_CopyrightLabel1_Text ; break ;
78
+ case 2 : text = Resources . Strings . Current . AboutProgramPanel_CopyrightLabel2_Text ; break ;
76
79
}
77
80
Label label = CreateLabel ( text , new Font ( this . Font . FontFamily , this . Font . Size * 1.2f ) ) ;
78
- label . Margin = new Padding ( 0 , ( index == 0 ? 10 : 0 ) , 0 , ( index == 1 ? 10 : 0 ) ) ;
81
+ label . Margin = new Padding ( 0 , ( index == 0 ? 10 : 0 ) , 0 , ( index == 2 ? 10 : 0 ) ) ;
79
82
return label ;
80
83
}
81
84
0 commit comments