lively.next icon indicating copy to clipboard operation
lively.next copied to clipboard

Workspace output is too big.

Open zarp-dev opened this issue 4 years ago • 2 comments

Workspace output is too big. It should be smaller. Screenshot 2021-01-30 at 22 24 30

zarp-dev avatar Jan 30 '21 19:01 zarp-dev

Yes, this is due to a messed up state of the message morphs. When I find time, I will revise them. Thank you!

merryman avatar Jan 31 '21 10:01 merryman

@zarp-dev As a quick fix, you could override StatusMessage #fit method in StatusMessageForMorph (lively.halos/markers.js), so that it will aware on all submorphs, not only 'message text' submorph.

fit () {
    const minHeight = 35; const minWidth = 100;
    this.extent = pt(minWidth, minHeight).maxPt(this.globalBounds().extent());
    this.relayout();
  }

NikolaySuslov avatar Jan 31 '21 16:01 NikolaySuslov

This should be fixed with the new text rendering.

linusha avatar Jan 24 '23 11:01 linusha