Abdelrazak Younes wrote:

>> But what about deeply nested stuff, or stuff inside minipages etc. It
>> seems difficult to come up with good heuristics to avoid that metrics
>> call without using textwidth.
> 
> I think that by testing he dimension of the button and if we forbid
> openinlined if the button is too large wrt the screen, this is OK.

Sure, IIUC ideally we should test if the inset just fits inlined with the
button or not. But the reference width here should be the textwidth_, not
the screen width (think about deeply nested stuff).

>> Could you remind me why of the comment "// This
>> expression should not contain mi.base.texwidth" of line
>> InsetCollapsable:212 ?
> 
> No idea... is it my comment?

Don't know ;-) But it would be nice to have textwidth in the expression.

A/


Reply via email to