WeifenLuoLinux небольшие правки в тексте на вкладках

This commit is contained in:
Mikhalkovich Stanislav 2023-10-12 17:49:08 +03:00
parent 6fc6181cb6
commit d6053de938
8 changed files with 16 additions and 25 deletions

View file

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

View file

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

View file

@ -1 +1 @@
3.9.0.3371 3.9.0.3372

View file

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

View file

@ -22,7 +22,7 @@
<SignAssembly>true</SignAssembly> <SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>dockpanelsuite.snk</AssemblyOriginatorKeyFile> <AssemblyOriginatorKeyFile>dockpanelsuite.snk</AssemblyOriginatorKeyFile>
<EnableDefaultItems>false</EnableDefaultItems> <EnableDefaultItems>false</EnableDefaultItems>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> <GeneratePackageOnBuild>false</GeneratePackageOnBuild>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
@ -37,21 +37,13 @@
<AutoGen>True</AutoGen> <AutoGen>True</AutoGen>
<DesignTime>True</DesignTime> <DesignTime>True</DesignTime>
</Compile> </Compile>
<Compile Include="ThemeVS2005\VS2005AutoHideStrip.cs"> <Compile Include="ThemeVS2005\VS2005AutoHideStrip.cs" />
<SubType>Component</SubType>
</Compile>
<Compile Include="ThemeVS2005\VS2005AutoHideWindowFactory.cs" /> <Compile Include="ThemeVS2005\VS2005AutoHideWindowFactory.cs" />
<Compile Include="ThemeVS2005\VS2005DockIndicatorFactory.cs" /> <Compile Include="ThemeVS2005\VS2005DockIndicatorFactory.cs" />
<Compile Include="ThemeVS2005\VS2005DockPaneCaption.cs"> <Compile Include="ThemeVS2005\VS2005DockPaneCaption.cs" />
<SubType>Component</SubType>
</Compile>
<Compile Include="ThemeVS2005\VS2005DockPaneSplitterControlFactory.cs" /> <Compile Include="ThemeVS2005\VS2005DockPaneSplitterControlFactory.cs" />
<Compile Include="ThemeVS2005\VS2005DockPaneStrip.cs"> <Compile Include="ThemeVS2005\VS2005DockPaneStrip.cs" />
<SubType>Component</SubType> <Compile Include="ThemeVS2005\VS2005Theme.cs" />
</Compile>
<Compile Include="ThemeVS2005\VS2005Theme.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="ThemeVS2005\VS2005PaneIndicatorFactory.cs" /> <Compile Include="ThemeVS2005\VS2005PaneIndicatorFactory.cs" />
<Compile Include="ThemeVS2005\VS2005PanelIndicatorFactory.cs" /> <Compile Include="ThemeVS2005\VS2005PanelIndicatorFactory.cs" />
<Compile Include="ThemeVS2005\VS2005DockOutlineFactory.cs" /> <Compile Include="ThemeVS2005\VS2005DockOutlineFactory.cs" />
@ -64,12 +56,6 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None> </None>
</ItemGroup> </ItemGroup>
<ItemGroup>
<ProjectReference Include="WeifenLuo.WinFormsUI.Docking.Linux.csproj">
<Project>{C75532C4-765B-418E-B09B-46D36B2ABDB1}</Project>
<Name>WinFormsUI</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="ThemeVS2005\Resources.resx"> <EmbeddedResource Include="ThemeVS2005\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator> <Generator>ResXFileCodeGenerator</Generator>
@ -154,5 +140,8 @@
<ItemGroup> <ItemGroup>
<None Include="ThemeVS2005\Resources\DockPane_OptionOverflow.png" /> <None Include="ThemeVS2005\Resources\DockPane_OptionOverflow.png" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<ProjectReference Include="WeifenLuo.WinFormsUI.Docking.Linux.csproj" />
</ItemGroup>
</Project> </Project>

View file

@ -119,7 +119,7 @@ namespace WeifenLuo.WinFormsUI.Docking
private const int _DocumentTabGapTop = 3; private const int _DocumentTabGapTop = 3;
private const int _DocumentTabGapLeft = 3; private const int _DocumentTabGapLeft = 3;
private const int _DocumentTabGapRight = 3; private const int _DocumentTabGapRight = 3;
private const int _DocumentIconGapBottom = 2; private const int _DocumentIconGapBottom = 5;
private const int _DocumentIconGapLeft = 8; private const int _DocumentIconGapLeft = 8;
private const int _DocumentIconGapRight = 0; private const int _DocumentIconGapRight = 0;
private const int _DocumentIconHeight = 16; private const int _DocumentIconHeight = 16;
@ -1365,6 +1365,8 @@ namespace WeifenLuo.WinFormsUI.Docking
else else
rectText.Width = rect.Width - DocumentIconGapLeft - DocumentTextGapRight; rectText.Width = rect.Width - DocumentIconGapLeft - DocumentTextGapRight;
rectText.Height = rectText.Height + 4;
Rectangle rectTab = DrawHelper.RtlTransform(this, rect); Rectangle rectTab = DrawHelper.RtlTransform(this, rect);
Rectangle rectBack = DrawHelper.RtlTransform(this, rect); Rectangle rectBack = DrawHelper.RtlTransform(this, rect);
rectBack.Width += DocumentIconGapLeft; rectBack.Width += DocumentIconGapLeft;