I wanted to see examples of dynamic layout in Spec2, and tried
SpCalendarPresenter. AFAICT, SpCalendarPresenter is doing the right thing, using SpDynamicLeftToRightColumnsLayout. However, the subclasses of SpDynamicPresentersListLayout seem to have the concepts of row and column swapped, so that the SpDynamicLeftToRightColumnsLayout is actually doing what the SpDynamicTopToBottomRowsLayout should do. And vice versa. I hope to take a deeper look tomorrow. If I wanted to submit a pull request with the fix, what repo should I be working with? Thanks, -Martin |
Hi Martin, In fact, all those examples needs to be removed and replaced by new ones. They correspond to a moment where Spec was very static. But now all layouts are dynamic so they do not have sense (and they do not work fine either). Next merge (0.8) will have a focus on those details, now that we are arriving to a semi-stable status :) Esteban On jeu., juil. 9, 2020 at 23:03, Martin McClure <[hidden email]> wrote:
|
Hi Esteban,
It's good to hear that all layouts are now dynamic! Does that mean that you'll be removing SpDynamicPresentersListBuilder and friends? If not, it still needs to be fixed. Thanks, -Martin On 7/10/20 1:47 AM, Esteban Lorenzano wrote:
|
Yes, I think they need to be removed. On ven., juil. 10, 2020 at 10:17, Martin McClure <[hidden email]> wrote:
|
Thanks; then I won't worry about them,
and I won't use them. :-)
Regards, -Martin On 7/10/20 10:46 PM, Esteban Lorenzano wrote:
|
Free forum by Nabble | Edit this page |