Itâs me again, I might found an error (I donât have an account on github so sorry)
I set a spaceview to 38 but when I get property it is 37?
I do with 35 again, and it return 34.
Itâs me again, I might found an error (I donât have an account on github so sorry)
Can you try with Any Component blocks too?
Thanks Boban for you help, i donât see the update. Iâm use Version: 3 Date Built: 2020-03-10
Redownload the extension
Thanks again Boban I do that !!
This is the same in App Inventor and probably every builder. I will make an issue for the App Inventor developers.
Good catch.
It should not happen when set from designer.
/**
- Returns the componentâs horizontal width, measured in pixels.
- @return width in pixels
*/
@Override
@SimpleProperty
public int Width() {
int zWidth = (int)(getView().getWidth() / container.$form().deviceDensity());
// System.err.println("AndroidViewComponent: Width() Called, returning " + zWidth);
return zWidth;
}
Not sure why the value getâs divided by the deviceDensity().
Can be found at âAndroidViewComponent.javaâ source code
Please how can I make material icon of button to be centered
I donât think there is an option for centre: Button - Kodular Docs
But you can set the button typeface to material icon, set text to your icon, and set text alignment to Center
sorry, this maybe a silly question. how can i know the component when button clicked is created with extension?
Are you also using Kodularâs dynamic componentâs ?
Use Any Component Events. Just select Any Button, and pull the âwhen any Button Clickedâ event.
I donât think so he want that, he wants to know that is the component created by this extension, If I understood his questions
All generic events has a component
parameter. It returns the component that the event is raised for.
So, in the event, it could be used like this.
Can anyone pointout the problem
What about using this block.
Like this
@Xoma, I am going to tell you, you have to know that component != id. You are having this misconception for multiple times.