Skip to content

new parameter: tooltip #6

@klingo

Description

@klingo
  • ShifterBox:AddEntryToLeftList
  • ShifterBox:AddEntryToRightList
-- CURRENT
shifterBox:AddEntryToRightList(key, value, replace, categoryId)
-- TARGET
shifterBox:AddEntryToRightList(key, value, tooltip, replace, categoryId)
  • ShifterBox:AddEntriesToLeftList
  • ShifterBox:AddEntriesToRightList
-- CURRENT
shifterBox:AddEntriesToRightList(entries, replace, categoryId)
entries = {
   [key] = value,
   [key] = value
}
-- TARGET
shifterBox:AddEntriesToRightList(entries, replace, categoryId)
entries = {
   [key] = {
      [value] = value,
      [tooltip] = tooltip
   },
   [key] = {
      [value] = value,
      [tooltip] = tooltip
   }
}

Constraints: Will replace the current tooltip that is displayed if the full value cannot be displayed (listBox not wide enough)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions