XCode round rect buttons acting wonky - button

Does anyone else deal with buttons acting funny like this? (link below) I have no idea what causes it, or how to fix it. In the past I have re-saved all my PNG files, reimported them and it worked. But this time, all the PNG files are working fine on a different view controller, so I'm lost and hoping someone might offer some insight.
http://i.imgur.com/nAXzNDD.png

Try selecting your button then go to the attributes inspector and if Autoresize Subviews is checked, uncheck it.
That worked for me.

Related

Images appear like they are CMYK when uploaded to web. However, they are RGB

I have worked with images/Photoshop for a long time and have never had this problem. Basically, I tried uploading a few images to WordPress and they appear like this:
As you can see, the one highlighted in green turns out fine. However, the other two for some reason come out looking like they are in CMYK mode. The images are RGB and saved for web so I'm not sure what the problem might be. Can anyone help me make sense of this?
Here is the file for one of the images that come out wrong (which is strange because it comes out fine here, maybe it's a strictly WordPress issue?):
I think your comment about CMYK is a red herring. Looking at your screen shot, it appears you may have inadvertently selected the images in the window; your browser has highlighted them to show this, which gives them a slight blue overlay. Try simply reloading the page and opening that window again and see if the issue goes away.
Ive had strange things happen from images that appeared ok in windows photo viewer but when loaded into adobe fireworks the colours go wrong in a similar way.
Im assuming that the pictures display incorrectly on the 'front end' of Wordpress too, therefore i think its some weird .jpg format issue.
If you have just a few images maybe worth manually screen grab and edit screen grab if you have a viewer that works, then save out and try to re-upload to wordpress.
Or batch process the files into a different format, say bump and use a wordpress plugin like insanity that has the option to automatically convert to .jpg, to in effect clean or at least change the image format on upload.
I had the same issue- If you delete the image from wordpress, change the size of the image file to something closer to the size of the page width, that might work. It worked for me. I can't explain why that happens, but it does!

Messed up my site's CSS

Well, I did something pretty stupid. I'm using ruby on rails, and I was adding glyphicons to my site , but for some reason they weren't loading properly. A plus sign in my header looked small, and the edit and delete signs on another page came up as rectangles (The browser I was using was Chrome, and all of this was looked at via LocalHost:3000).
I decided to copy and paste the bootstrap_and_customization.css.scss file from a git-hub page into my own respective file, just to experiment.
I didn't see much of a difference, aside from spacing. After saving, I found that my website looked completely different. All the CSS and Bootstrap elements seem to be gone. I clicked undo, saved again, and found that my website still looks bizarre.
I'm using gems, which has been pretty easy so far, but right now I'm stumped. I even did git reset --hard, so I know all of my code is as it was before I screwed things up.
Could you please help me?
Do you have something that is compiling the *.SCSS files into *.CSS? If not then they won't do anything.

Stange behavior of xCode missing Text from the buttons

I am experience a new and strange problem that I never experienced before.
Text from the button are getting disappeared. I have already changed 2 buttons. now problem is started with third button.
as in screenshot below :
Can anyone please help me if this is the strange behavior or I am doing something which I am not supposed to. Thanks in advance.
I had a similar problem after I moved some buttons into a scroll view. I tried a few things but the easiest was just to recreate the buttons.
Someone else had the same problem and that's the approach they took as well.
XCode 4: some button titles not visible in iOS simulation

Html text input undo not working

I'm having a problem where the undo function (both ctrl+z and right click > undo) of html text boxes and text areas is being disabled. This is happening on pages generated from ASP.NET, and which incorporate a lot of Silverlight, JavaScript, JQuery and Ajax. It happens about 90% of the time, 10% of the time the undo works OK. It only happens when viewing the page in IE (8 + 9), it works fine in Chrome, Opera and Firefox.
It's not really practical for me to post the code on here, as there is so much of it and the problem could be burried deep anywhere in it. I'm more wondering if anyone had come across this before, or if it is a known issue. Can anyone suggest anything that might point me in the right direction?
Have you got any JS timers on the page. Even if they don't update the particular controls they can cause the control history to be wiped. I suspect it's a bug in IE.

Qt Assistant as Custom Help Viewer - Home button doesn't work?

The <homePage> tag in my .qhcp file doesn't appear to work. Sometimes it seems to set the page I specify in that tag to be the value in Edit..Preferences..Options..Homepage; sometimes not. Either way, clicking the Home button does not work. Sometimes it does nothing, sometimes it says the page could not be found - and gives what looks to me to be a perfectly valid path.
Any ideas? Or worst case, is there a way to get the viewer to not show the Home button?
The <homePage> should provide a complete path, i.e.
<homePage>qthelp://your.full.namespace/doc/index.html</homePage>
Could that be the problem?
I clicked Restore to default, and now it seems to work. Not sure what's going on, but hopefully the problem is behind us...

Resources