Page 1 of 1

Aspect ratio not working in MorphOS

Posted: Wed Mar 23, 2022 12:32 pm
by amyren
I found that in MorphOS the option to keep aspect ratio when resizing objects does not work. Ticking that option does not change anything.
This might be a MorphOS / MUI bug. If I knew which MUI class this sorts under I could check the versions on these systems.

For the same operation in AmigaOS4 or OS3, it works. Changing the X value automaticly change the Y value accordingly.

Re: Aspect ratio not working in MorphOS

Posted: Wed Mar 23, 2022 7:55 pm
by airsoftsoftwair
Yes, that's a MorphOS MUI bug/feature. The MorphOS team are aware of it but I don't think they are going to fix it. I think for some reason they didn't like this MUI feature (edit hooks) and left it out on MorphOS.

Re: Aspect ratio not working in MorphOS

Posted: Wed Mar 23, 2022 8:03 pm
by emeck
I forgot about this:

viewtopic.php?f=5&t=1235

So, after about 7 years I asked MOS develpers and they told me that MUIA_String_EditHook was phased out of MOS more than 15 years ago.

They say that instead of hooks, subclassing is how it works now.