This project is read-only.

Gallery.ItemsInRow not working?

May 18, 2010 at 11:21 PM
Edited May 18, 2010 at 11:50 PM



Once again thanks for a new release, however, with Ribbon 1.2 the Gallery.ItemsInRow property worked fine, now in 1.3 it seems to scale to some arbitrary size, am I doing something wrong?




Edit: Done some more testing using a gallery in a DropDownButton. Seems like the width is always being set to 0 regardless of the ItemsInRow property. If you have something else in the menu then the width becomes the width of that item, so you can at least see some of the gallery, but not ideal. I'll do some fiddling with the source and see if I can get it working.


Edit 2: Here's some code which fails (for me):


<Fluent:RibbonWindow x:Class="MyTest.MainWindow"
        Title="MainWindow" Height="350" Width="525">
        <Fluent:Ribbon DockPanel.Dock="Top">
                        <Fluent:Gallery Name="rbInsertColourGallery" ItemsInRow="4">
                                <TextBlock Text="1" />
                                <TextBlock Text="2" />
                                <TextBlock Text="3" />
                                <TextBlock Text="4" />
                                <TextBlock Text="5" />
                                <TextBlock Text="6" />
                                <TextBlock Text="7" />
                                <TextBlock Text="8" />
                                <TextBlock Text="10" />
                                <TextBlock Text="11" />

May 21, 2010 at 4:09 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.