Minor tweaks to list controls

This commit is contained in:
Openarl
2017-05-19 18:24:38 +10:00
parent 8be496d933
commit c0929fdeb3
10 changed files with 62 additions and 26 deletions

View File

@@ -13,6 +13,7 @@ local SharedItemListClass = common.NewClass("SharedItemList", "ListControl", fun
self.ListControl(anchor, x, y, width, height, 16, true, main.sharedItems)
self.itemsTab = itemsTab
self.label = "^7Shared items:"
self.defaultText = "^x7F7F7FThis is a list of items that will be shared between all of\nyour builds.\nYou can add items to this list by dragging them from\none of the other lists."
self.dragTargetList = { }
self.controls.delete = common.New("ButtonControl", {"BOTTOMRIGHT",self,"TOPRIGHT"}, 0, -2, 60, 18, "Delete", function()
self:OnSelDelete(self.selIndex, self.selValue)