We find some bugs when using the QTitanRibbon, the bugs are listed as follow, we hope get your rely as early as possible, the details about bugs is described in the attachment
1、a window is maximized on startup, then after click the restore button, we hope the window is placed in the center screen.
2、when I change the size of the window, the action on the ribbonBar can auto change along the width of the window.
The appearance of window looks like as Microsfot Excel, you can do it as follows.
3、when I open many projects, then click RibbonSystemButton, the left area is less heighter than right area, which make the RibbonPageSystemRecentFileList not show completely
4、when I click these three “Small Buttons”、”Checkboxes && Radio Buttons”、”Groups”, the backgroundColor of the three button is show wrongly as follow, we hope only the backgroundcolor of current clicked button is gray
5、When run the “ribbonsample” demo, I switch the style to the Office 2010, then drag the taskbar of Windows OS to make it heighter, the statusar of my window(ribbonsample) show wrongly, which make the information on statusbar blocked
6、I placed a QToolBar in my window, then I want to style it by using QToolBar * pToolBar->setStyleSheet(“background: #ff0000”), but it show without any effect. In fact, my toolbar’s width is shown in the screenshot as below, but only a part of my toolbar is styled
（1）、we can create the three RIbbonPage named as p1、p2、p3
（2）、 p1 has one RibbonGroup, p2 has more than 60 RibbonGroup（only 6 RibbonGroup is visiable， others are hidden），p1 has also one RibbonGroup
（3）、p1 is the current RibbonPage when the window start up
（4）、then, we switch to p3
（5）、now, we switch to p2, but all the RibbonGroups of p2 are not visiable
We analy the reason of produce the bug：
（1）、the rect of every RibbonPage in RibbonBar is（0,0,100,30）, and RibbonPage keep the m_minWidth（default value is 100）
（2）、when the RibbonGroups of the RibbonPage show again, it need to calcute the min width of RibbonGroup, then sum all the min width of all RibbonGroup，plus 2（2 is the default width of group），which make the minimum width together is bigger than 100
（3）、due to the final result is bigger than m_minWidth，the p2 can not show rightly。