Description length often ends in ellipses #559


Open
  • SteeStea created this issue Oct 19, 2020

    I have an inline description for an option which seems to be just the right size that no matter how I set the size of the option, it results in the inline description being cut short with ellipses, even if its already been wrapped. I've tried "full", "double", to no avail. 

     

     

     

    L["altbuffeddesc"] = "Alt support only triggers the instructional whisper when the player is buffed (all players can still use alt support)"

    ...

    buffed = {
    order = 2,
    name = L["Enable only when player buffed"],
    desc = L["altbuffeddesc"],
    type = "toggle",
    width = "double",
    descStyle = "inline",
    set = function(_, val)
    SteaSummonSave.altbuffed = val
    end,
    get = function()
    return SteaSummonSave.altbuffed
    end
    },

     

     

  • SteeStea edited description Oct 19, 2020
  • nevcairiel posted a comment Oct 20, 2020

    I just mocked up something like this, and I have no problems:

    https://pastebin.com/50UMufzD

     

    It also wraps into the next line when I add more text, or make the window smaller.

  • SteeStea posted a comment Oct 20, 2020

    The page was displaying in the blizz options, don't know if that effects things. I have other long descriptions that have no issue. I suspect there is a relationship between window width and where the string would naturally end. I've noticed this happens when it looks like there's no reason for the ellipsis because there would be just enough space, and the line hasn't wrapped yet.


To post a comment, please login or register a new account.