Adjusted Tab Label width for DPI
Corrected RightMargin initialization
This commit is contained in:
@@ -424,7 +424,7 @@ namespace Volian.Controls.Library
|
||||
ItemInfo.ResetTabString(MyID);
|
||||
string tabString = _MyItemInfo.MyTab.CleanText;
|
||||
lblTab.Text = tabString;
|
||||
lblTab.Width = tabString.Length * 8;
|
||||
lblTab.Width = tabString.Length * 8 * MyStepPanel.DPI / 96;// Adjust width for DPI
|
||||
Invalidate();
|
||||
_MyStepRTB.Left = lblTab.Left + lblTab.Width;// +2;
|
||||
_MyStepRTB.Width = Width - _MyStepRTB.Left;
|
||||
|
Reference in New Issue
Block a user