I have been trying to create menu items that contain text for the menu item plus text for the shortcut key for that item.
what I would like is for the menuText to be left aligned and the shortcutText to be right aligned. Is that at all possible to achieve?
mnuObj = { text: '<span id=' + menuId + ' data-id=' + dataId + '>' + menuText + shortcutText + '</span>', encoded: false, imageUrl: imgFolderPath + menuImage };
What I am doing at the moment is prefixing a variable number of ' 's to the shortcutText based on the number of characters in menuText but the result is not very good.
Thanks
Jim