Schakalaka Active Member Licensed User Longtime User Mar 17, 2025 #1 Hello, I have create a customlistview in b4j. i want use the "script" and define the size of each element, but the result is not as expected: all elements have .top = 10%y but this is the result B4X: lblEAN.Top = 10%y lblEAN.Left = 4%x lblEAN.Width = 6%x lblEAN.Height = 8%y edtEan.Top = 10%y edtEan.Left = lblEAN.Right + 2%x edtEan.Width = 14%x edtEan.Height = 6%y lblDeviceName.Top = 10%y lblDeviceName.Left = edtEan.Right + 2%x lblDeviceName.Width = 12%x lblDeviceName.Height = 8%y edtDeviceName.Top = 10%y edtDeviceName.Left = lblDeviceName.Right + 2%x edtDeviceName.Width = 16%x edtDeviceName.Height = 6%y Where is the problem? Thank you
Hello, I have create a customlistview in b4j. i want use the "script" and define the size of each element, but the result is not as expected: all elements have .top = 10%y but this is the result B4X: lblEAN.Top = 10%y lblEAN.Left = 4%x lblEAN.Width = 6%x lblEAN.Height = 8%y edtEan.Top = 10%y edtEan.Left = lblEAN.Right + 2%x edtEan.Width = 14%x edtEan.Height = 6%y lblDeviceName.Top = 10%y lblDeviceName.Left = edtEan.Right + 2%x lblDeviceName.Width = 12%x lblDeviceName.Height = 8%y edtDeviceName.Top = 10%y edtDeviceName.Left = lblDeviceName.Right + 2%x edtDeviceName.Width = 16%x edtDeviceName.Height = 6%y Where is the problem? Thank you
Erel B4X founder Staff member Licensed User Longtime User Mar 17, 2025 #2 Please start a new thread in the questions forum.