Linux IDE - корректное отображение панелей дебаггинга

Linux IDE - жирность шрифтов в подсветке для МО линукс
This commit is contained in:
Mikhalkovich Stanislav 2023-10-25 10:42:56 +03:00
parent aac1468a36
commit 3c84fd55fb
10 changed files with 49 additions and 8 deletions

View file

@ -15,7 +15,7 @@ internal static class RevisionClass
public const string Major = "3";
public const string Minor = "9";
public const string Build = "0";
public const string Revision = "3372";
public const string Revision = "3376";
public const string MainVersion = Major + "." + Minor;
public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision;

View file

@ -1,4 +1,4 @@
%COREVERSION%=0
%REVISION%=3372
%REVISION%=3376
%MINOR%=9
%MAJOR%=3

View file

@ -1 +1 @@
3.9.0.3372
3.9.0.3376

View file

@ -1 +1 @@
!define VERSION '3.9.0.3372'
!define VERSION '3.9.0.3376'

View file

@ -3,5 +3,6 @@
SetOutPath "$INSTDIR\Files\Databases"
File "Files\Databases\*.csv"
File "Files\Databases\*.txt"
File "Files\Words\*.txt"
SectionEnd

View file

@ -299,6 +299,20 @@ namespace VisualPascalABC
this.ResumeLayout(false);
this.PerformLayout();
}
else if (gr.DpiX >= 144)
{
this.SuspendLayout();
this.toolStripPanel.SuspendLayout();
this.menuStrip1.SuspendLayout();
toolStrip1.ImageScalingSize = new Size(24, 24);
menuStrip1.ImageScalingSize = new Size(24, 24);
toolStripPanel.Size = new Size(toolStripPanel.Size.Width, 30);
this.toolStripPanel.ResumeLayout(false);
this.menuStrip1.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
// !!
gr.Dispose();
serviceContainer = new WorkbenchServiceContainer();

View file

@ -643,9 +643,13 @@ namespace VisualPascalABC
{
if (!BottomTabsVisible)
BottomTabsVisible = true;
//BPanel_Resize(null, EventArgs.Empty);
BottomDockPanel.Size = new System.Drawing.Size(1920, 1080);
if (DebugWatchListWindow != null)
ShowContent(DebugWatchListWindow, false);
ShowContent(DebugVariablesListWindow, false);
this.Width = this.Width + 1;
this.Width = this.Width - 1;
}
}
else

View file

@ -307,14 +307,36 @@ namespace WeifenLuo.WinFormsUI.Docking
if (m_boldFont == null)
{
m_font = TextFont;
m_boldFont = new Font(TextFont, FontStyle.Bold);
FontFamily validFontFamily = TextFont.FontFamily; // SSM 12/10/23
foreach (FontFamily ff in FontFamily.Families)
{
if (ff.Name == TextFont.FontFamily.Name)
{
validFontFamily = ff;
break;
}
}
m_font = new Font(validFontFamily, TextFont.Size, FontStyle.Regular);
//m_font = TextFont;
m_boldFont = new Font(m_font, FontStyle.Bold);
}
else if (m_font != TextFont)
{
m_boldFont.Dispose();
m_font = TextFont;
m_boldFont = new Font(TextFont, FontStyle.Bold);
FontFamily validFontFamily = TextFont.FontFamily; // SSM 12/10/23
foreach (FontFamily ff in FontFamily.Families)
{
if (ff.Name == TextFont.FontFamily.Name)
{
validFontFamily = ff;
break;
}
}
m_font = new Font(validFontFamily, TextFont.Size, FontStyle.Regular);
//m_font = TextFont;
m_boldFont = new Font(m_font, FontStyle.Bold);
}
return m_boldFont;

Binary file not shown.