Scrypt Analysis window content is clipped and does not occupy all avaialble width

  1. open Script Analysis window make it wider (in a hope see more content)
  2. create a script with some warning
    or use this one
--!strict

local function f(w: {{ value: number }}) end

type T = {
	value: number;
	s: string;
}

f({} :: {T})

  1. Ensure that analysis is enabled in studio settings
  2. Check Script Analysis window (it’s around 1250 pixels width on the screenshot below):

Problem:

  • The window content does not occupy the full available width (see the light grey rectangle with hovered content).
  • Content is clipped and does not wrap. Even when the available width is insufficient to display all content, there is no way to scroll to view more. This differs from scrolling views, where users can access the full content.

Problem with the popup:

  • The popup feels awkward to use.
  • If users move the mouse to investigate further in Studio, the popup with the full content closes.
  • To see the content again, users must hover over the element once more.

Expected behavior:

  • Content should fully utilize the available window client size.
  • Content must never be clipped, so users don’t have to hover and wait for a popup to view the full text.

Thank you!

1 Like