ingame/crafting/smithing_common.lua:245 -- control.titleLabel:SetHandler("OnTextChanged", function(titleLabel)
local titleWidth = titleLabel:GetTextWidth()
local totalWidth = control:GetWidth()
local TITLE_SELECTED_LABEL_PADDING_X = 10
local selectedLabelWidth = (totalWidth - titleWidth * 2) - TITLE_SELECTED_LABEL_PADDING_X * 2
selectedLabel:SetWidth(selectedLabelWidth)
end)