Electron rounded corners in linux? - electron

I am currently trying to make a transparent twitter window with rounded and every thing I have found to make the corners rounded has not worked. I am using the border-radius style but nothing changes. Is this an issue with electron or am I just doing something wrong. I am simply loading twitter with electron with transparent background and then manually adding the radius to the body.

Related

Button background alignment

I'm a long-time web dev trying to get into iOS development and Xcode so please forgive me for the simplest of questions.
I have a strange issue when I cannot centre align button text within a button's background image. Please see the screenshot below. At the moment you can see the text sits right aligned to the background image.
It’s not a background image. Think of it more like an icon.
It looks like you might want to set your Style to “Default”. Then it will show a background field under image

Mail chimp with Devise and Rails

I'm trying (failing miserably) to setup mandrill/mailchimp to work with rails 4 and devise.
I'm having loads of trouble using dynamic fields, but now, i can't even insert my logo without mail chimp overriding it to put a black square background behind it.
All I have done is import the image, then when I try to resize it in mailchimp, it imposes a black square background.
Does anyone know how to block this background from being imposed?
This came from mail chimp support: Also, it's important to mention that because of the lack of a background color for transparent image, a black background is automatically added when the image is edited. Two workarounds would be to resize the image outside of the account in an any outside image editor, or add a white or other colored background, which would enable for that image to be resized in the app and would enable for that black background to not show

UITabBar Image is not clear

I just recently got a new set of icons for my app (from an external designer) and I am trying to implement them, but for some reason it ends up looking like this (the new icon is the one in the middle):
I have tried setting the image of the tab bar to have UIImageRenderingModeAlwaysOriginal, but that's given me no luck.
Here's the icon (it kind of blends into the background but its a white envelope):
Any reason why this is happening and how I can fix?
The problem is that the entirety of your image is opaque - at least part of it needs to be transparent to appear as you want it to.
In the below image (since the entire thing is white now, it's directly below this text), I have removed the black line and made that transparent. I then added this image to a tab bar, and it worked fine for me.
Here's the link to the image, as well.
What I ended up doing was setting using UIImageRenderingModeAlwaysOriginal for the tabbar image in the awakeFromNib method...that seemed to fix the issue.

Icon Looks Strange on iPhone Home Screen

Please check the left and right hand corners, the icon looks nice in other situation, the original icon also look nice, but when it shows on the home screen of iphone, there is a black line around the corner as shown below:
First one is original, second is retina, third is non-retina.
What's wrong? How to fix this??
Thanks!!
As described in the iOS HIGs you shouldn't add a rounded corner to the icon you supply. The corners will be automatically rounded on the homescreen. You probably got the radius wrong by a pixel or two.
Glow and shadow appears by default to all iOS homescreen icons. You can change it by adding:
UIPrerenderedIcon YES
to your Plist file.
The way to fix this is copy your square retina icon, rename it to be the same name as your current non retina icon, open it with Preview, resize it by half, save, replace old rounded icon with the one you just made.
I recommend using the template provided by this link instead. There is a script inside this template that will automatically output all the necessary format needed for your app. Just provide a square image as the original image and the template will take care of automatically of applying a mask to the part you want to be rounded so you shouldn't face the issue you are observing here. As mentioned by DrummerB you shouldn't provide an icon image with rounded corner.
You don't need to make icon image corners rounded, it gets rounded automatically.
Try without rounder corner image.

How does one eliminate the rounded corners on the main window on an iPad app?

I have seen some iPad apps that fill the screen (e.g. Stanza) or have squared off corners under the status bar (e.g. the iPod player has square corners at the top; can't tell at the bottom). Anyone know how this is done?
It seems that, by default, the top-level UIWindow has a clipping region applied, as any subviews I place in that window get clipped off in those corners. If that is the case, is there a way to get rid of this? BTW, the clipping only seems to be there on the iPad, not on my iPod Touch (at least, not in the older OS version I'm running on there).
Following up: I even created the UIWindow programmatically and then set its background to a solid color and the rounded corners are still there, confirming that the clipping is either on the UIWindow or something even higher up.
(e.g. the iPod player has square corners at the top; can't tell at the bottom)
You'll need to get used to this: Apple apps will do things your apps can't do. Apple get to use private frameworks, App Store apps don't.
If you don't use the status bar (ie, completely 'full screen') you'll get a 'non rounded' screen. This is pretty simple to do - just hide the status bar from within your code (or, if you want it hidden throughout your app, you can just set it in your info.plist).

Resources