mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-09 05:34:05 +02:00
Change default RichTextLabel font size and update layout of Forms that used it
This commit is contained in:
parent
a48ce84756
commit
6c53f10810
6
Core/FormBackgroundWork.Designer.cs
generated
6
Core/FormBackgroundWork.Designer.cs
generated
@ -31,7 +31,7 @@ private void InitializeComponent() {
|
||||
//
|
||||
this.progressBarUseless.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.progressBarUseless.Location = new System.Drawing.Point(12, 55);
|
||||
this.progressBarUseless.Location = new System.Drawing.Point(12, 49);
|
||||
this.progressBarUseless.MarqueeAnimationSpeed = 10;
|
||||
this.progressBarUseless.Name = "progressBarUseless";
|
||||
this.progressBarUseless.Size = new System.Drawing.Size(480, 23);
|
||||
@ -48,7 +48,7 @@ private void InitializeComponent() {
|
||||
this.labelDescription.Name = "labelDescription";
|
||||
this.labelDescription.ReadOnly = true;
|
||||
this.labelDescription.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
|
||||
this.labelDescription.Size = new System.Drawing.Size(480, 37);
|
||||
this.labelDescription.Size = new System.Drawing.Size(480, 31);
|
||||
this.labelDescription.TabIndex = 1;
|
||||
this.labelDescription.TabStop = false;
|
||||
this.labelDescription.Text = "";
|
||||
@ -57,7 +57,7 @@ private void InitializeComponent() {
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(504, 90);
|
||||
this.ClientSize = new System.Drawing.Size(504, 84);
|
||||
this.Controls.Add(this.labelDescription);
|
||||
this.Controls.Add(this.progressBarUseless);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
|
@ -8,7 +8,7 @@ public partial class RichTextLabel : RichTextBox{
|
||||
/// </summary>
|
||||
public static string Wrap(string str){
|
||||
string rtf = @"{\rtf1\ansi\ansicpg1250\deff0\deflang1029{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}}";
|
||||
rtf += @"{\*\generator Msftedit 4.20.69.1337;}\viewkind4\uc1\pard\sa200\sl276\slmult1\lang1036\f0\fs20 ";
|
||||
rtf += @"{\*\generator Msftedit 4.20.69.1337;}\viewkind4\uc1\pard\sa200\sl276\slmult1\lang1036\f0\fs16 ";
|
||||
rtf += str;
|
||||
return rtf;
|
||||
}
|
||||
|
6
Migration/FormMigrationQuestion.Designer.cs
generated
6
Migration/FormMigrationQuestion.Designer.cs
generated
@ -57,7 +57,7 @@ private void InitializeComponent() {
|
||||
this.panelButtons.Controls.Add(this.btnMigrate);
|
||||
this.panelButtons.Controls.Add(this.btnMigrateUninstall);
|
||||
this.panelButtons.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
|
||||
this.panelButtons.Location = new System.Drawing.Point(12, 101);
|
||||
this.panelButtons.Location = new System.Drawing.Point(12, 87);
|
||||
this.panelButtons.Name = "panelButtons";
|
||||
this.panelButtons.Size = new System.Drawing.Size(480, 23);
|
||||
this.panelButtons.TabIndex = 0;
|
||||
@ -129,7 +129,7 @@ private void InitializeComponent() {
|
||||
this.labelQuestion.Name = "labelQuestion";
|
||||
this.labelQuestion.ReadOnly = true;
|
||||
this.labelQuestion.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
|
||||
this.labelQuestion.Size = new System.Drawing.Size(443, 86);
|
||||
this.labelQuestion.Size = new System.Drawing.Size(443, 72);
|
||||
this.labelQuestion.TabIndex = 2;
|
||||
this.labelQuestion.TabStop = false;
|
||||
this.labelQuestion.Text = "";
|
||||
@ -138,7 +138,7 @@ private void InitializeComponent() {
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(504, 136);
|
||||
this.ClientSize = new System.Drawing.Size(504, 122);
|
||||
this.Controls.Add(this.labelQuestion);
|
||||
this.Controls.Add(this.panelButtons);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
|
Loading…
Reference in New Issue
Block a user