how to limit the dragging area?
You can try adding your component inside an arrangement, the component won’t go outside it On a future update you would be able to limit the dragging area.
I have try it, but still can dragging out of the Arrangement
can we set the maximum dragging ??
i mean that can we allow user to only move the component for a fixed distance. @Mohamed_Tamer
@mohamed_tamer sur i have sent you a PM.
Guys,
I closed this topic because it was a more than 2 months without any post, when the rule of the forum is after 30 days the topic is automatically closed. And yesterday an user sent a post after those time. I reopened the topic, but if it happens again, just pay attention to this rule.
Hello dear, i need a help. I have two layout. One inside another. And i want to move inside one with top one at same position. But two layout height width is same, that’s why inside one have no touch placement. But if move top one, then only top one is moved. So i try with some block, the block are on below… but when i move, then two layout moved by different position. Demo gif include post. Please give me a solution. Thanks in advanced.
Dear, can you add a block for get current x, y position of registered any component. Please very urgent need. I need to get current x,y position before drag after register. That’s why i need a block for get current x,y position. Thanks in advanced.
You can use this extension:
i am not able to drag cardview
why?
That was a bug with the first release, but it was fixed in the latest version, which version are you using?
send the link of latest version
You will find it in the first post, you can also check the example AIA, which shows an example showing how to use a card view with the extension.
How can I get maximum value of ‘y’ so that I can set it’s position to bottom
Hello,
You can try to use the blocks, it will return the total height of the screen, in pixels, excluding the height of the component you are willing to move:
Hi @Mohamed_Tamer !
I love your extensions and it gives me more posibilities to make great games and apps. I’m working on a game that i mention before on a other post of yours, the post where your introduced us to the “component tools” extension. Both work very great. But i think i have found a little “bug” in the “repositioning tools” extension. When you register a component, it is always being dragged. Not only when you use the event dragging + call “DragComponent” with the X and Y cordinates.
It would be nice if the extension activates dragging only when you use the event “dragging” + call “DragComponent” so you can play a bit with the maxium range of the dragging and it gives the user of the extension more room to code.
Love your work @Mohamed_Tamer ! you make kodular and all the other platforms each time you make a extension a little bit better. Thankyou for that