gansm / finalcut

A text-based widget toolkit
https://github.com/gansm/finalcut/wiki/First-steps#first-steps-with-the-final-cut-widget-toolkit
GNU Lesser General Public License v3.0
981 stars 52 forks source link

Dynamic Layout issue #112

Closed wimstockman closed 1 year ago

wimstockman commented 1 year ago

Hi Markus,

I have some issue with dynamic layout. my RLine object resizes fine, but it doesn't reposition . Probably just overseeing something.

Here is the code

Thank you very much. Kind Regards, Wim

wimstockman commented 1 year ago

Hi Markus, I found a solution. Apparently overriding the adjustSize method in a new composition widget isn’t a good choose, overriding the draw method did the trick. and using the adjustSize method only in the dialog window and not in derived / self-created widgets :-). Kind Regards, Wim Stockman