{"action":"created","issue":{"url":"https://api.github.com/repos/fluentribbon/Fluent.Ribbon/issues/332","repository_url":"https://api.github.com/repos/fluentribbon/Fluent.Ribbon","labels_url":"https://api.github.com/repos/fluentribbon/Fluent.Ribbon/issues/332/labels{/name}","comments_url":"https://api.github.com/repos/fluentribbon/Fluent.Ribbon/issues/332/comments","events_url":"https://api.github.com/repos/fluentribbon/Fluent.Ribbon/issues/332/events","html_url":"https://github.com/fluentribbon/Fluent.Ribbon/issues/332","id":165746186,"number":332,"title":"Visual glitches in InRibbonGallery with an ObservableCollection as ItemSource","user":{"login":"dymanoid","id":9433345,"avatar_url":"https://avatars.githubusercontent.com/u/9433345?v=3","gravatar_id":"","url":"https://api.github.com/users/dymanoid","html_url":"https://github.com/dymanoid","followers_url":"https://api.github.com/users/dymanoid/followers","following_url":"https://api.github.com/users/dymanoid/following{/other_user}","gists_url":"https://api.github.com/users/dymanoid/gists{/gist_id}","starred_url":"https://api.github.com/users/dymanoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dymanoid/subscriptions","organizations_url":"https://api.github.com/users/dymanoid/orgs","repos_url":"https://api.github.com/users/dymanoid/repos","events_url":"https://api.github.com/users/dymanoid/events{/privacy}","received_events_url":"https://api.github.com/users/dymanoid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-15T09:28:08Z","updated_at":"2016-07-15T20:24:06Z","closed_at":null,"body":"When using an ObservableColletion as an ItemSource for the InRibbonGallery, there are some drawing issues after adding new items into the source collection. The new items appear in the gallery, but they are not properly scaled and positioned (e.g. overlap the already existing items). The gallery itself doesn't resize to match the new items' count.\r\nAfter opening and closing the drop-down, the gallery resizes and repaints itself and finally looks as intended.\r\n\r\nCan be easily reproduced with the showcase app - just replace the type of the MainViewModel.DataItems (make it an ObservableCollection<GallerySampleDataItemViewModel>) and add a Button with a Click event handler to add new items into source collection. Best observed when the gallery is set to CanCollapseToButton=\"False\" and the initial count of the items in the MainViewModel.DataItems is 1 to 3. \r\n\r\n--\r\n### Environment\r\n\r\n- Fluent.Ribbon 4.0.3.394\r\n- Theme default (Generic)\r\n- Windows 7 Pro\r\n- .NET Framework 4.5.2\r\n"},"comment":{"url":"https://api.github.com/repos/fluentribbon/Fluent.Ribbon/issues/comments/233060708","html_url":"https://github.com/fluentribbon/Fluent.Ribbon/issues/332#issuecomment-233060708","issue_url":"https://api.github.com/repos/fluentribbon/Fluent.Ribbon/issues/332","id":233060708,"user":{"login":"batzen","id":1971030,"avatar_url":"https://avatars.githubusercontent.com/u/1971030?v=3","gravatar_id":"","url":"https://api.github.com/users/batzen","html_url":"https://github.com/batzen","followers_url":"https://api.github.com/users/batzen/followers","following_url":"https://api.github.com/users/batzen/following{/other_user}","gists_url":"https://api.github.com/users/batzen/gists{/gist_id}","starred_url":"https://api.github.com/users/batzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batzen/subscriptions","organizations_url":"https://api.github.com/users/batzen/orgs","repos_url":"https://api.github.com/users/batzen/repos","events_url":"https://api.github.com/users/batzen/events{/privacy}","received_events_url":"https://api.github.com/users/batzen/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T20:24:06Z","updated_at":"2016-07-15T20:24:06Z","body":"Can we close this then or do you have any further questions?"}}
{"actor":{"display_login":"batzen"}}