With the following code, the method setPaneSashPosition is ignored.
add panedFrame
with app.panedFrame("mainPanedFrame"):
with app.panedFrame("p0", vertical=True):
app.setPaneSashPosition(30)
app.addLabel("test1", "Test in new Pane")
with app.panedFrame("p1", vertical=True):
app.setPaneSashPosition(100)
app.label("batLabel", "Battery Level", 0,0,fg="white")
app.meter("battery-level",1,0, fill="green")
app.label("battStatus","",fg="white", stretch="row", sticky="ew")
with app.panedFrame("p2"):
app.addLabelEntry("Inspection-Reference", 1,1)
app.label("dummyLabel","This is a test" ,0,0,2, bg="red", fg="white")
What can I do to set the Sash when using the WITH method instead of app.startPanedFrame()?
With the following code, the method setPaneSashPosition is ignored.
What can I do to set the Sash when using the WITH method instead of app.startPanedFrame()?