- Fix for the custom display window where apply and cancel buttons where over the edit window.

- Fix for an issue on editing a bookmark.
This commit is contained in:
Tercio
2017-04-07 23:31:22 -03:00
parent ba1542f04d
commit abb5ff302d
3 changed files with 13 additions and 6 deletions
+5 -6
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -1878,6 +1878,8 @@
this_block.bg:SetVertexColor (.4, .4, .4, .6)
end
else
bookmark.atributo = bookmark.atributo or 1
bookmark.sub_atributo = bookmark.sub_atributo or 1
this_block.label.text = _detalhes.sub_atributos [bookmark.atributo].lista [bookmark.sub_atributo]
this_block.icon.texture = _detalhes.sub_atributos [bookmark.atributo].icones [bookmark.sub_atributo] [1]
this_block.icon.texcoord = _detalhes.sub_atributos [bookmark.atributo].icones [bookmark.sub_atributo] [2]
+6
View File
@@ -1704,9 +1704,15 @@
if (code_editor.expanded) then
code_editor:SetSize (420, 238)
code_editor.expanded = nil
custom_window.box0.cancelbutton:SetPoint ("bottomleft", attribute_box, "bottomright", 37, -10)
--custom_window.box0.acceptbutton:SetPoint ("left", cancel_button, "right", 2, 0)
else
code_editor:SetSize (950, 800)
code_editor.expanded = true
custom_window.box0.cancelbutton:SetPoint ("bottomleft", attribute_box, "bottomright", -237, -10)
--custom_window.box0.acceptbutton:SetPoint
end
end