Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new WrapLayout and StaggeredLayout controls #3160

Merged
merged 119 commits into from
May 15, 2020

Commits on Jan 31, 2020

  1. Configuration menu
    Copy the full SHA
    2b5eb6c View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2020

  1. Configuration menu
    Copy the full SHA
    1250f2f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec3cca8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    04677f4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7b6c797 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e42a770 View commit details
    Browse the repository at this point in the history
  6. Don't work with the UIElement directly within the measure method. Ins…

    …tead use a new StaggeredItem to track the size of the element
    skendrot committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    5f8de42 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3a1a714 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    225a24f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    98c3be0 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    78673db View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3bddce4 View commit details
    Browse the repository at this point in the history
  12. Remove horizontal alignment calculations. I don't believe this should…

    … be part of a layout. The ItemsRepeater will handle that
    skendrot committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    5615681 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    57a1e60 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d2ee3f5 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    3814bcb View commit details
    Browse the repository at this point in the history
  16. Return the final size always

    skendrot committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    b6a25e5 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    9eed9df View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    becb6e4 View commit details
    Browse the repository at this point in the history
  19. If the column width is different from what was previously there then …

    …clear the items because we will need to recalculate the size of the items
    skendrot committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    d8b1c56 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    c442431 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2020

  1. since we are staying within one column we do not need to track the he…

    …ight and number of items in each column
    skendrot committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    a6c3375 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b66a46 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7767b7c View commit details
    Browse the repository at this point in the history
  4. When the width of the panel changes we could get more columns to use.…

    … In that case clear out the cache of columns
    skendrot committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    3931d9d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a52d4ab View commit details
    Browse the repository at this point in the history
  6. Calculate the height based on the number of average number of items w…

    …e have or, if we have all of the items use the total height
    skendrot committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    a64783a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9899415 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3a8ab88 View commit details
    Browse the repository at this point in the history
  9. Little code Clean up

    skendrot committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    fe0b6c3 View commit details
    Browse the repository at this point in the history
  10. Add some comments

    skendrot committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    235d5a6 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7722f47 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    97fa156 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    042d970 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    aefd2e0 View commit details
    Browse the repository at this point in the history
  15. We don't need to clear any of the cache if the an item was added/remo…

    …ved where we haven't cached
    skendrot committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    0d2f5bb View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    6415124 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    33305e1 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    519cfb1 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    b49dc3a View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    38e81fe View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2020

  1. Configuration menu
    Copy the full SHA
    975dc7b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    97a2813 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    72a39b5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fb3ae65 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8d64299 View commit details
    Browse the repository at this point in the history
  6. Add the <inheritdoc /> tag

    skendrot committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    68dc5e5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    07cee0b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3e6b7a3 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7e5a391 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5e226e1 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f4a52dd View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2020

  1. Add debugger info

    skendrot committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    6b4f54e View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2020

  1. Configuration menu
    Copy the full SHA
    89e08cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d7d4171 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2a14977 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a940e55 View commit details
    Browse the repository at this point in the history
  5. Remove property not used

    skendrot committed Feb 18, 2020
    Configuration menu
    Copy the full SHA
    1d8d591 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    711bfc4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6ae10be View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    100bff8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5808401 View commit details
    Browse the repository at this point in the history
  10. Fix type in variable

    skendrot committed Feb 18, 2020
    Configuration menu
    Copy the full SHA
    4d911e2 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2020

  1. Make sure elements get recycled when they are outside the scope of th…

    …e bounds. Move getting the elements to the layout
    skendrot committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    e09227b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    592a645 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4118bdd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1ed9fa4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e87a85b View commit details
    Browse the repository at this point in the history
  6. Revert the change to not account for row spacing when finding the col…

    …umn. Items will jump around when playing with RowSpacing but that's not a common use case and items were not placed in the right column
    skendrot committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    4ea0ada View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2020

  1. Configuration menu
    Copy the full SHA
    26ba303 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e7b442 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2020

  1. Merge branch 'master' into Layouts

    # Conflicts:
    #	version.json
    skendrot committed Mar 4, 2020
    Configuration menu
    Copy the full SHA
    2828d13 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2020

  1. Configuration menu
    Copy the full SHA
    3e70dff View commit details
    Browse the repository at this point in the history
  2. Make method static

    skendrot committed Mar 9, 2020
    Configuration menu
    Copy the full SHA
    4f3d484 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    37d8f22 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    63e571f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b00beff View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c657716 View commit details
    Browse the repository at this point in the history
  7. Handle moving of items

    skendrot committed Mar 9, 2020
    Configuration menu
    Copy the full SHA
    19f9fb0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d1c12a5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    74c5ede View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0c5298e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    978e3db View commit details
    Browse the repository at this point in the history
  12. Do not clear the items from the collection. zero out their measure va…

    …lues so they get recalculated
    skendrot committed Mar 9, 2020
    Configuration menu
    Copy the full SHA
    9b55f99 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    da95ec7 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    5d7164f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    60acd33 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2020

  1. Add header to file

    skendrot committed Mar 10, 2020
    Configuration menu
    Copy the full SHA
    0338d70 View commit details
    Browse the repository at this point in the history
  2. Remove unused usings

    skendrot committed Mar 10, 2020
    Configuration menu
    Copy the full SHA
    6a02450 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    15e924f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bf7c083 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    be13161 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2020

  1. Configuration menu
    Copy the full SHA
    28e9c54 View commit details
    Browse the repository at this point in the history
  2. Remove trailing white space

    skendrot committed Mar 12, 2020
    Configuration menu
    Copy the full SHA
    cefad16 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2020

  1. Configuration menu
    Copy the full SHA
    1d5d9f3 View commit details
    Browse the repository at this point in the history
  2. Remove empty Item group

    skendrot committed Mar 13, 2020
    Configuration menu
    Copy the full SHA
    841a5a4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    85a2003 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    10813b1 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2020

  1. Configuration menu
    Copy the full SHA
    be17557 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2020

  1. Configuration menu
    Copy the full SHA
    04c1c2c View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2020

  1. Configuration menu
    Copy the full SHA
    b1ac63e View commit details
    Browse the repository at this point in the history
  2. Rename local method

    skendrot committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    e22ac0e View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2020

  1. Configuration menu
    Copy the full SHA
    11ad747 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2020

  1. Only measure an item if it wasn't already measured. This helps speed …

    …up items when first being measured
    skendrot committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    2dbf136 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d366457 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7c6b626 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1880101 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2020

  1. Track the elements that are used and make sure they recycled when the…

    …y are outside of the bounds of the realization area
    skendrot committed May 6, 2020
    Configuration menu
    Copy the full SHA
    d8d1918 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into Layouts

    # Conflicts:
    #	Microsoft.Toolkit.Uwp.SampleApp/Microsoft.Toolkit.Uwp.SampleApp.csproj
    #	Windows Community Toolkit.sln
    skendrot committed May 6, 2020
    Configuration menu
    Copy the full SHA
    91cf313 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2020

  1. Configuration menu
    Copy the full SHA
    4cb3d83 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2020

  1. Configuration menu
    Copy the full SHA
    a4e18e4 View commit details
    Browse the repository at this point in the history
  2. When an item changes size we need to set a new height for the item an…

    …d reset everything after it
    skendrot committed May 14, 2020
    Configuration menu
    Copy the full SHA
    a3eef4a View commit details
    Browse the repository at this point in the history
  3. If the current measure of the item does not match then the size of th…

    …e item changed. We need to recalculate layout for everything after it
    skendrot committed May 14, 2020
    Configuration menu
    Copy the full SHA
    262275a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    92abf24 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    25ed6d8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c092cf7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d542dcc View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b4e3abf View commit details
    Browse the repository at this point in the history

Commits on May 15, 2020

  1. Configuration menu
    Copy the full SHA
    aca6799 View commit details
    Browse the repository at this point in the history