screen layouts on card

Mich Robinson

Ranch Hand

Posts: 260

1

posted 8 years ago

I'm trying to write an application using card layouts. I'd like to be able to position the various fields on screen but I don't understand how to do this. Every item I add to the card just follows on from the last item accross the screen. A simple technique would be great. I'd also be quite happy to position things using x,y positions etc.

I have one card with hotel bookings on screen and the idea is the user can click a booking and get more detailed booking info on a card that pops up. This is the relevant code (I'm currently trying the FlowLayout but I've tried just about everything):