DonUD
1
Product: PowerShell Universal
Version: 1.5.14
Dear All
I’ve discovered a little “layout bug” with New-UDSelect. It seems to not be alligned with other components like New-UDTextbox.

Obviously I’ve also tried different layout arrangements using UDCards, UDRows, UDColumns but all resulted in the same layout issue. 
Hope it can be fixed in a future release. 

Best regards,
Don
adam
2
dbytes
3
Any update on this one?
I can apply a style to override but it must be against the JSS{i} class but the number changes.
This works to get the proper alignment, but as soon as a new number is generated it fails to align.
New-UDStyle -Style '.jss41 { margin: 0 !important; margin-top: -16px !important; }' -Content {
New-UDSelect -Id 'Location' -FullWidth -Option { $SelectOptions } -DefaultValue ' '
}

JSS51

JSS18

adam
4
No but I moved it into the 2.9 release milestone.
1 Like
dbytes
5
Thanks Adam.
Not sure if this is wise, but my work around. 
10..99 | ForEach-Object { $SelectStyle += ".jss$_ { margin: 0 !important; margin-top: -16px !important; } " }
New-UDStyle -Style $SelectStyle -Content {
New-UDSelect -Id 'Location' -FullWidth -Option { $SelectOptions } -DefaultValue ' '
}
Yes, I should not be using += but it’s for testing/dev.
1 Like