Changeset 2243 for trunk/eraser


Ignore:
Timestamp:
8/8/2010 7:12:55 AM (4 years ago)
Author:
lowjoel
Message:

Updated the SchedulerPanel? and BasePanel? to be DPI-aware. Addresses #303: Verify Eraser's UI in high DPI mode

Location:
trunk/eraser/Eraser
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser/BasePanel.Designer.cs

    r1675 r2243  
    7575            // BasePanel 
    7676            //  
    77             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; 
     77            resources.ApplyResources(this, "$this"); 
     78            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; 
    7879            this.Controls.Add(this.content); 
    7980            this.Controls.Add(this.titleIcon); 
    8081            this.Controls.Add(this.titleLabel); 
    8182            this.Name = "BasePanel"; 
    82             resources.ApplyResources(this, "$this"); 
    8383            ((System.ComponentModel.ISupportInitialize)(this.titleIcon)).EndInit(); 
    8484            this.ResumeLayout(false); 
  • trunk/eraser/Eraser/BasePanel.resx

    r904 r2243  
    127127  </data> 
    128128  <data name="titleLabel.Location" type="System.Drawing.Point, System.Drawing"> 
    129     <value>50, 17</value> 
     129    <value>50, 16</value> 
    130130  </data> 
    131131  <data name="titleLabel.Size" type="System.Drawing.Size, System.Drawing"> 
     
    181181    <value>24, 24</value> 
    182182  </data> 
     183  <data name="titleIcon.SizeMode" type="System.Windows.Forms.PictureBoxSizeMode, System.Windows.Forms"> 
     184    <value>StretchImage</value> 
     185  </data> 
    183186  <data name="titleIcon.TabIndex" type="System.Int32, mscorlib"> 
    184187    <value>1</value> 
     
    199202    <value>True</value> 
    200203  </metadata> 
     204  <data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing"> 
     205    <value>96, 96</value> 
     206  </data> 
    201207  <data name="$this.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms"> 
    202208    <value>17, 17, 17, 17</value> 
  • trunk/eraser/Eraser/SchedulerPanel.Designer.cs

    r2241 r2243  
    202202            // SchedulerPanel 
    203203            //  
     204            resources.ApplyResources(this, "$this"); 
    204205            this.DoubleBuffered = true; 
    205206            this.Name = "SchedulerPanel"; 
  • trunk/eraser/Eraser/SchedulerPanel.resx

    r2241 r2243  
    135135  </data> 
    136136  <data name="&gt;&gt;titleLabel.ZOrder" xml:space="preserve"> 
    137     <value>3</value> 
     137    <value>2</value> 
    138138  </data> 
    139139  <data name="&gt;&gt;titleIcon.Name" xml:space="preserve"> 
     
    147147  </data> 
    148148  <data name="&gt;&gt;titleIcon.ZOrder" xml:space="preserve"> 
    149     <value>2</value> 
     149    <value>1</value> 
    150150  </data> 
    151151  <data name="schedulerProgress.Location" type="System.Drawing.Point, System.Drawing"> 
     
    239239  </data> 
    240240  <data name="schedulerMenu.Size" type="System.Drawing.Size, System.Drawing"> 
    241     <value>188, 148</value> 
     241    <value>188, 126</value> 
    242242  </data> 
    243243  <data name="&gt;&gt;schedulerMenu.Name" xml:space="preserve"> 
     
    308308  </data> 
    309309  <data name="&gt;&gt;content.ZOrder" xml:space="preserve"> 
    310     <value>1</value> 
     310    <value>0</value> 
    311311  </data> 
    312312  <metadata name="schedulerDefaultMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 
     
    331331    <value>True</value> 
    332332  </metadata> 
     333  <data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing"> 
     334    <value>96, 96</value> 
     335  </data> 
    333336  <data name="&gt;&gt;schedulerColName.Name" xml:space="preserve"> 
    334337    <value>schedulerColName</value> 
Note: See TracChangeset for help on using the changeset viewer.