putting items into a Drawer?
-
Hi all -
I'm trying to put a ScrollBar in my Drawer, and it's not working. I can post code and pics, but first I thought I'd ask - am I trying to perform an unnatural act here?
Thanks...
EDIT:
In fact, I seem to be having trouble putting something as simple as a rectangle in my drawer:
Rectangle { id: tile property string drawerFile: "" // supplied by caller; value is "Pump.qml" Drawer { id: drawer width: parent.width * 0.7 height: mainWindow.height Loader { id: drawerLoader active: drawer.opened source: tile.drawerFile } } ... // Pump.qml Item { anchors.fill: parent Rectangle { height: parent.height width: parent.width color: 'blue' border.color: 'black' border.width: 3 }The rectangle doesn't show up at all. If I use an image, that shows up fine, so I'm guessing there's something wrong with my size "inheritance" somewhere between the Drawer and the Rectangle. Can someone see what I'm doing wrong?
Thanks...