I want to make my app's UI as smooth as I can, and I want to add something like a border-radius
property to my View component.
Is there an extension to do this or any other way to achieve this?
Thanks
1 Like
JEWEL
November 2, 2024, 12:22pm
2
You could use this extension to dynamically create (in-built) views using JSON. If you're looking for custom views you'll need to create an extension for that.
🧱 Dynamic Components Extension that supports every component in your AI2 distribution, instead of having pre-defined components. I thought about making a full method to create all dynamic components without creating different blocks for every...
Reading time: 149 mins 🕑
Likes: 2646 ❤
1 Like
Does this extension support adding border-radius
properties that roundifies the edges of a View component?
JEWEL
November 2, 2024, 12:35pm
4
It's only support in-built properties.
1 Like
So that means that is does NOT support adding or creating a View component with CSS or similar properties?
JEWEL
November 2, 2024, 12:43pm
6
You could take a look at these extensions:
Styles Extension for MIT App Inventor: A Deep Dive into UI Customization
The Styles extension empowers App Inventor developers with fine-grained control over their user interface elements, going beyond the basic styling options provided by the platform. This document explains each function within the Styles extension, enabling developers to leverage its full potential.
1. Visual Enhancements:
[component_method(3)]
ApplyBorderRadiusToImage(component, cornerRadius, strokeWidth, strokeColor)
…
I made this extension to have the functionality to dynamically expand the size of an arrangement and be able to display more elements. I made it so I could use it in my music app.
You can also add individual radii to each corner and fill with gradient colors.
[1725103351708] [1725103351719]
[component_method (4)]
1. AnimateArrangementSize
Description: Dynamically sets the width and height of the given Arrangement with animation. Allows specifying the side to animate from. You can also us…
1 Like
Thanks. This helped the most.
2 Likes
system
Closed
November 9, 2024, 12:45pm
8
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.