B4J Question B4X setpadding for B4XView?

MrKim

Well-Known Member
Licensed User
Longtime User
I have found code to setPadding for B4A and B4i but I can't find anything on B4J.
It would be nice to have one routine that could be called for all but if there is code for B4J that would begreat.

Thanks.
 

MrKim

Well-Known Member
Licensed User
Longtime User
You can add this to the Extra CSS field:
B4X:
-fx-padding: 5;
Another option, which is simpler if you are building a cross platform solution, is to put the label inside a panel.
And make the label slightly smaller than the panel?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Top