Migrating to Uno Material V2 #11909
-
While migrating to Uno Material V2 i've noticed that the buttons are now Rounded specifically the "FilledButtonStyle" which is the default style... is there a global way to set this to not rounded buttons, other than creating a local style to override my buttons?? another Question is that the Documentation has a table with the matrix of new styles, however, if you go to the Styles/Control/V2 code repo to check the V2 styles you'll notice that most of them(almost all) have still the "Material" prefix... which one is the correct one??? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, the Uno.Material library as of v2 now defaults to the Material Design 3 guidance for things like Buttons, etc. If you would like to continue using the Material Design 2 styles, you should be able to follow the steps here Otherwise, you would need to provide your own style overrides and change the CornerRadius for your Buttons in your application. As for the style keys, you can actually reference the styles with or without the "Material" prefix, all "Material"-prefixed styles are aliased to keys that do not include the "Material" prefix here. |
Beta Was this translation helpful? Give feedback.
Hi @Arieldelossantos!
Yes, the Uno.Material library as of v2 now defaults to the Material Design 3 guidance for things like Buttons, etc. If you would like to continue using the Material Design 2 styles, you should be able to follow the steps here
Otherwise, you would need to provide your own style overrides and change the CornerRadius for your Buttons in your application.
As for the style keys, you can actually reference the styles with or without the "Material" prefix, all "Material"-prefixed styles are aliased to keys that do not include the "Material" prefix here.