Hi Isomorphic,
please see this online testcase (v12.0p_2019-03-11):
As you can see, there are some problems with icon display / change / change back. I know that one file is missing (see here for an idea how to make debugging such things more easy)
IMHO the icon of the button should also be in the state the button is in.
Also, there are tabbing issues. I can't seen to tab from the 1st button to the 2nd one.
Best regards
Blama
please see this online testcase (v12.0p_2019-03-11):
Code:
isc.Menu.create({ ID: "menu", autoDraw: false, showShadow: true, shadowDepth: 10, data: [ {title: "New", keyTitle: "Ctrl+N", icon: "icons/16/document_plain_new.png"}, {title: "Open", keyTitle: "Ctrl+O", icon: "icons/16/folder_out.png"}, {isSeparator: true}, {title: "Save", keyTitle: "Ctrl+S", icon: "icons/16/disk_blue.png"}, {title: "Save As", icon: "icons/16/save_as.png"}, {isSeparator: true}, {title: "Recent Documents", icon: "icons/16/folder_document.png", submenu: [ {title: "data.xml", checked: true}, {title: "Component Guide.doc"}, {title: "SmartClient.doc", checked: true}, {title: "AJAX.doc"} ]}, {isSeparator: true}, {title: "Export as...", icon: "icons/16/export1.png", submenu: [ {title: "XML"}, {title: "CSV"}, {title: "Plain text"} ]}, {isSeparator: true}, {title: "Print", enabled: false, keyTitle: "Ctrl+P", icon: "icons/16/printer3.png"} ] }); var menuButton = isc.IconMenuButton.create({ ID: "menuButton", backgroundColor: "lightgray", autoDraw: false, title: "File", width: 100, menu: menu, // icon: "http://lms.localhost:8080/lms/lms/sc/skins/Tahoe/images/LT3/flags/flag.png", icon: "icons/16/icon_add_files.png", showRollOverIcon: true, showRollOver: true, showMenuOnClick: true, }); var menuButton2 = isc.IconMenuButton.create({ ID: "menuButton2", backgroundColor: "lightgray", autoDraw: false, title: "File 2", width: 100, menu: menu, // icon: "http://lms.localhost:8080/lms/lms/sc/skins/Tahoe/images/LT3/flags/flag.png", icon: "icons/16/icon_add_files.png", showRollOverIcon: true, showRollOver: true, showMenuOnClick: true, }); isc.HStack.create({ width: "100%", membersMargin: 10, members: [menuButton, menuButton2 ] });
As you can see, there are some problems with icon display / change / change back. I know that one file is missing (see here for an idea how to make debugging such things more easy)
IMHO the icon of the button should also be in the state the button is in.
Also, there are tabbing issues. I can't seen to tab from the 1st button to the 2nd one.
Best regards
Blama
Comment