I tried to make a responsive confg solution and it works but breaks Architect Design View. See my question at the bottom.
My solution so far is to create a container with a card layout.
it works.
responsive config attempt breaks Architect Design View
Here is information from the ExtJs 5 forum.
-------------------------
My solution so far is to create a container with a card layout.
One card has a vertical layout and the other has a horizontal one.
I then add a method 'setVertical(boolean)" to switch the activeItem from one card to the other and move all items from one card to the other.
With this responsiveConfig:
Code:
responsiveConfig: {
wide: {
vertical: false
}
tall: {
vertical: true
}
}
it works.
It does break Architect Design view with the "Framework Error: Config "vertical"has no setter..."
-------------------------
Is there a way to make Architect Design view work with this solution? Or am I back to using Architect as an editor?
responsive config attempt breaks Architect Design View
Aucun commentaire:
Enregistrer un commentaire