This is a migrated thread and some comments may be shown as answers.

Problem with Tile sizing

5 Answers 47 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Rayne
Top achievements
Rank 1
Rayne asked on 16 Jun 2011, 04:05 PM
I'm haiving trouble with the TileView. It's bound to a collection of entites. These entities have image contents in them. When the application loads the TileView loads fine. But when I try to add a new item to the collection, the sizing of the tiles goes wonky. Could it be because the images in the collection are different sizes (height and width)? They won't ever be all the same size.

5 Answers, 1 is accepted

Sort by
0
Rayne
Top achievements
Rank 1
answered on 16 Jun 2011, 04:07 PM
A little more info...If I maximize the application, all my tiles resize evenly, but when I go back to normal, they return to their ugly, uneven sizes.

This messed up resizing only happens when one tile is maximized. If they are all in restored mode, then adding a new one works just fine. But as soon as I maximize one, they go back to being all messed up. Even if I add while they are in restored mode initially, before trying to maximize one.
0
Accepted
Zarko
Telerik team
answered on 16 Jun 2011, 04:26 PM
Hi Rayne,
I guess that you're experiencing this because of the MinimizedColumnWidth(MinimizedRowHeight). If your MinimizedItemsPosition is Left or Right (by default it's Right) you should set the MinimizedColumnWidth to some specific size like 250 and if the position is Bottom or Up you should set the MinimizedRowHeight.
If you have more questions feel free to ask.

Best wishes,
Zarko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Rayne
Top achievements
Rank 1
answered on 16 Jun 2011, 04:31 PM
OK, this works. They aren't wonky sized anymore, but I'm not getting scrollbars, so when I keep adding items (or resize the window) the tiles get to where you can't see them because their height keep shrinking to fit them all in the space provided. I thought when I set this property, I would get scrollbars.
0
Accepted
Zarko
Telerik team
answered on 16 Jun 2011, 05:02 PM
Hello Rayne,
If your MinimizedItemsPosition is Left or Right you should set the MinimizedRowHeight in order to see the scrollbars and if it's Top or Bottom you should set the MinimizedColumnWidth. So in your case you should set both properties ( one for the RadTileViewItems to have equal sizes and the other for the scrollbars).
If you have further questions feel free to ask.

Greetings,
Zarko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Rayne
Top achievements
Rank 1
answered on 16 Jun 2011, 05:08 PM
Thank you. I finally got it working. I tried setting the MinimizedRowHeight previously to get scrollbars, but it was cutting off some of the tile. Maybe I just needed to set both.
Tags
TileView
Asked by
Rayne
Top achievements
Rank 1
Answers by
Rayne
Top achievements
Rank 1
Zarko
Telerik team
Share this question
or