border

How can I display borders for geometries with UMN-Mapserver only when zoomed in a lot?

I have a map-file for UMN, that displays a layer of vectors, each geometry with different colors depending on their attributes. That works fine. I also want to add borders around each geometry. That's no problem, but on the view showing the complete area, the borders dominate the image, because each geometry has only a few pixels. So I w...

Backcolor of THE BORDER of a Windows Forms panel

Is there any way to change the BackColor of the border of a panel or similar control? I am trying to "highlight" the user control when I hover the mouse over the user control. ...

Remove border from JComboBox

Do you know any way to remove the border from a JComboBox in Java? I try the following code public class ComboFrame extends JFrame { public ComboFrame() { JPanel container = new JPanel(); JComboBox cmb = new JComboBox(new String[] { "one", "two" }); cmb.setBorder(BorderFactory.createEmptyBorder()); container.add...

Menu Jumping on Hover

Hi, I have a web app(ASP.NET 2.0 C#). On my Masterpage, I have a menu control, and I am using a css stylesheet to style the different parts of the menu. For some reason, when I hover over the menu, it jumps a little. I think somehow the borders become larger when I hover over it. Heres the styling for the whole menu: .menu { widt...

popup blinks in ie8

Hi, all! We had discovered strange behaviour of popups in IE8. In IE7 and IE6 our popup looks like this: But in IE8 it has strange border which "blinks" for 5-6 times and looks like this: Code which is used for showing this popup: Browser.prototype.showPopup = function(someHtml) { ... var popup = doc.parentWindow.createPopup(); ...

Weird div border problems when floating

Could I please get a explanation of why this code produces the result it does? And a way to fix it/work around it, if possible. I dont want div 'z' and 'q' to go over 'the blue div border' on the right. Or I would like div 'x' to be consitant with 'z' and 'q' and also go over the blue right border as well. Please view result <div s...

How to force css borders to display on layered page?

Hello, I'm attempting to code Box and Whiskers graphs in html. The issue is, I have borders around a div (as in, the Box), but these borders disappear when overlaying the previous layer, which contains a banded color image. The preference is not to use a background image (or colors) here if I can avoid it. The html is: <table cellspac...

Reporting Services Borderstyle Property Problem

I am using the matrix control in RS2008. I want to use an expression to set the Value cell (col 2, row 2) of the matrix to have either no border or a double border on the bottom. I have a boolen field that sets this condition for each row of the report. The expression for the bottom borderstyle is... =Iif(Fields!DoubleBottom.Value=True, ...

Aero Glass Borders on Popup Windows in C#

Hello - I would like to create pop-up windows like this: http://i44.tinypic.com/345bklu.jpg In my application using C#. I've looked into NativeWindow but I am not sure if this is the right way to do it. How can I accomplish this. I want a window to behave exactly like the volume control or "connect to" window in Windows 7. Edit: ...

Strange behavior in FormBorderStyle between Fixed and Sizable

I have created a simple test form with FormBorderStyle = FixedToolWindow by default and added a button that will switch between FixedToolWindow and SizableToolWindow on mouse press. Switching the FormBorderStyle between these two seems to produce a weird effect that's causing a lot of issues on my application. The problem is that the wi...

Strange issue with fixed form border styles in Vista

My previous post about this issue didn't got too many answers and it was kinda specific and hard to understand. I think I've managed to understand the problem better and I now believe it to be a Vista issue... The problem lies on all types of fixed border styles like FixedDialog, Fixed3D, FixedSingle and FixedToolWindow. It does not hap...

Silverlight Border object not visible when theme applied?

I have a applied one of the Silverlight Toolkit themes to my XAML page, and now for some reason my Border objects don't show up. Is this by design? I've made sure to explicitly state a BorderBrush color that should contrast the theme background, but this does not fix the issue. In case it helps, the theme I'm using is the BureauBlack t...

glTexImage2D

What is the border value of glTexImage2D? It's either 0 or 1. It referencies that if this texture will just have border or not? Where is the borders values set? ...

Changing the border on an image map

How do I change the border of an image map(on mouse over) that i have placed over a part of the image ...

Create a rounded JFrame / ContentPane

I'm creating a login window with rounded corners in java. Everything is OK, see pic, but i'm having challenges making the JFrame / ContentPane transparent. There are white areas at each corner (shown by the arrows) that i seem not to be able to remove since i can't set opague to false for the JFrame or ContentPane. Any ideas of how i ca...

WPF - Border around an itemscontrol

Hey, I have an itemscontrol with a custom panel inside a usercontrol. The usercontrols size is only constrained by the parent window size. <UserControl> <Grid> <Border BorderBrush="DarkGray" BorderThickness="5"> <ItemsControl ItemsSource="{Binding ActiveGame.Grid.CellsFlat}"> <ItemsControl.ItemsPanel> <Ite...

iText cell borders cutting through text

I am writing a program that generates a pdf or rtf file with a table in it, using iText. I used the iText class table and cell, rather than the more specific RtfTable or pdfTable so that either file can be generated at the end. I needed to set the cell padding to a value of -1, or else there was too much space between each row of data ...

Programmatically Change Individual Cell Borders in a WinForms DataGridView

Hi and thanks for reading. I need to programmatically change the border of individual cells in a WinForms DataGridView. When searching on the 'net, I found this link (http://bytes.com/groups/net-vb/501128-changing-datagridview-cell-borders-runtime) which is the same thing that I am trying to do; however, there isn't a code example ther...

Delphi & Vista Dragging Forms Glitch

I wondered if you have a work around for the problems with docking forms in Vista, such as the close button being partially obscured, and the gray border when being dragged rendering extremely slow, making a appearing / disappearing appearance? Delphi 2007 & Vista (64 bit) ...

jQuery animate css border-radius property (webkit, mozilla)

Is there a way in jQuery to animate the css3 border-radius property available in webkit and mozilla browsers? I haven't found a plugin that will do it. -webkit-border-radius -moz-border-radius Thanks. ...