Hi all,
Version 1.2.0 of the Material 3 theme is out. This is what’s included in this version:
Breaking changes
- The navigation slot in the NavigationDrawerLayout and the NavigationRailLayout now have the same name. This means that if you change the layout of your Form, the components in the navigation slot will stay there. For existing apps, components that were in a navigation slot will need to be dragged from the orphaned components panel back into the correct slot.
Updates
- The SidesheetContent component is now pre-populated with a Heading and IconButton.
- The RadioGroupPanel component is now pre-populated with three RadioButtons.
- When using the NavigationDrawerLayout that has collapsed to mobile view, you can now double click on the hamburger menu button in the designer to open the navigation drawer.
- Some components had
backgroundproperties that are now renamed tobackground_color. - In the designer, the NavigationDrawerLayout won’t collapse to modal view until the screen is smaller.
- When Text and Heading components have no
text, their component names actually look like placeholders. - The
labelof a TextArea can now be edited from the Object Palette or by double clicking the component.
Fixes
- FileLoader now has a
filesproperty that works as expected. - DataGrids now work as expected - they’re automatically populated with a RepeatingPanel.
- Fixed an issue where DropdownMenu items were being duplicated when the
showevent was fired. - Fixed an issue where you couldn’t make changes to DropdownMenu items once the component was rendered.
- Material Icons no longer flash as text before being rendered as icons.
- Fixed an issue where Data Binding writeback wasn’t working for TextBoxes and TextAreas.
- Setting the
alignproperty of ButtonMenus tofullnow works. - The
alignproperty of Links now works. - Fixed an issue where the ButtonMenu menu rendered behind popup menus.
- The
display_text_colorproperty of TextBoxes and TextAreas now works. - Links in built-in Anvil modals are now properly styled.
To upgrade to this new version, go to your app’s Settings > Dependencies, and change the Material 3 Theme dependency version to v1.2.0. Any newly created Material 3 Theme apps will use this version.