I have a JTextField, where I've set some custom properties:
nameField.setPreferredSize(new Dimension(275,40));
nameField.setBackground(bgColor);
nameField.setForeground(txtColor);
nameField.setFont(new Font("HelveticaNeue",Font.PLAIN,22));
nameField.setBorder(BorderFactory.createLineBorder(Color.WHITE, 2));
When the component has focu...
Hello,
Based on what Word, Wordpad, and Open Office Writer are showing there
is no cell border which is correct. But in the RichTextBox control the
borders are displayed. I need to hide the borders of the table/rows/cells in the
richtextbox. Any help would be greatly appreciated.
Please see the sample below for RTF.
{\rtf1\ansi\deff...
I want to add the border off canvas using C# not XAML
How can i achieve it?
...
http://betawww.helpcurenow.org/about/financial-accountability/
http://blog.helpcurenow.org/
I'm using a design that incorporates lots of 1px dashed borders. I noticed something odd in Firefox. Normally Firefox renders everything (*almost) as I would expect and want to see it. However with dashed borders, it appears when you use two das...
can I define border width. like
.box{
width:200px;
height:100px;
border-bottom:1px solid #000;
}
box width is 200px but i want border width in bottom only 100px.
...
Hi,
I am new to extJs. I want to make the border of a textarea invisible so that it becomes just a blank white space (My purpose is to show it inside a fieldset).
Hoe can I achieve this?
thanks
...
can i change border color of checkbox by use css or jquery. i want change only border color of check box.
...
Hello,
I have a WPF Application where I am trying to make a close button like image.
I am trying to draw a border or have a border show up on mouse over... But I cannot seem to make it work.
I have tried like 6 different methods of doing so...Images, borders with images, brushes, ect.
I am using the following code at the moment:
<Canv...
I have a ListView that goes something like this:
<ListView
x:Name="SeriesListView"
SnapsToDevicePixels="True"
ItemsSource="{Binding Items}"
BorderBrush="Transparent" BorderThickness="0"
Padding="0" Margin="0"
VerticalContentAlignment="Top"
Background="Purple"
LostFocus="ListView_LostFocus"
>
<L...
Ok - I'm having a problem with CSS not displaying correctly between IE and Firefox... The big problem is that we have a ridiculous number of CSS files (and this isn't something that is currently scoped to fix), and I can't seem to find what style is being applied.
Any way, here's what I'm looking at: On the shopping cart page for our s...
I have a Window that has two primary areas. One is a TextBox inside of a ScrollViewer and the other is a TabControl. I want to have a red border around the part that currently has focus, so I wrote the following code to do that
Xaml
<ScrollViewer BorderBrush="Red"
BorderThickness="0"
GotFocus="Border_GotF...
How do I go about adding/removing the window border after it has been created? the window was already designed in interface builder and I would prefer to avoid writing the window purely in code as I am still a long ways before i can say i am experienced with objective-c/cocoa.
Example Program:
a single window with the border initially, ...
Hi,
I am using a JTabbedPane in my application. I have added two tabs which are instances of a custom class "ContentPanel". This extends JPanel and sets the background, border etc etc. Basically it means I dont have to set the properties of each JPanel I want to apply this colour scheme to. I notice that not only does their border appea...
Hi All,
my following css code does not work in msie.
#block a {
border-right: 2px none #eee;
border-bottom: 2px none #eee;
}
#block a:hover {
border-right: 2px solid #eee;
border-bottom: 2px solid #eee;
}
In msie, only the right border will be displayed correctly. The bottom border is totally invisible. Other browsers w...
I have a centered div with a nested h1 inside. Is there any way to underline it with a thicker line than the html default?
...
Think of a normal border with a solid color for the left, top and right, but I need to have the left and right fade into a blank bottom. Any pointers on how to implement with cross browser support? Thanks for any help!
...
I have this code
public function TalentBox(x:int, y:int, arg_color:int = 0xFFFFFF):void
{
this.graphics.beginFill(arg_color);
this.graphics.lineStyle(1.0, 0x000000, 0.7);
this.graphics.drawRect(0, 0, 7, 13);
this.alpha = 1.0;
this.x = x;
this.y = y;
this.graphics.endFill();
}
Where I construct the class (th...
Is there a way to control opacity/transparency of the border color using CSS?
...
should i use pt or px when specifying border-width in css for media print?
i basically just want hairlines
...
I have created a column with cells that contain a JTextArea + A JButton inside it, as you can see in the image below in Column 3 :
But i have faced lots of problems with my CellRenderer and CellEditor when updating the cells values in that column, as my code is a bit complicated. So instead i want to replace that column with 2 columns...