Silly question, but I am curious first of the why and second for which is preferred
When I drag images into a Xojo project, some of them are inserted with just the image as is, and others are inserted as a 1x, 2x, and 3x. See images below. I’ve never add an image to the forum but attempted below.
Is drag and drop the way to go to insert your images? Which is preferred? Single image or 1, 2, 3x? In my ones that are 1x, 2x, 3x, I have not been adding any of the 2x or 3x. Wasn’t sure how to accomplish this.
I occasionally run into users getting NilObjectExceptions and am grasping at straws. It donned on me today that maybe it’s the images that are missing the 2x and 3x. In which case I should add these too or just somehow add so they’re just the one image and not the 1, 2, 3x. Do you think this could be a potential issue for my few troublesome users?
Hi Emile. In the example above, all of the PANEL_ images came from the same folder, which is on the same computer as the Xojo project. They were all selected (at once) and dragged over to the project (altogether). In that example, all made the single image (top image) and only the PANEL_Chat made the bottom image with the “Any 1x, 2x, and 3x” on the right pane of the main window
I guess my question is do I need to add images to the Any 2x and Any 3x slots in the bottom image in any pics that have an image set like this. Could this have anything to do with the occasional NilObjectException some users face since there are empty (nil) 2x and 3x images in some of my image folders? Or is this not worth the effort and just leave as is with some single images and some image sets?
Ok, I understand that if HiDPI is enabled and I drag an image, then I get the Image Set Editor.
If I set HiDPI to OFF then I will only get a single image.
But how is possible if I drag multiple images I get some as Image Set Editor and not others?
I just did a test adding images to a project, setting HiDPI on and off and I can have some representation as single image and others as image set, but I can’t drag several at the same time with the same setting and get some for one type and some for the other.