mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
test AceGUIWidget-MultiLineEditBox
This commit is contained in:
@@ -285,9 +285,11 @@ local function ExportImport_Open(mode)
|
|||||||
box.editBox:SetScript("OnTextChanged", function()
|
box.editBox:SetScript("OnTextChanged", function()
|
||||||
if this then
|
if this then
|
||||||
box:SetText(exportString)
|
box:SetText(exportString)
|
||||||
box.editBox:HighlightText()
|
this:HighlightText()
|
||||||
end
|
end
|
||||||
|
|
||||||
box.scrollFrame:UpdateScrollChildRect()
|
box.scrollFrame:UpdateScrollChildRect()
|
||||||
|
box.scrollFrame:SetVerticalScroll(box.scrollFrame:GetVerticalScrollRange())
|
||||||
end)
|
end)
|
||||||
elseif mode == "import" then
|
elseif mode == "import" then
|
||||||
frame:SetTitle(L["Import Profile"])
|
frame:SetTitle(L["Import Profile"])
|
||||||
|
|||||||
@@ -217,9 +217,6 @@ local function OnSizeChanged() -- ScrollFrame
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function OnTextChanged() -- EditBox
|
local function OnTextChanged() -- EditBox
|
||||||
this:UpdateScrollChildRect()
|
|
||||||
this:UpdateScrollState()
|
|
||||||
this:SetVerticalScroll(this:GetHeight())
|
|
||||||
local self = this.obj
|
local self = this.obj
|
||||||
local value = this:GetText()
|
local value = this:GetText()
|
||||||
if tostring(value) ~= tostring(self.lasttext) then
|
if tostring(value) ~= tostring(self.lasttext) then
|
||||||
|
|||||||
Reference in New Issue
Block a user