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
Problems with IElementSizing in Monotouch.Dialog included into MvvmCross #182
Comments
I know people have done custom sized elements: If you've got a problem, then you're going to need to supply way more detail than 1 line - a full reproduction test case would help. |
Have you tried set Root.UnevenRows=true? |
Yes, I have UnevenRows set to true. I'll try to build a stand-alone reproduction. For now, I can only show a screen shot of a dialog with MessageElement and MultilineEntryElements added. You can clearly see that the height of both rows is incorrect. Since other people managed to build controls of variable height, I would appreciate any clues. I may well miss something. |
Is there any more on this? Simple code to repro? Or have you already solved whatever it was? |
Yes, I finally have a very simple project that reproduces the issue: https://github.com/asednev/MvvmCrossIssue |
Hi, asednev. Try to replace this code in MyViewController.cs (starts from line 24) Root = new RootElement("Test")
{
sec
};
Root.UnevenRows = true; with this var root = new RootElement("Test")
{
sec
};
root.UnevenRows = true;
Root = root; |
This fixed it. Thank you SeeD-Seifer. |
Thanks guys Looking through the Dialog code this seems to come from the MT.D version I forked. It looks like the sizing info is only used from within Will have a closer look later. Thanks all - for the issue, the sample and the workaround/fix. |
Stuart, when I did my research on this issue, I came across several bug reports about sizing info not working in MT.D. It might well be possible that it was fixed after you forked it. |
Going to reopen this one up. would be nice to be able to reload the cell later in it's life need to find some way to call
at some point (maybe on UI change) |
For a sample of the current problem, consider the current Details page on CustomerManagement (normal - not AutoViews) |
Removed Cirrious nuspecs (not needed anymore).
CrossUI/Dialog has been removed as of 41f1915 |
All elements are always sized the same and IElementSizing is ignored. Even MessageElement that comes as a part of MT.D isn't sized properly.
The text was updated successfully, but these errors were encountered: