Bug? B4j Designer script problems

Status
Not open for further replies.

Schakalaka

Active Member
Licensed User
Longtime User
Hello,
I have create a customlistview in b4j.

1742225923435.png


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
1742226083665.png

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
 
Status
Not open for further replies.
Top