Hi all,
We use in our WinForms application an ApplicationMenu2010. On some options we show a PopupControlContainerTool on the right to show custom settings.
If I now select such an option (In the screenshot option "User interface") and the size of the complete window is too small to show the complete PopupControlContainerTool on the right I would expect to see a horizontal scrollbar. But that scrollbar doesn't appear until I grap and move the outside border of the window.
How can I make this scrollbar appear directly when such an option is selected and the content doesn't fit?
Before grapping the border:
After slightly moving the border:
Thanks in advance!
Michael
Hello Michael,
I have been investigating into this issue that you are seeing, and at the moment I am unable to see the exact behavior you are describing, although I am able to see some unexpected behavior. I have put together a sample project where there exists a Button and a Label inside of the PopupControlContainerTool, and on Button click, the Width is set to something very large that will not fit within the form. In doing this, I am unable to see the horizontal scrollbars, but when resizing the form, I am also unable to see the horizontal scrollbars. It is only when I close the ApplicationMenu2010 and reopen it that I see the horizontal scrollbars, which seems to be different from your scenario in this case.
This is still unexpected behavior, and I have asked our engineering staff to examine this issue a bit further, but I am cautious to see if this scenario is similar enough to the behavior that you are seeing that it is the same root cause. As such, I am attaching the sample project that I used to test this issue.
I have also created you a private support case with an ID of CAS-190279-B8J7P7 which I will be linking to an internally logged development issue, 248452. You can access this support case here: https://ko.infragistics.com/my-account/support-activity.
Please let me know if you have any other questions or concerns on this matter.
AppMenu2010HorizontalScrollCase.zip
Sincerely,AndrewSoftware Developer
Hi Andrew,
thanks a lot for your help!
I checked your sample application and modified it to show more details. And you are right the scrollbars don't appear when I move the border of the window. I cannot reproduce the behaviour of my real application in that sample, what is very strange.
What you can see in my example is:
1) that if the PopupControlContainerTool is too big right from the beginning scrollbars are shown
2) if you enlarge the PopupControlContainerTool after it was first shown scrollbars don't appear
3) if you enlarge the PopupControlContainerTool after it was first shown and then switch to "Dummy" and back again the scrollbars are shown.
I hope your engineers can fix that soon as we are close to a release.
Thanks,
AppMenu2010Scrollbars.zip