Ignore:
Timestamp:
02/06/15 15:49:24 (6 years ago)
Author:
abeham
Message:

#2174: fixed alignment in tab control

Location:
branches/ProgrammableProblem/HeuristicLab.Problems.Programmable.Views/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/ProgrammableProblem/HeuristicLab.Problems.Programmable.Views/3.3/MultiEncodingView.Designer.cs

    r11952 r11957  
    6666      this.tabControl.SuspendLayout();
    6767      this.encodingsTabPage.SuspendLayout();
     68      this.parametersTabPage.SuspendLayout();
    6869      this.SuspendLayout();
     70      //
     71      // parameterCollectionView
     72      //
     73      this.parameterCollectionView.Location = new System.Drawing.Point(6, 6);
     74      this.parameterCollectionView.Size = new System.Drawing.Size(643, 433);
     75      this.parameterCollectionView.TabIndex = 0;
    6976      //
    7077      // nameTextBox
     
    9299      this.encodingsListView.Name = "encodingsListView";
    93100      this.encodingsListView.ShowGroups = false;
    94       this.encodingsListView.Size = new System.Drawing.Size(241, 384);
    95       this.encodingsListView.TabIndex = 3;
     101      this.encodingsListView.Size = new System.Drawing.Size(241, 378);
     102      this.encodingsListView.TabIndex = 2;
    96103      this.encodingsListView.UseCompatibleStateImageBehavior = false;
    97104      this.encodingsListView.View = System.Windows.Forms.View.Details;
     
    113120      this.addEncodingButton.Name = "addEncodingButton";
    114121      this.addEncodingButton.Size = new System.Drawing.Size(24, 24);
    115       this.addEncodingButton.TabIndex = 4;
     122      this.addEncodingButton.TabIndex = 0;
    116123      this.addEncodingButton.Text = "+";
    117124      this.addEncodingButton.UseVisualStyleBackColor = true;
     
    123130      this.removeEncodingButton.Name = "removeEncodingButton";
    124131      this.removeEncodingButton.Size = new System.Drawing.Size(24, 24);
    125       this.removeEncodingButton.TabIndex = 4;
     132      this.removeEncodingButton.TabIndex = 1;
    126133      this.removeEncodingButton.Text = "x";
    127134      this.removeEncodingButton.UseVisualStyleBackColor = true;
     
    144151      //
    145152      this.splitContainer.Panel2.Controls.Add(this.encodingDetailsGroupBox);
    146       this.splitContainer.Size = new System.Drawing.Size(643, 420);
     153      this.splitContainer.Size = new System.Drawing.Size(637, 414);
    147154      this.splitContainer.SplitterDistance = 247;
    148155      this.splitContainer.TabIndex = 5;
     
    156163      this.encodingDetailsGroupBox.Location = new System.Drawing.Point(3, 27);
    157164      this.encodingDetailsGroupBox.Name = "encodingDetailsGroupBox";
    158       this.encodingDetailsGroupBox.Size = new System.Drawing.Size(386, 390);
    159       this.encodingDetailsGroupBox.TabIndex = 1;
     165      this.encodingDetailsGroupBox.Size = new System.Drawing.Size(380, 384);
     166      this.encodingDetailsGroupBox.TabIndex = 0;
    160167      this.encodingDetailsGroupBox.TabStop = false;
    161168      this.encodingDetailsGroupBox.Text = "Details";
     
    170177      this.encodingDetailViewHost.Name = "encodingDetailViewHost";
    171178      this.encodingDetailViewHost.ReadOnly = false;
    172       this.encodingDetailViewHost.Size = new System.Drawing.Size(380, 371);
     179      this.encodingDetailViewHost.Size = new System.Drawing.Size(374, 365);
    173180      this.encodingDetailViewHost.TabIndex = 0;
    174181      this.encodingDetailViewHost.ViewsLabelVisible = true;
     
    177184      // encodingsGroupBox
    178185      //
     186      this.encodingsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     187            | System.Windows.Forms.AnchorStyles.Left)
     188            | System.Windows.Forms.AnchorStyles.Right)));
    179189      this.encodingsGroupBox.Controls.Add(this.splitContainer);
    180       this.encodingsGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
    181       this.encodingsGroupBox.Location = new System.Drawing.Point(3, 3);
     190      this.encodingsGroupBox.Location = new System.Drawing.Point(6, 6);
    182191      this.encodingsGroupBox.Name = "encodingsGroupBox";
    183       this.encodingsGroupBox.Size = new System.Drawing.Size(649, 439);
    184       this.encodingsGroupBox.TabIndex = 6;
     192      this.encodingsGroupBox.Size = new System.Drawing.Size(643, 433);
     193      this.encodingsGroupBox.TabIndex = 0;
    185194      this.encodingsGroupBox.TabStop = false;
    186195      this.encodingsGroupBox.Text = "Encodings";
     
    197206      this.tabControl.SelectedIndex = 0;
    198207      this.tabControl.Size = new System.Drawing.Size(663, 471);
    199       this.tabControl.TabIndex = 7;
     208      this.tabControl.TabIndex = 3;
    200209      //
    201210      // encodingsTabPage
     
    212221      // parametersTabPage
    213222      //
     223      this.parametersTabPage.Controls.Add(this.parameterCollectionView);
    214224      this.parametersTabPage.Location = new System.Drawing.Point(4, 22);
    215225      this.parametersTabPage.Name = "parametersTabPage";
     
    226236      this.Name = "MultiEncodingView";
    227237      this.Size = new System.Drawing.Size(666, 497);
    228       this.Controls.SetChildIndex(this.parameterCollectionView, 0);
    229238      this.Controls.SetChildIndex(this.nameLabel, 0);
    230239      this.Controls.SetChildIndex(this.nameTextBox, 0);
     
    240249      this.tabControl.ResumeLayout(false);
    241250      this.encodingsTabPage.ResumeLayout(false);
     251      this.parametersTabPage.ResumeLayout(false);
    242252      this.ResumeLayout(false);
    243253      this.PerformLayout();
  • branches/ProgrammableProblem/HeuristicLab.Problems.Programmable.Views/3.3/MultiEncodingView.cs

    r11952 r11957  
    4242    public MultiEncodingView() {
    4343      InitializeComponent();
    44       Controls.Remove(parameterCollectionView);
    45       parameterCollectionView.Dock = DockStyle.Fill;
    46       parametersTabPage.Controls.Add(parameterCollectionView);
    4744      addEncodingButton.Text = string.Empty;
    4845      addEncodingButton.Image = VSImageLibrary.Add;
Note: See TracChangeset for help on using the changeset viewer.