Menu

#1025 Multicell issue

v1.0_(example)
closed
nobody
1
2015-03-27
2015-02-09
Richard
No

The behaviour of MultiCell with fitCell set to true, is somewhat unexpected. In this case, when h=0 and maxh is, for example 100, the height of the cell will always be 100, even if the text would easily fit within a height of 50.

Is this by design or might it be labelled a bug?

I would expect the cell to automatically expand to 50 (because h=0). If the text is too long to fit within a height of 100 (maxh), then fitCell would try to decrease the fontsize.

Discussion

  • Nicola Asuni

    Nicola Asuni - 2015-02-10

    Please provide a test case. Bug reports without a simple test case will be closed.

     
  • Richard

    Richard - 2015-02-10

    Hi Nicola,

    I attached a test case.

    Thanks!

     

    Last edit: Richard 2015-02-10
  • Nicola Asuni

    Nicola Asuni - 2015-02-10

    This is happening because you are using the fitcell option.
    When $fitcell is true $maxh and $h must have the same value.

     
  • Nicola Asuni

    Nicola Asuni - 2015-02-10
    • status: open --> closed
     
  • Richard

    Richard - 2015-02-10

    So, if I understand this correctly, there is no way to have the cell extend automatically if needed, when fitcell is set to true?

     

Log in to post a comment.