fix(gui): cap persona system prompt text box height at 300px
This commit is contained in:
@@ -1956,6 +1956,7 @@ class App:
|
|||||||
elif self._persona_prompt_open: h1, h2 = 0, rem_y
|
elif self._persona_prompt_open: h1, h2 = 0, rem_y
|
||||||
else: h1, h2 = 0, 0
|
else: h1, h2 = 0, 0
|
||||||
h1 = min(h1, 300)
|
h1 = min(h1, 300)
|
||||||
|
h2 = min(h2, 300)
|
||||||
|
|
||||||
imgui.dummy(imgui.ImVec2(0, 4))
|
imgui.dummy(imgui.ImVec2(0, 4))
|
||||||
opened_models = imgui.collapsing_header("Preferred Models", imgui.TreeNodeFlags_.default_open)
|
opened_models = imgui.collapsing_header("Preferred Models", imgui.TreeNodeFlags_.default_open)
|
||||||
|
|||||||
Reference in New Issue
Block a user