[Cuis] Morph default position

Juan Vuletich juan at jvuletich.org
Fri Jul 24 07:00:12 CDT 2015


Hi Folks,

On 7/24/2015 7:23 AM, Phil (list) wrote:
> On Thu, 2015-07-23 at 20:39 -0700, Ken.Dickey wrote:
>> My panels lost their titles.
>>
>> This was because the WindowTitleMorphs were created and added to the window without setting the morphPosition to 0 at 0, so they were at 50 at 50, way outside the viewport of the windows.
>>
>> Not difficult to fix, but there is a tension between being required to set morphPosition when/before/during addMorph* method sends and only setting morphPosition when the default is not desired.
>>
> Insetting Morphs seemed like such a harmless suggestion...

Uh, apologies. I also thought it would harmless. I'll take back that 
change, and set an offset only when adding to World.

Regards,
Juan Vuletich




More information about the Cuis mailing list