Changeset 117


Ignore:
Timestamp:
3/7/2008 6:06:52 AM (6 years ago)
Author:
lowjoel
Message:

Minor tweaks to make the LightGroup? class of higher quality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/Eraser/LightGroup.Designer.cs

    r115 r117  
    3737            // container 
    3838            //  
     39            this.container.AutoSize = true; 
    3940            this.container.ColumnCount = 2; 
    4041            this.container.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); 
    4142            this.container.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); 
    42             this.container.Controls.Add(this.separator, 0, 2); 
     43            this.container.Controls.Add(this.separator, 1, 0); 
    4344            this.container.Controls.Add(this.label, 0, 0); 
    4445            this.container.Dock = System.Windows.Forms.DockStyle.Fill; 
    45             this.container.Location = new System.Drawing.Point(0, 0); 
     46            this.container.Location = new System.Drawing.Point(0, 10); 
    4647            this.container.Name = "container"; 
    47             this.container.RowCount = 3; 
    48             this.container.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 24.99813F)); 
    49             this.container.RowStyles.Add(new System.Windows.Forms.RowStyle()); 
    50             this.container.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 75.00188F)); 
    51             this.container.Size = new System.Drawing.Size(274, 21); 
     48            this.container.RowCount = 1; 
     49            this.container.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); 
     50            this.container.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); 
     51            this.container.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); 
     52            this.container.Size = new System.Drawing.Size(274, 23); 
    5253            this.container.TabIndex = 3; 
    5354            //  
     
    5556            //  
    5657            this.label.AutoSize = true; 
     58            this.label.Dock = System.Windows.Forms.DockStyle.Fill; 
    5759            this.label.Location = new System.Drawing.Point(3, 4); 
    5860            this.label.Margin = new System.Windows.Forms.Padding(3, 4, 0, 0); 
    5961            this.label.Name = "label"; 
    60             this.container.SetRowSpan(this.label, 3); 
    61             this.label.Size = new System.Drawing.Size(59, 13); 
     62            this.label.Size = new System.Drawing.Size(59, 19); 
    6263            this.label.TabIndex = 1; 
    6364            this.label.Text = "Group Title"; 
     
    6566            // separator 
    6667            //  
     68            this.separator.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
     69                        | System.Windows.Forms.AnchorStyles.Left) 
     70                        | System.Windows.Forms.AnchorStyles.Right))); 
    6771            this.separator.Angle = 90; 
    68             this.separator.Dock = System.Windows.Forms.DockStyle.Fill; 
    69             this.separator.Location = new System.Drawing.Point(62, 13); 
    70             this.separator.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0); 
     72            this.separator.Location = new System.Drawing.Point(62, 9); 
     73            this.separator.Margin = new System.Windows.Forms.Padding(0, 9, 0, 0); 
    7174            this.separator.Name = "separator"; 
    7275            this.separator.Size = new System.Drawing.Size(212, 2); 
    73             this.separator.TabIndex = 3; 
     76            this.separator.TabIndex = 6; 
    7477            //  
    7578            // LightGroup 
    7679            //  
    77             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 
    78             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 
     80            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; 
     81            this.AutoSize = true; 
    7982            this.Controls.Add(this.container); 
    8083            this.Name = "LightGroup"; 
    81             this.Size = new System.Drawing.Size(274, 21); 
     84            this.Padding = new System.Windows.Forms.Padding(0, 10, 0, 5); 
     85            this.Size = new System.Drawing.Size(274, 38); 
    8286            this.container.ResumeLayout(false); 
    8387            this.container.PerformLayout(); 
    8488            this.ResumeLayout(false); 
     89            this.PerformLayout(); 
    8590 
    8691        } 
     
    8994 
    9095        private System.Windows.Forms.TableLayoutPanel container; 
    91         protected System.Windows.Forms.Label label; 
    9296        private Trustbridge.Windows.Controls.BevelLine separator; 
     97        private System.Windows.Forms.Label label; 
    9398 
    9499    } 
Note: See TracChangeset for help on using the changeset viewer.