I have added some spacer, like this :
Code: Select all
int w,h;
GetClientSize(&w,&h);
user_sizer->Add(w*0.6,-1);
and the effect like :
- 11.jpg (13.33 KiB) Viewed 1826 times
but when I cliked the maximize button, the distance didn't change , like this:
- 12.jpg (15.59 KiB) Viewed 1826 times
I want to make the distance changed with the whole panel size changing, what can I do?