I have a gallery and set GalleryInMenuOptions.CollapsedInSubmenu = False and GalleryInMenuOptions.RowCount = 4.
In the InRibbon mode and in the InMenu mode it doesn't show any scrollbar although there are too many gallery items to be displayed.
In previous versions the gallery showed a scrollbar.
Please take a look at the attached demo.
I've recompiled your project in the v2012 vol 1.6 version of our controls and I see similar behavior. I suggest you set the CollapsedInSubmenu property to True.
Hello,
Thank you for your clarification. I have reproduced the described behavior and forwarded this ticket to our developers for research.
When the CollapsedInSubmenu property is set to False, a gallery is shown fully and the scrollbar disappears. So, it is necessary to avoid uncollapsed big galleries in the sub-menu.
As for disappearing the scrollbar in Ribbon gallery, we will try to fix this problem in the near future.
Hi,
thanks for the quick help.
I've downloaded the fix and taken a look at the modifications. It's almost perfect - if you could add a
"or (Item.GalleryOptions.RowCount > 0)"
to the condition, I'd be fully satisfied and it would cover my scenario with the GalleryInMenuOptions.RowCount:=x.
We have decided to complete this fix as follows: the scrollbar will not be shown when the RibbonGallery is an item in the sub-menu and the GalleryInMenuOptions.CollapsedInSubmenu property is set to False. In other cases, the scrollbar will be shown.
I'm sorry, but I'm still not really happy with it.
Please take a look at the attached screenshot from Microsoft Word.
In the 2011.2.6 version of the code, I was able to add a gallery which behaves similar.
The 2012.2.2 did break this feature. So how would I add a gallery like the one in Microsoft Word which displays only a couple of rows and a scrollbar to scroll through it?
Hello Markus,
<<
So how would I add a gallery like the one in Microsoft Word which displays only a couple of rows and a scrollbar to scroll through it?
>>
To accomplish this task, you can do the following:
Hi,
I have tested the dxSample.zip after downloading 12.2.3, and I am not getting scrollbar.
Using the Large button's DropDownMenu property, the scrollbar seems to only appear when it is collapsed in a normal dxBarPopupMenu, not when placed in a dxRibbonDropDownGallery (like in the sample).
Thank you for pointing out this problem. We appreciate your cooperation.
The issues seems to be more complex than we suspected. I am forwarding this issue to our developers for further research. We will do our best to prepare a complete fix as soon as possible. Please bear with us.
Here is another example where the scrollbar and even the resizing is disabled when CollapsedInSubmenu is false
Hi,
this issue is still not fixed in 13.1.2
As you can see in the example posted 6 months ago you cannot resize the gallery nor does it show a scrollbar when the checkbox is unchecked (CollapsedInSubmenu is false).