Product: PowerShell Universal
Version: 4.0.5
Hi,
Im having some issues, getting my New-UDCard to work with New-UDExpansionPanelGroup.
I basically want 2 x New-UDExpansionPanelGroup to be next to each other (left and right), BUT within a New-UDCard.
This code works, but i need it to be in a card with a title.
New-UDApp -Title 'PowerShell Universal' -Content {
New-UDGrid -Container -Spacing 3 -Content {
New-UDGrid -Item -ExtraSmallSize 6 -Content {
New-UDExpansionPanelGroup -Children {
New-UDExpansionPanel -Title "Expansion Panel left" -Children {}
}
}
New-UDGrid -Item -ExtraSmallSize 6 -Content {
New-UDExpansionPanelGroup -Children {
New-UDExpansionPanel -Title "Expansion Panel right" -Children {}
}
}
}
}
But if i wrap them in a New-UDCard, it stacks them on top of each other:
New-UDApp -Title 'PowerShell Universal' -Content {
New-UDGrid -Container -Spacing 3 -Content {
New-UDCard -Title "Important title" -Content {
New-UDGrid -Item -ExtraSmallSize 6 -Content {
New-UDExpansionPanelGroup -Children {
New-UDExpansionPanel -Title "Expansion Panel left" -Children {}
}
}
New-UDGrid -Item -ExtraSmallSize 6 -Content {
New-UDExpansionPanelGroup -Children {
New-UDExpansionPanel -Title "Expansion Panel right" -Children {}
}
}
}
}
}
How do i prevent that from happening?