[SOLVED] Android Bridges / jButton : error in EDI lazarus / 43-Android ---------------------------------------------------------------------- tintinux · 2016-05-31 12:47 Hi When we click on a jButton in design mode on the form, the height property is changed to the next lower value...until the height is set to 0. This doesn't occur if we click in the Components tree, only when we click on a button in a form. I didn't notice it two weeks ago. Not a big issue, but annoying... If someone can do something, thanks to him. ---------------------------------------------------------------------- A.S. · 2016-05-31 18:44 Do you mean Height property of the jButton? What is your jButton's LayoutParamHeight property value? If it is lpWrapContent then as far as I know the Height of the button should be calculated at design time, so you cannot change it directly. ---------------------------------------------------------------------- tintinux · 2016-05-31 19:11 This occurs when The button's parent is a Panel with : Panel.LayoutParamheight = lpOneEightOfParent  (the parent is the jForm) Panel.Height = 34 jButton.LayoutParamheight = lpMatchParent jButton.Height = 22  (set automatically) All margins are = 0 After a single click  : jButton.LayoutParamheight changed to lpTwoThirdOfParent jButton.Height changed to 8   (this not 22 * 2/3) The layout of the button is changed according the Height, not the LayoutParamHeight... Tomorrow, I can try make a small example where it occurs. Thanks ---------------------------------------------------------------------- A.S. · 2016-05-31 19:27 Thank you! The information you have provided is sufficient to reproduce the problem. So I'll try to fix it. ---------------------------------------------------------------------- tintinux · 2016-06-02 12:04 It is fixed, thanks !