There are many button properties that appear in the designer that do not appear when creating a button in code. How can I make those properties available with code?
Drawable,EnableDraable,Corner Radius, Border Color, Border Width, etc.what exactly you are missing?
I think he is asking about B4A code when adding a button by codeAre you asking about B4A code or library code?
The productname is B4AHow can I create in BRA code all of the button properties that appear in the B4A design?
The anchors feature as well as the designer scripts, are based on the visual designer engine. So they can only be used when the layout file is loaded.However, some properties available in the designer scripts are not available elsewhere (Right, Bottom, HorizontalCenter(?), VerticalCenter(?) and so on). That's a Little sad, as they are quite useful. Sure, they are easy to produce from Left and Width et cetera, but for pure code readaility, I would very much prefer if they were available in code as well. Once you start moving things around in code, you tend to get long lines, which would be much neater if those properties existed.
I've already done it a while ago, so I won't doublepost.Yes, these properties can be added. Please post it in the wishlist forum.