eranif / codelite

A multi purpose IDE specialized in C/C++/Rust/Python/PHP and Node.js. Written in C++
https://codelite.org
GNU General Public License v2.0
2.09k stars 448 forks source link

[Bug]: Function description box is larger than the screen #3282

Closed yunkot closed 7 months ago

yunkot commented 7 months ago

What happened?

For the following function declaration inside a struct "Matrix":

  /// Creates a left-handed perspective projection matrix defined by a field of view on Y axis. This is
  /// a common way for typical 3D applications. In 3D shooters special care is to be taken because on
  /// wide-screen monitors the visible area will be bigger when using this method. The parameters that
  /// define the viewed range are important for defining the precision of the depth transformation or a
  /// depth-buffer.
  /// @param[in] fieldOfView The camera's field of view in radians. For example Pi/4.
  /// @param[in] aspectRatio The screen's aspect ratio. Can be calculated as y/x.
  /// @param[in] nearPlane   The closest range at which the scene will be viewed.
  /// @param[in] farPlane    The farthest range at which the scene will be viewed.
  static Matrix PerspectiveFOVY(VectorFloat fieldOfView, VectorFloat aspectRatio, VectorFloat nearPlane,
    VectorFloat farPlane, bool depthClipNegative = false);

When mouse is hovered over this function inside the code, the description box appears and is much larger than the screen. It looks like this (photo as can't take it as a screenshot): IMG_0922

Version

CodeLite revision 7ff7b63707b3e60ebaf2476dbcff61086d1f08f2

Operating system

Arch Linux / Xorg / wxWidgets 3.2.4 (self-compiled)

yunkot commented 7 months ago

Thanks for a quick fix! I use CodeLite daily, it's a great top quality IDE! P.S. Just wired you $50 worth of donation as a small thank you gift.