views:

19

answers:

1

I need my all controls to be right aligned. so when resizing they should move with the right upped corner of window instead of left upper. In visual studio, I simply set the Anchor property of any control to right and up. but PyQt has no Anchor or Dock property. Setting layoutDirection to RightToLeft didn't help.

note: I'm trying to learn PyQt using Qt Designer.

A: 

Take a look at QDockWidget. This example might also be useful.

Idan K
@Idan K: I don't want to dock my controls. I just need to align them from right.
Sorush Rabiee