Problem with layout

4 posts, 0 answers
  1. Vitaly
    Vitaly avatar
    6 posts
    Member since:
    Jan 2016

    Posted 04 Feb Link to this post

    Hi!

    I want to make layout like instagram photos with wide panel between some items. (See first attached file).

    I tried to achieve this by setting virtualization mode to Horizontal Wrap, taking page width and divide it by 3 columns. This approach has 2 weaks:

    1) On device there is 3 columns, but there is small gap on the right, which is equal to remainder of division.

    2) On simulator I see broken layout (see second attached file). And width of page is 400, cell's width is 133 and cells still not fit bounds.

    Then I tried remainder Dynamic Grid Virtualization Strategy. It works perfect with square cells, but i can't insert wide item.

    How can I achiveve this?

    Thanks a lot!

     

  2. Rosy Topchiyska
    Admin
    Rosy Topchiyska avatar
    551 posts

    Posted 08 Feb Link to this post

    Hello Vitaly,

    Thank you for contacting us.

    I have attached a sample project with a RadDataBoundListBox control that looks fine on our side with both Wrap and DynamicGrid strategies.

    If you have the same problems with our app, could you please share more specific information about the devices/emulators that you use for testing. If it looks ok, you could send us some code or a project that will help us reproduce the issue.

    I look forward to your reply. 

    Regards,
    Rosy Topchiyska
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. Vitaly
    Vitaly avatar
    6 posts
    Member since:
    Jan 2016

    Posted 08 Feb in reply to Rosy Topchiyska Link to this post

    Thank you for your answer!

     

    But the problem is that I have to 9 items 3x3 grid, then (it is problem) - one item 100% device width, and then 3 column grid again.

     

    If i setting Dynamic Wrap -all of items are 33% width.

     

    Is it possible?

  4. Vitaly
    Vitaly avatar
    6 posts
    Member since:
    Jan 2016

    Posted 08 Feb in reply to Vitaly Link to this post

    Oh, horizontal mode is exactly what I need!

    Thanks a lot!

Back to Top