the effective width of a stack?
Paul Dupuis
paul at researchware.com
Wed Aug 17 15:46:08 EDT 2022
On 8/17/2022 1:58 PM, Mark Wieder via use-livecode wrote:
> On 8/17/22 10:38, Paul Dupuis via use-livecode wrote:
>
>> I'd appreciate any pointers to where effective width or effective
>> height of a stack is documented.
>
> You can't use "effective" with custom properties either.
> https://quality.livecode.com/show_bug.cgi?id=23557
>
> You *can* set the effective rect of a stack, although you may not get
> the result you expect.
> https://quality.livecode.com/show_bug.cgi?id=16305
>
I now remember bug 16305. Mark entered it based on a list discussion
where I reported it. Hence my comments on it. I now use Panos's
workaround (in fact my code base is riddled with "work-arounds"), but
there seem to be a (limited) consensus that on Windows 10, the effective
rect should only factor in VISIBLE border elements, not INVISIBLE ones.
I still wish they would fix it.
That all said, where is effective width/heigh/rect of a stack/window
documented in the Dictionary? The 'effective rect' and other 'effective'
dimension properties of a stack/window are important for multiple window
positioning, resizing, alignment, and more and should be in teh
Dictionary. ALSO, as the 1 exception to the "you can not SET 'effective'
things rule, that should definitely be documented.
I'll file a documentation bug report, but I don't want to file one just
to find out I looked under the 'wrong' place.
Paul Dupuis
Researchware
More information about the use-livecode
mailing list