Skip to content

Commit

Permalink
Used points instead of pixels to ensure proper scaling (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Michaud authored and ravibpatel committed Nov 11, 2017
1 parent 77be2bb commit a3bcb04
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 24 deletions.
31 changes: 20 additions & 11 deletions AutoUpdater.NET/DownloadUpdateDialog.resx
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,15 @@
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="pictureBoxIcon.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 12</value>
<value>14, 14</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="pictureBoxIcon.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 4, 4, 4</value>
</data>
<data name="pictureBoxIcon.Size" type="System.Drawing.Size, System.Drawing">
<value>50, 54</value>
<value>59, 62</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="pictureBoxIcon.SizeMode" type="System.Windows.Forms.PictureBoxSizeMode, System.Windows.Forms">
<value>CenterImage</value>
</data>
Expand All @@ -145,10 +148,13 @@
<value>2</value>
</data>
<data name="progressBar.Location" type="System.Drawing.Point, System.Drawing">
<value>71, 39</value>
<value>84, 45</value>
</data>
<data name="progressBar.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 4, 4, 4</value>
</data>
<data name="progressBar.Size" type="System.Drawing.Size, System.Drawing">
<value>271, 23</value>
<value>316, 26</value>
</data>
<data name="progressBar.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
Expand All @@ -169,10 +175,13 @@
<value>True</value>
</data>
<data name="labelInformation.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 12px</value>
<value>Segoe UI, 9pt</value>
</data>
<data name="labelInformation.Location" type="System.Drawing.Point, System.Drawing">
<value>68, 21</value>
<value>81, 26</value>
</data>
<data name="labelInformation.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 0, 4, 0</value>
</data>
<data name="labelInformation.Size" type="System.Drawing.Size, System.Drawing">
<value>128, 15</value>
Expand All @@ -199,13 +208,13 @@
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value>
<value>7, 15</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>354, 78</value>
<value>413, 90</value>
</data>
<data name="$this.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 11px</value>
<value>Segoe UI, 9pt</value>
</data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
Expand Down Expand Up @@ -746,7 +755,7 @@
</value>
</data>
<data name="$this.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 2, 3, 2</value>
<value>4, 2, 4, 2</value>
</data>
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterParent</value>
Expand Down
18 changes: 9 additions & 9 deletions AutoUpdater.NET/RemindLaterForm.resx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
<value>Bottom</value>
</data>
<data name="radioButtonNo.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 12px, style=Bold</value>
<value>Segoe UI, 9pt, style=Bold</value>
</data>
<data name="radioButtonNo.Location" type="System.Drawing.Point, System.Drawing">
<value>91, 138</value>
Expand All @@ -169,7 +169,7 @@
<value>6, 3, 3, 3</value>
</data>
<data name="radioButtonNo.Size" type="System.Drawing.Size, System.Drawing">
<value>405, 19</value>
<value>406, 19</value>
</data>
<data name="radioButtonNo.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
Expand Down Expand Up @@ -220,7 +220,7 @@
<value>10, 3, 10, 3</value>
</data>
<data name="comboBoxRemindLater.Size" type="System.Drawing.Size, System.Drawing">
<value>114, 23</value>
<value>115, 23</value>
</data>
<data name="comboBoxRemindLater.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
Expand Down Expand Up @@ -280,7 +280,7 @@
<value>88, 51</value>
</data>
<data name="labelDescription.Size" type="System.Drawing.Size, System.Drawing">
<value>408, 45</value>
<value>409, 45</value>
</data>
<data name="labelDescription.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
Expand Down Expand Up @@ -311,7 +311,7 @@
<value>10, 3, 10, 3</value>
</data>
<data name="buttonOK.Size" type="System.Drawing.Size, System.Drawing">
<value>114, 32</value>
<value>115, 32</value>
</data>
<data name="buttonOK.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
Expand Down Expand Up @@ -365,19 +365,19 @@
<value>0</value>
</data>
<data name="tableLayoutPanel.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="pictureBoxIcon" Row="0" RowSpan="2" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="labelTitle" Row="0" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="radioButtonNo" Row="3" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="comboBoxRemindLater" Row="2" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="radioButtonYes" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="labelDescription" Row="1" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="buttonOK" Row="4" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Absolute,85,Absolute,280,Absolute,134" /&gt;&lt;Rows Styles="Absolute,32,Absolute,64,Absolute,32,Absolute,32,Absolute,16" /&gt;&lt;/TableLayoutSettings&gt;</value>
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="pictureBoxIcon" Row="0" RowSpan="2" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="labelTitle" Row="0" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="radioButtonNo" Row="3" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="comboBoxRemindLater" Row="2" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="radioButtonYes" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="labelDescription" Row="1" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="buttonOK" Row="4" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Absolute,85,Absolute,280,Absolute,135" /&gt;&lt;Rows Styles="Absolute,32,Absolute,64,Absolute,32,Absolute,32,Absolute,16" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<data name="labelTitle.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Bottom</value>
</data>
<data name="labelTitle.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 14px, style=Bold</value>
<value>Segoe UI, 10.5pt, style=Bold</value>
</data>
<data name="labelTitle.Location" type="System.Drawing.Point, System.Drawing">
<value>88, 13</value>
</data>
<data name="labelTitle.Size" type="System.Drawing.Size, System.Drawing">
<value>408, 19</value>
<value>409, 19</value>
</data>
<data name="labelTitle.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
Expand Down Expand Up @@ -407,7 +407,7 @@
<value>499, 198</value>
</data>
<data name="$this.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 12px</value>
<value>Segoe UI, 9pt</value>
</data>
<data name="$this.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 4, 3, 4</value>
Expand Down
8 changes: 4 additions & 4 deletions AutoUpdater.NET/UpdateForm.resx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
<value>True</value>
</data>
<data name="labelUpdate.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 14px, style=Bold</value>
<value>Segoe UI, 10.5pt, style=Bold</value>
</data>
<data name="labelUpdate.Location" type="System.Drawing.Point, System.Drawing">
<value>91, 14</value>
Expand Down Expand Up @@ -184,7 +184,7 @@
<value>True</value>
</data>
<data name="labelDescription.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 12px</value>
<value>Segoe UI, 9pt</value>
</data>
<data name="labelDescription.Location" type="System.Drawing.Point, System.Drawing">
<value>91, 50</value>
Expand Down Expand Up @@ -217,7 +217,7 @@
<value>True</value>
</data>
<data name="labelReleaseNotes.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 13px, style=Bold</value>
<value>Segoe UI, 9.75pt, style=Bold</value>
</data>
<data name="labelReleaseNotes.Location" type="System.Drawing.Point, System.Drawing">
<value>91, 90</value>
Expand Down Expand Up @@ -376,7 +376,7 @@
<value>643, 609</value>
</data>
<data name="$this.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 12px</value>
<value>Segoe UI, 9pt</value>
</data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
Expand Down

0 comments on commit a3bcb04

Please sign in to comment.