Problem with enlarged tiles

4 posts, 0 answers
  1. Tamir
    Tamir avatar
    11 posts
    Member since:
    Dec 2011

    Posted 16 Sep 2012 Link to this post

    Hi,

    I have TileView that contains TileViews.
    When I enlarge the inner one (when there is more than one item in it), the first time everything goes well.
    The second item that I enlarge is getting bigger but the others get smaller but not small enough (like the first one).
    To clarify I mean that there is a TileView that contains items that are themselves TileViews. I am talking about enlarging an item that is in the inner TileView.
    First time - everything goes well,
    Second time - the small items get small but not as small as the first time. That causes the small ones and the enlarged one to "fight" over the space (they each change their sizes endlessly).
    Every TileView is wrapped in a RadFluidContentControl that is set to manual.

    Thank you in advance,
    Tamir


  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 19 Sep 2012 Link to this post

    Hello Tamir,

    Have you defined the size of the minimized items in the inner RadTileView control? If not, it would be best to specify the MinimizedColumnWidth and MinimizedRowHeight values in order to control the visualization and sizing of the minimized items.

    Please give this approach a try and let me know if it helps.

    All the best,
    Tina Stancheva
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Tamir
    Tamir avatar
    11 posts
    Member since:
    Dec 2011

    Posted 20 Sep 2012 Link to this post

    Hi, Thank you for the answer. I tried to put auto in it but it did not work. I also tried to put * but it also did not solve the problem. It only caused more problems.
  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 24 Sep 2012 Link to this post

    Hi Tamir,

    In order to get this to work, you'll have to set the MinimizedColumnWidth of both RadTileView controls to  particular values, as the star and auto sizing can't properly control the Width of the minimized items in this scenario. This is in case your minimized tiles are positioned on the left or right side of the TileView.

    In case the minimized area is at the top or bottom, then the MinimizedRowHeight property should have a particular value.

    In both cases, the controls have to know how to size the minimized area in order to properly align the tiles.

    All the best,
    Tina Stancheva
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Back to Top