needed to remove TitleStyle setting This was something added automatically when we tried the new version of DotNetBar. We found problems so we went back to our previous version of DotNetBar.

need to move the _RibbonControl.Autosize setting out of the designer code module to here
This commit is contained in:
John Jenko 2013-01-08 16:48:20 +00:00
parent 9982b90359
commit 93c185c6c7
2 changed files with 1 additions and 5 deletions

View File

@ -272,7 +272,6 @@ namespace VEPROMS
//
//
//
this.itemContainer1.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
// itemContainer2
//
@ -289,7 +288,6 @@ namespace VEPROMS
//
//
//
this.itemContainer2.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
// itemContainer3
//
@ -310,7 +308,6 @@ namespace VEPROMS
//
//
//
this.itemContainer3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
// btnNew
//
@ -383,7 +380,6 @@ namespace VEPROMS
//
//
//
this.icRecentDocs.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
// labelItem8
//
@ -411,7 +407,6 @@ namespace VEPROMS
//
//
//
this.itemContainer5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
// btnOptions
//

View File

@ -355,6 +355,7 @@ namespace Volian.Controls.Library
public StepTabRibbon()
{
InitializeComponent();
_RibbonControl.AutoSize = true;
_RibbonControl.SizeChanged += new EventHandler(_RibbonControl_SizeChanged);
// When AutoExpand is set to true, [CTRL][F1] and double click will hide/expand the ribbon bar
// causing its state to be out of sync with that of the QAT menu option to