In the layout file, there are two side-by-side panels, pnlFee(left) and pnlWeekly (right). The left panel looks good enough to me after applying anchors and designer scripts.
However if I apply similar technique to the right panel, neither view would appear. Here are the designer scripts
The layout file is attached. Could someone tell me what I did incorrectly? Thank you in advance!
However if I apply similar technique to the right panel, neither view would appear. Here are the designer scripts
designer scripts:
'All variants script
AutoScaleAll
'scripts for left panel:
pnlFee.SetLeftAndRight(0,50%x)
lblFee.SetLeftAndRight(pnlFee.Left+1%x, pnlFee.Right-1%x)
bpmOffer.SetLeftAndRight(pnlFee.Left+1%x, pnlFee.Right-1%x)
'scripts for right panel:'
pnlWeekly.SetLeftAndRight(49%x,99%x)
lblWeekly.SetLeftAndRight(pnlWeekly.Left+1%x, pnlWeekly.Right-1%x) 'the runtime screenshot was taken when this line was commented out.
chkWeekly.SetLeftAndRight(pnlWeekly.Left+1%x, pnlWeekly.Right-1%x)
The layout file is attached. Could someone tell me what I did incorrectly? Thank you in advance!