You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Documents/Changelog/Changelog.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@
8
8
* Resolved [#2542](https://github.com/Krypton-Suite/Standard-Toolkit/issues/2542), `KryptonForm` cannot be resized by dragging upper corners.
9
9
* Implemented [#2575](https://github.com/Krypton-Suite/Standard-Toolkit/issues/2575), **[Breaking Change]**`CommonHelper.DesignMode()` behaviour changed, see issue for details.
10
10
* Implemented [#2559](https://github.com/Krypton-Suite/Standard-Toolkit/issues/2559), Allow `release.yml` to automatically push packages
11
+
* Implemented [#331](https://github.com/Krypton-Suite/Standard-Toolkit/issues/331), Make the "No Tab in a ribbon Solution" An Actual Designer Tool
11
12
* Resolved [#2331](https://github.com/Krypton-Suite/Standard-Toolkit/issues/2331), Correction of edges, 3D effect and color adjustment in `KryptonRibbon` in Office 2010 themes.
12
13
* Resolved [#2548](https://github.com/Krypton-Suite/Standard-Toolkit/issues/2548), Fixed color assignment for `GroupSeparatorLight`, `QATButtonDarkColor` and `QATButtonLightColor` in `PopulateFromBase`.
Copy file name to clipboardExpand all lines: Source/Krypton Components/Krypton.Ribbon/Controls Ribbon/KryptonRibbon.cs
+12-18Lines changed: 12 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -83,10 +83,7 @@ public RibbonButtonSpecAnyCollection(KryptonRibbon owner)
83
83
// Properties
84
84
privatebool_minimizedMode;
85
85
privatebool_showMinimizeButton;
86
-
87
-
// ToDo: Reinvestigate for #331 in the future, see https://github.com/Krypton-Suite/Standard-Toolkit/issues/331 & https://github.com/Krypton-Suite/Standard-Toolkit/issues/2584 for more information
88
-
//private bool _showTabs;
89
-
86
+
privatebool_showTabs;
90
87
privatestring_selectedContext;
91
88
privateSize_hideRibbonSize;
92
89
privateQATLocation_qatLocation;
@@ -904,8 +901,7 @@ public QATLocation QATLocation
// ToDo: Reinvestigate for #331 in the future, see https://github.com/Krypton-Suite/Standard-Toolkit/issues/331 & https://github.com/Krypton-Suite/Standard-Toolkit/issues/2584 for more information
908
-
/*/// <summary>
904
+
/// <summary>
909
905
/// Gets and sets a value indicating if ribbon tabs are visible.
910
906
/// </summary>
911
907
[Category(@"Values")]
@@ -929,7 +925,7 @@ public bool ShowTabs
929
925
/// <summary>
930
926
/// Resets the ShowTabs property to its default value.
931
927
/// </summary>
932
-
public void ResetShowTabs() => ShowTabs = true;*/
928
+
publicvoidResetShowTabs()=>ShowTabs=true;
933
929
934
930
/// <summary>
935
931
/// Gets and sets a value indicating if a minimize/expand button appears on the ribbon tab ara.
// ToDo: Reinvestigate for #331 in the future, see https://github.com/Krypton-Suite/Standard-Toolkit/issues/331 & https://github.com/Krypton-Suite/Standard-Toolkit/issues/2584 for more information
1835
-
/*/// <summary>
1830
+
/// <summary>
1836
1831
/// Updates the visibility of the tabs area and caption area based on the ShowTabs property.
// ToDo: Reinvestigate for #331 in the future, see https://github.com/Krypton-Suite/Standard-Toolkit/issues/331 & https://github.com/Krypton-Suite/Standard-Toolkit/issues/2584 for more information
2729
+
2736
2730
// Add tabs area and caption area only if tabs are visible
2737
-
/*if (_showTabs)
2731
+
if(_showTabs)
2738
2732
{
2739
2733
_ribbonDocker.Add(TabsArea,ViewDockStyle.Top);
2740
2734
_ribbonDocker.Add(CaptionArea,ViewDockStyle.Top);
2741
-
}*/
2735
+
}
2742
2736
2743
2737
// The root contains the top and fills out with the panel areas
Copy file name to clipboardExpand all lines: Source/Krypton Components/Krypton.Ribbon/Designers/Designers/KryptonRibbonDesigner.cs
+23-35Lines changed: 23 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,8 @@ internal class KryptonRibbonDesigner : ParentControlDesigner
24
24
privateDesignerVerb_clearTabsVerb;
25
25
privateDesignerVerb_noTabVerb;
26
26
privateDesignerVerb_setTabVerb;
27
-
28
-
// ToDo: Reinvestigate for #331 in the future, see https://github.com/Krypton-Suite/Standard-Toolkit/issues/331 & https://github.com/Krypton-Suite/Standard-Toolkit/issues/2584 for more information
29
-
// Disabled ShowTabs feature temporarily due to rendering issues with KryptonRibbonContext
30
-
// private DesignerVerb _hideTabsVerb;
31
-
// private DesignerVerb _showTabsVerb;
32
-
27
+
privateDesignerVerb_hideTabsVerb;
28
+
privateDesignerVerb_showTabsVerb;
33
29
privatebool_lastHitTest;
34
30
35
31
#endregion
@@ -151,12 +147,9 @@ public override DesignerVerbCollection Verbs
_setTabVerb=newDesignerVerb(@"Select First Tab",OnSetTab);
154
-
155
-
// ToDo: Reinvestigate for #331 in the future, see https://github.com/Krypton-Suite/Standard-Toolkit/issues/331 & https://github.com/Krypton-Suite/Standard-Toolkit/issues/2584 for more information
156
-
// Disabled ShowTabs feature temporarily due to rendering issues with KryptonRibbonContext
157
-
// _hideTabsVerb = new DesignerVerb(@"Hide Tab Headers", OnHideTabs);
158
-
// _showTabsVerb = new DesignerVerb(@"Show Tab Headers", OnShowTabs);
// ToDo: Reinvestigate for #331 in the future, see https://github.com/Krypton-Suite/Standard-Toolkit/issues/331 & https://github.com/Krypton-Suite/Standard-Toolkit/issues/2584 for more information
290
-
// Disabled ShowTabs feature temporarily due to rendering issues with KryptonRibbonContext
281
+
291
282
// Update the Hide Tabs / Show Tabs verbs based on current state
// ToDo: Reinvestigate for #331 in the future, see https://github.com/Krypton-Suite/Standard-Toolkit/issues/331 & https://github.com/Krypton-Suite/Standard-Toolkit/issues/2584 for more information
468
-
/*//Disabled ShowTabs feature temporarily due to rendering issues with KryptonRibbonContext
469
-
/// <summary>
470
-
/// Handles the "Hide Tabs" designer verb click.
471
-
/// Hides the ribbon tabs to create a toolbar-like interface.
472
-
/// </summary>
473
-
/// <param name="sender">The source of the event.</param>
474
-
/// <param name="e">An EventArgs that contains the event data.</param>
0 commit comments