Expand the UIButton border?

I have a button inside a horizontal stack view and am trying to give it a border using the Runtime Attributes in Xcode. Here is what my storyboard looks like: When I run my app the text has no padding so the border fits very tight: Is there any way t

How can I add a right border to a UIView in Swift 3?

I have an UIView on the top of my screen and I want to add a right border of 1 pixel to it. Here is the code that I have by the moment: var border = CALayer() border.backgroundColor = UIColor(red: 241, green: 10, blue: 9, alpha: 1).cgColor border.fra

Circle with three different border colors

I have this CSS for a circle with one border color: .circle { border: 6px solid #ffd511; border-radius: 30px; -moz-border-radius: 30px; -webkit-border-radius: 30px; -khtml-border-radius: 30px; width: 30px; height: 18px; line-height: 20px; padding: 12

Frame.size.width does not return the correct size of UIButton

I am trying to add a top and right border to my button but not the bottom or left. I looked it up and found a suggestion to do so by adding views to look like borders. //Add borders let topBorder = UIView(frame: CGRectMake(0, 0, editorBox.frame.size.

How to design this type of border in Android

Please help me out - I am new to android application. I want to design this type of border. The design is: And tell me which layout and View I should use (GridView, Relative or Linear). Also help me while selection any box the color should change.You

CSS border larger than the image

I'm trying to find out how I can make the border around my picture bigger than the image it self in CSS. See the pictures for an example: Wrong border: Correct border: I want the image to be the original size independent from the border "size".J

CSS3 ghost border animation

I have this little border animation but has a ghost in the left top corner, a black dot, I don't know how to get rid of it... You can check it here: http://codepen.io/xaeoc/pen/xGRgze body { background-color: #333; height: 230px; } .lluv { width: 230

Can not understand how to remove text decoration on

UPDATE 2: Question no longer relevant since it can't be solved with a MWE offline example. (I also found the offending piece of code which was responsible for the bug. I have a small thin border when hovering over the header element which looks suspi

Strange behavior with border-image CSS

I have an image that I would like to use as div's border and background. The below code (and fiddle) produces undesirable white background inside the div despite using background: transparent !important; or background: none !important; (I tried both)

Remove 1px offset scroll bar (swing)

I'm developing a Swing app and I'm trying to make it as clean as possible and I would like to know if it's possible to remove the 1px offset that appears on the bottom and bottom right sides when using scrollbars: I know I'm nitpicking here but I'd r

Color of the border on the Android button

I have a button created and have set the background color and text color as can be seen below. My question is: how do I set the buttons border color? I want to set the border color to white Here is the button in my res -> layout -> main_nav.xml <

Add a border to an image in Java

I am trying to create an image that adds a border to an existing image on Java by copying the pixels from their old locations to new coordinates. So far, this is what I have done: public static NewPic border (NewPic p, int borderWidth, Pixel borderCo

Image border does not work in Outlook 2010/2007

Here is the issue: I would like a white border on the picture, but when I send it to my outlook 2007 or 2010, it's not showing. Here is the code for the image in question: <img src="my.jpg" alt="" width="220" height="

different images for the horizontal and vertical border - CSS

I have two png images created by myself in corel-draw as shown below, 1 horizontal and 1 vertical. I want to do something like this, in css .desiredSpan{ border-top-image:horizontal.png border-bottom-image:horizontal.png border-left-image:vertical.pn

Checkbox Android Checkbox Disappears Using Java

I'm making an Android app which has checkboxes in. I added in a few sample things using the XML files just to get the layout looking how I want it. When I put a checkbox in using the XML file, it has a border around it, but when I use Java to add the

Bold only the upper and lower limits of a div

I would like to bold the border of a div. My problem is that i need to bold only the top and bottom borders. For example: if i have a div as a shape of a square it should look: _______________ _______________ How can i do it in css?In CSS border-top:

Border for transparent imageView in android

I want an imageview that only has border and it transparent inside.The common trick for getting border seems to be using another imageview of slightly greater size just below the imageView for which we want border but this won't work here because i w

Firefox - Remove the border of the undecorated box

I have a checkbox the has the appearance: none;. This working in chrome, but in Firefox it leaves behind an inset border that I cannot remove. I have tried border: none already. I've a fiddle here: http://jsfiddle.net/jcJJ5/Unfortunately, it doesn't

Remove Android Input Orange Border in a NON APP Website

I'm working on a version of the main website for mobile devices. I'm trying to remove the orange border from input text fields... I tried so far this: -webkit-tap-highlight-color: rgba(255, 255, 255, 0);, outline:none; and border:0px !important.. and

HTML / CSS: Div in Background Matching Text

I've a container div with id container around. Inside, I've got a div with id inside which can contain a Text which is wider than the container div. The text should not be wrapped. As summary, thats how it looks like actually: _____DIV CONTAINER_____

How to create this WinForms border

How to create FormBorderStyle with transparency like here: Thanks!That is part of the OS. It is called Aero. If the graphics card isnt capable of running Aero, then you won't get that style of window. Another thing to note is that your application wi

to remove borders in JScrollPane

I'm trying to put multiple JLists in a JPanel and the JPanel in a JScrollPane. The problem is that when I add the JScrollPane to the equation there is a space between the JList and outer border, how do I get rid of this border so it's fills horizonta

How to remove window borders created by GLUT?

The question is quite clear, GLUT provides us functions to create a windowed application. But presently I need to re-design the title bar, and also the border styles. Anyway to remove the borders and title bar? (certainly I'm talking about C++ or Vis

Border of the image around the php image

I am trying to figure out how to create an image border around an image as well as adding text to the border (as shown below) from a mySQL database using PHP i have looked around but cant find anything like what i want to do. Thanks in advance http:/

Add borders to cells in an Excel file generated by POI

I am using POI to generate an Excel File. I need to add borders to specific cells in the worksheet. How can I accomplish this?Setting up borders in the style used in the cells will accomplish this. Example: style.setBorderBottom(HSSFCellStyle.BORDER_

Disappearing CSS Table Cell Borders in Gecko-based Browsers

I have a very specific html table construct that seems to reveal a Gecko bug. Here's a distilled version of the problem. Observe the following table in a gecko-based browser (FF, for example): (you'll have to copy and paste this into a new file) <sty