title: Setting size of hint window (THintWindow) in Delphi/Lazarus
body: <p>I am trying to make a custom hint in Lazarus. So far I have dynamically loaded the text in the hint, and customized the font face, font size, and font color. I would like to limit the width of the hint window. Any ideas? Here is my code.</p>
  
  <pre><code>type
    TExHint = class(THintWindow)
    constructor Create(AOwner: TComponent); override;
  
  ...
  
  constructor TExHint.Create(AOwner: TComponent);
  begin
    inherited Create(AOwner);
    with Canvas.Font do
    begin
      Name  := 'Hanuman';
      Size  := Size + 3;
    end;
    //Canvas.Width := ;
  end;
  </code></pre>
  
  <p>Thanks for any help.</p>