Fixed alignment of tool icons for text element component

This commit is contained in:
Thorsten Sommer 2022-09-20 20:44:17 +02:00
parent 7c5ace5b87
commit 93908243f2
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 20 additions and 23 deletions

View File

@ -34,13 +34,13 @@
this.buttonAdd = new System.Windows.Forms.Button();
this.buttonRemove = new System.Windows.Forms.Button();
this.buttonRename = new System.Windows.Forms.Button();
this.buttonChangeMultiLine = new System.Windows.Forms.Button();
this.textBoxFilter = new System.Windows.Forms.TextBox();
this.labelFilter = new System.Windows.Forms.Label();
this.labelSectionPath = new System.Windows.Forms.Label();
this.listTextElements = new System.Windows.Forms.ListView();
this.column = new System.Windows.Forms.ColumnHeader();
this.toolTip = new System.Windows.Forms.ToolTip(this.components);
this.buttonChangeMultiLine = new System.Windows.Forms.Button();
this.tableLayout.SuspendLayout();
this.flowLayoutToolbar.SuspendLayout();
this.SuspendLayout();
@ -77,8 +77,8 @@
this.flowLayoutToolbar.Location = new System.Drawing.Point(0, 0);
this.flowLayoutToolbar.Margin = new System.Windows.Forms.Padding(0);
this.flowLayoutToolbar.Name = "flowLayoutToolbar";
this.tableLayout.SetRowSpan(this.flowLayoutToolbar, 3);
this.flowLayoutToolbar.Size = new System.Drawing.Size(66, 302);
this.tableLayout.SetRowSpan(this.flowLayoutToolbar, 2);
this.flowLayoutToolbar.Size = new System.Drawing.Size(66, 262);
this.flowLayoutToolbar.TabIndex = 0;
//
// buttonAdd
@ -87,7 +87,7 @@
this.buttonAdd.FlatAppearance.BorderSize = 0;
this.buttonAdd.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonAdd.Image = global::UI_WinForms.Resources.Icons.icons8_add_tag_512;
this.buttonAdd.Location = new System.Drawing.Point(3, 239);
this.buttonAdd.Location = new System.Drawing.Point(3, 199);
this.buttonAdd.Name = "buttonAdd";
this.buttonAdd.Size = new System.Drawing.Size(60, 60);
this.buttonAdd.TabIndex = 0;
@ -101,7 +101,7 @@
this.buttonRemove.FlatAppearance.BorderSize = 0;
this.buttonRemove.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonRemove.Image = global::UI_WinForms.Resources.Icons.icons8_remove_tag_512;
this.buttonRemove.Location = new System.Drawing.Point(3, 173);
this.buttonRemove.Location = new System.Drawing.Point(3, 133);
this.buttonRemove.Name = "buttonRemove";
this.buttonRemove.Size = new System.Drawing.Size(60, 60);
this.buttonRemove.TabIndex = 2;
@ -115,7 +115,7 @@
this.buttonRename.FlatAppearance.BorderSize = 0;
this.buttonRename.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonRename.Image = global::UI_WinForms.Resources.Icons.icons8_rename_512;
this.buttonRename.Location = new System.Drawing.Point(3, 107);
this.buttonRename.Location = new System.Drawing.Point(3, 67);
this.buttonRename.Name = "buttonRename";
this.buttonRename.Size = new System.Drawing.Size(60, 60);
this.buttonRename.TabIndex = 1;
@ -123,6 +123,20 @@
this.buttonRename.UseVisualStyleBackColor = true;
this.buttonRename.Click += new System.EventHandler(this.buttonRename_Click);
//
// buttonChangeMultiLine
//
this.buttonChangeMultiLine.Enabled = false;
this.buttonChangeMultiLine.FlatAppearance.BorderSize = 0;
this.buttonChangeMultiLine.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonChangeMultiLine.Image = global::UI_WinForms.Resources.Icons.icons8_align_text_left_512;
this.buttonChangeMultiLine.Location = new System.Drawing.Point(69, 199);
this.buttonChangeMultiLine.Name = "buttonChangeMultiLine";
this.buttonChangeMultiLine.Size = new System.Drawing.Size(60, 60);
this.buttonChangeMultiLine.TabIndex = 3;
this.toolTip.SetToolTip(this.buttonChangeMultiLine, "Toggles the selected element\'s multi-line state");
this.buttonChangeMultiLine.UseVisualStyleBackColor = true;
this.buttonChangeMultiLine.Click += new System.EventHandler(this.buttonChangeMultiLine_Click);
//
// textBoxFilter
//
this.textBoxFilter.Dock = System.Windows.Forms.DockStyle.Fill;
@ -186,20 +200,6 @@
this.toolTip.ToolTipIcon = System.Windows.Forms.ToolTipIcon.Info;
this.toolTip.ToolTipTitle = "Help";
//
// buttonChangeMultiLine
//
this.buttonChangeMultiLine.Enabled = false;
this.buttonChangeMultiLine.FlatAppearance.BorderSize = 0;
this.buttonChangeMultiLine.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonChangeMultiLine.Image = global::UI_WinForms.Resources.Icons.icons8_align_text_left_512;
this.buttonChangeMultiLine.Location = new System.Drawing.Point(3, 41);
this.buttonChangeMultiLine.Name = "buttonChangeMultiLine";
this.buttonChangeMultiLine.Size = new System.Drawing.Size(60, 60);
this.buttonChangeMultiLine.TabIndex = 3;
this.toolTip.SetToolTip(this.buttonChangeMultiLine, "Toggles the selected element\'s multi-line state");
this.buttonChangeMultiLine.UseVisualStyleBackColor = true;
this.buttonChangeMultiLine.Click += new System.EventHandler(this.buttonChangeMultiLine_Click);
//
// TextElements
//
this.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F);

View File

@ -60,7 +60,4 @@
<metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>