TMSFNCPlanner Item.text no wordwrap

Normally, the text in The PlannerItem wraps. Is there a way to switch off the break?

There is currently no property to switch off wordwrapping. We'll see if we can add properties to controls this, you can use the following approach instead:

procedure TForm6.TMSFNCPlanner1BeforeDrawItemText(Sender: TObject;
  AGraphics: TTMSFNCGraphics; ARect: TRectF; AItem: TTMSFNCPlannerItem;
  AText: string; var AAllow: Boolean);
  AAllow := False;
  AGraphics.DrawText(ARect, AText, False, TMSFNCPlanner1.ItemsAppearance.TextHorizontalTextAlign, TMSFNCPlanner1.ItemsAppearance.TextVerticalTextAlign);

Thank you Pieter,
That's what I wanted. Now the items look better ;)


Great! Thanks for the feedback.