Hi, to perform a click for a label component is there need to register the component or it can be directly clicked by using the perform click method
Yes, it can be directly clicked by perform click method.
Note.if you registered a component and then used perform click method.The component built-in click wonāt be fired.Instead the extensionās touch event will be triggered.
A suggestion you can add a block in your extension which highlights specific text in a textbox or label
I know there is an extension which does it but it would be great if you can add the feature in your extension too
Also you can add a block, to allow selecting some text of a label like in textbox we can do
I will try
There is already an extension for that:
Hi Mohamed,
I am making a game with this extension and the canvas component. The extension works great!
The only thing that iām facing now is that the width/heigth of the components and sprites as well are diffrent than the pixel value of the extension. I think itās 3x smaller than the pixels of the extension. Maby a tip if there will be a update coming, is to add a width / heigth block to the extension.
But for now i have one question. What kind of pixel size do you use?
Kind regards,
Arjan
Iām really happy with that thanks for using the extension
For which block?
I will look at this i think its possible.
for all the blocks. When i want to place a component at the end of the screen, i look for the screen width. The screen width is somewhere around 670 px, but to place the component there, i need to
multiply that amount with 3 times to 2010 px.
So the pixel size of the extension is 3 times bigger than the pixels of kodular.
That would be great!
I donāt know why is that? i will take a look
Thank you in advance!
Nice extension. You have implemented various operations to work with components.
A few suggestions, to add to your extension
A method to transfer a visible component from an arrangement to anotherā¦
And also a block to make component responsive to sizing
There is already a method about that in android.So it can be implemnted of course
Isnāt there sizing proerprty in the screen block that makes the components responsive
But itās not that accurate
Okay i will try.iām really preparing a huge update.But i have a bug which make me unable to add new features easily
Is it possible to add a ālongclickā event? I know that would currently collide with your ātouchā events. But maybe you could add a ātouched for x millisecondsā variable. The āeventTimeā variable only returns the time the animation runs, right?
Nope.Touched event, doesnāt make any animation.The event time is the time the Component clicked.
btw, it returns time in milliseconds as well.
Yeah, eventTime returns the actual time when the button is pressed. But I would like to get the length of time the component was pressed.