{"action":"created","issue":{"url":"https://api.github.com/repos/alexrainman/CarouselView/issues/34","repository_url":"https://api.github.com/repos/alexrainman/CarouselView","labels_url":"https://api.github.com/repos/alexrainman/CarouselView/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/alexrainman/CarouselView/issues/34/comments","events_url":"https://api.github.com/repos/alexrainman/CarouselView/issues/34/events","html_url":"https://github.com/alexrainman/CarouselView/issues/34","id":191067019,"number":34,"title":"ScrollView Inside Datatemplate not work","user":{"login":"dashne","id":15915876,"avatar_url":"https://avatars.githubusercontent.com/u/15915876?v=3","gravatar_id":"","url":"https://api.github.com/users/dashne","html_url":"https://github.com/dashne","followers_url":"https://api.github.com/users/dashne/followers","following_url":"https://api.github.com/users/dashne/following{/other_user}","gists_url":"https://api.github.com/users/dashne/gists{/gist_id}","starred_url":"https://api.github.com/users/dashne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dashne/subscriptions","organizations_url":"https://api.github.com/users/dashne/orgs","repos_url":"https://api.github.com/users/dashne/repos","events_url":"https://api.github.com/users/dashne/events{/privacy}","received_events_url":"https://api.github.com/users/dashne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-11-22T17:07:09Z","updated_at":"2016-11-23T14:23:36Z","closed_at":null,"body":"Hi, I have a label within a stacklayout,and and stacklayout inside scrollview with it is inside the datatemplate of carouselview control,this label holds a string that is bigger than the screen(vertically), therefore I need that scrollView,but the scrollview is not working. please can you provide any solution for this\r\n\r\nthanks"},"comment":{"url":"https://api.github.com/repos/alexrainman/CarouselView/issues/comments/262525151","html_url":"https://github.com/alexrainman/CarouselView/issues/34#issuecomment-262525151","issue_url":"https://api.github.com/repos/alexrainman/CarouselView/issues/34","id":262525151,"user":{"login":"dashne","id":15915876,"avatar_url":"https://avatars.githubusercontent.com/u/15915876?v=3","gravatar_id":"","url":"https://api.github.com/users/dashne","html_url":"https://github.com/dashne","followers_url":"https://api.github.com/users/dashne/followers","following_url":"https://api.github.com/users/dashne/following{/other_user}","gists_url":"https://api.github.com/users/dashne/gists{/gist_id}","starred_url":"https://api.github.com/users/dashne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dashne/subscriptions","organizations_url":"https://api.github.com/users/dashne/orgs","repos_url":"https://api.github.com/users/dashne/repos","events_url":"https://api.github.com/users/dashne/events{/privacy}","received_events_url":"https://api.github.com/users/dashne/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T14:23:36Z","updated_at":"2016-11-23T14:23:36Z","body":"Off course:\r\nint ITextMeter interface I added:\r\n\r\n`double MeasureTextSize(FormattedString text, double width, double fontSize, string fontName = null);`\r\n\r\nIn Droid project: in TextMeterImplementation:\r\n\r\n`public double MeasureTextSize(FormattedString text, double width, double fontSize, string fontName = null)\r\n        {\r\n            var textView = new TextView(global::Android.App.Application.Context);\r\n            textView.Typeface = GetTypeface(fontName);\r\n            textView.SetText(text.ToString(), TextView.BufferType.Normal);\r\n            textView.SetTextSize(ComplexUnitType.Px, (float)fontSize);\r\n\r\n            int widthMeasureSpec = AViews.View.MeasureSpec.MakeMeasureSpec(\r\n                (int)width, AViews.MeasureSpecMode.AtMost);\r\n            int heightMeasureSpec = AViews.View.MeasureSpec.MakeMeasureSpec(\r\n                0, AViews.MeasureSpecMode.Unspecified);\r\n\r\n            textView.Measure(widthMeasureSpec, heightMeasureSpec);\r\n\r\n            return (double)textView.MeasuredHeight;\r\n        }`\r\nIn LabelHeightConverter I used:\r\n\r\n`var height = DependencyService.Get<ITextMeter>().MeasureTextSize(label.FormattedText, width, label.FontSize, label.FontFamily);`\r\n\r\nThat's all.\r\n"}}
{"actor":{"display_login":"dashne"}}