08-27-2016, 04:54 PM
I've got some widget problems, as well, although they're not custom.
1) When I create a modal dialog box, the default OK button is positioned 7px higher in Windows (10) than in Mac.
2) When I place graphics in modal dialogs, they work perfectly on the Mac (CS6), but have erratic behavior under Windows (v10, 64-bit). Here's the code:
There are three graphic panels, a white background, logo, product name, and one text label for the version, etc. The white background seems fine. Everything else is invisible. The logo appears when I roll a cursor over it, then disappears when the cursor re-enters it, or at least usually. It's erratic. The logo and text label usually become visible when I mouse over them, but they're inverted. I've tried setting the rollover IDs to NULL with no change. I could change the background to all one image, but it's very helpful to have the option to make adjustments as needed.
1) When I create a modal dialog box, the default OK button is positioned 7px higher in Windows (10) than in Mac.
2) When I place graphics in modal dialogs, they work perfectly on the Mac (CS6), but have erratic behavior under Windows (v10, 64-bit). Here's the code:
Code:
hdi::core::Label logoLbl( hdi::core::Rect(marginWidth, 0,75,101),
hdi::core::Widget::ImageIDs( X_LOGO_PNGI_RSRC_ID,GX_WHITEBG_PNGI_RSRC_ID,GX_LOGO_PNGI_RSRC_ID) );
AboutMD.addWidget(logoLbl);
There are three graphic panels, a white background, logo, product name, and one text label for the version, etc. The white background seems fine. Everything else is invisible. The logo appears when I roll a cursor over it, then disappears when the cursor re-enters it, or at least usually. It's erratic. The logo and text label usually become visible when I mouse over them, but they're inverted. I've tried setting the rollover IDs to NULL with no change. I could change the background to all one image, but it's very helpful to have the option to make adjustments as needed.