Shrinking Mac stack

J. Landman Gay jacque at hyperactivesw.com
Tue Apr 5 17:40:34 EDT 2005


On 4/5/05 3:44 PM, Mark Talluto wrote:

> 
> On Apr 4, 2005, at 2:24 PM, Trevor DeVore wrote:
> 
>> On Apr 4, 2005, at 12:36 PM, J. Landman Gay wrote:
>>
>>> I am still having the problem where the bottom of a stack gets cut 
>>> off on Mac standalone builds when the stack contains a menu bar. This 
>>> has been going on forever and usually (but not always) can be fixed 
>>> by setting the desired stack height in a preopenstack handler.
>>>
>>> Since I don't see many complaints about this behavior, I'm wondering 
>>> if others are still seeing it or if it is just me. If it is just me, 
>>> does anyone know what causes it? I'd very much like to avoid using 
>>> the work-around hack if possible.
>>
>>
>> I hadn't seen this in a while but not more than 10 minutes after 
>> reading this I noticed this on an app we are testing right now.  I 
>> don't see it on my development computer but it does happen on another 
>> computer here at the office.  So the bug is still alive and well.
>>
>> In the case I'm looking at right now the card height is reported 
>> correctly and my controls resize to the visible size of the stack but 
>> the bottom 21 pixels of the stack are just white (my graphics/controls 
>> are cut off).  When I switch to use the stack height to resize 
>> controls then my controls resize just above the 21 pixels that are white.
>>
>> So it would appear that Revolution is displaying the window equal to 
>> the height of the card but only drawing controls into a height equal 
>> to the height of the stack.
>>
> 
> I have noticed that the problem arises when you do the following:
> 
> 1.  Build the stack to look as it should on the Mac first
> 2.  Build the Win standalone on a Mac.
> 
> The Win version will push everything down to make room for the menubar.
> 
> If you build the standalone on the Win system, all is well.

That's good to know -- I'll keep that in mind. But in my case, I was 
creating on a Mac and building for a Mac. I've seen the white area at 
the bottom of stacks in other projects, but in this case everything was 
in the proper place but the stack height was too short. It cut off the 
bottom of all the lower objects by the height of the menubar.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


More information about the use-livecode mailing list