JaviR3TicS
(El Mundo Musical )
September 3, 2020, 7:24pm
#1
Hello! How can I set a gradient background on a dynamic card view? I use this extension to create them…
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 component because it would be useless. So I was trying to find a proper solution for a long time. And here it is!
The minimum required API version for this extension is 1 .
It basically uses Java’s Reflection feature, so this allows you to create…
Thanks!
Javier
1 Like
Instead of using card views use a horizantal arrangemnt and set the layout is card property to true.then use the background gradient extension to set its background color to gradient.
2 Likes
JaviR3TicS
(El Mundo Musical )
September 4, 2020, 2:39pm
#3
If I use the extension on a Round Horizontal Arrangement, the round card dissapear… Any fix?
That’s strange can you show your blocks?
BTW, that isn’t very related with the current thread.
1 Like
So this doesn’t work.With round card property ( and many other thing actully )
So what you can do? you can try using this extension to make the horizantal arrangment rounded:
Hello I offer you a special extension today to change the design of the button and its shape and add some effects … com.ahmadSyria.ButtonDesigner.aix (7.4 KB) ButtonDesign.aia (9.2 KB)com.ahmadSyria.ArrangementDesign.aix (7.6 KB)
Reading time: 2 mins 🕑
Likes: 54 ❤
And this is how to use:
With this extension :
Remove the background color from the component that you are going to round the corners. Put the background color you want, in the component’s properties. Also change the rounding of the 4 corners of the extension component. In the extension block you will have to put the name of the component you want to round.
This :
[arrendodar]
And this :
@kumar1334sumit
VAcadcpfabaixo it is my Vertical Arrangement.
[arrendodar2]
[Screenshot_20200806-163429~3]
2 Likes
JaviR3TicS
(El Mundo Musical )
September 4, 2020, 2:47pm
#7
This extension is only with buttons, right? I need it for the horizontal arrangement… ;(
EDIT: I have found it xd
1 Like
Nope.You will find in the download links an extension to work with arrangements
1 Like
Rogerio_Rios
(Professional Support)
September 4, 2020, 2:51pm
#9
No. It’s work with arrangement. Did You Read the Topic ?
With this extension :
Remove the background color from the component that you are going to round the corners. Put the background color you want, in the component’s properties. Also change the rounding of the 4 corners of the extension component. In the extension block you will have to put the name of the component you want to round.
This :
[arrendodar]
And this :
@Sumit1334
VAcadcpfabaixo it is my Vertical Arrangement.
[arrendodar2]
[Screenshot_20200806-163429~3]
This is arrangement
2 Likes
JaviR3TicS
(El Mundo Musical )
September 4, 2020, 5:05pm
#11
Can I change the orientation of the gradient color? @Mohamed_Tamer @Rogerio_Rios
Yes of course.Just change the orientation parameter.
Here you can find them:
JaviR3TicS
(El Mundo Musical )
September 4, 2020, 5:10pm
#14
With that extension works?
Hello I offer you a special extension today to change the design of the button and its shape and add some effects … com.ahmadSyria.ButtonDesigner.aix (7.4 KB) ButtonDesign.aia (9.2 KB)com.ahmadSyria.ArrangementDesign.aix (7.6 KB)
Reading time: 2 mins 🕑
Likes: 54 ❤
JaviR3TicS
(El Mundo Musical )
September 4, 2020, 5:12pm
#15
Basically, I want to do a similar card like the 4th screenshot
JaviR3TicS
(El Mundo Musical )
September 4, 2020, 5:18pm
#17
Yes, I know it, but when I enable the option Is a Round Card , it doesn’t work correctly
Can you start a new topic for your new question.This isn’t related with this question.the question was:
And it was answered.Btw, you can mange it by using start color / center color and end color.
1 Like
Actually it’s working with me well with a horizantal arrangemnt by setting the is card property to true.
system
(system)
Closed
October 4, 2020, 5:59pm
#20
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.