Hello.
For sidebar added listbox with items list, but position dropdown list not in currently area.
code:
…
LBM = smgr.createInstanceWithContext(“com.sun.star.awt.UnoControlListBoxModel”, ctx)
LBM.setPropertyValues((“HelpText”,“Dropdown”),(“Help text”,True))
LBM.StringItemList = (“one”, “two”, “three”, “four”, “five”, “six”)
LB = smgr.createInstanceWithContext(“com.sun.star.awt.UnoControlListBox”, ctx)
LB.setModel(LBM)
LB.setPosSize(15, 15, 250, 25, 15)
…
panel.addControl(“listbox”, LB)
…
How set position or property for correct positioning?
OS: Linux version
LO: 7.4.7.2