SirMallard / Iris

Iris is an Immediate-Mode GUI Library for Roblox for creating debug and visualisation UI and tools, based on Dear ImGui,
https://sirmallard.github.io/Iris/
MIT License
164 stars 25 forks source link

Iris.InputTextMultiline #40

Closed SirMallard closed 2 months ago

Michael-48 commented 9 months ago

Updating this issue to reflect the way ImGui handles multiline text input. In ImGui it is its own function, ImGui::InputTextMultiline(). This is probably better because it has an additional argument, const ImVec2& size = ImVec2(0, 0) which determines its size in characters.

SirMallard commented 2 months ago

This has been fixed 4eb3244448acfe1043377ec17ca5e17f7e66a966 with the addition of the ContentHeight config option, which now sets a minimum size for certain widgets. Additionally, ReadOnly and MultiLine arguments have been added to Iris.InpuText which should cover everything needed by this.