Removing the border around a PopUpButton
Hi,
Is there a way to remove the border around a PopUpButton,
especially the vertical border between the label and the "down"
arrow (such that it looks like one button, not two)? Thanks in
advance.
-los
My response by email got garbled.
It should look something like this:
Button.blankButton{
upSkin: Embed(source='assets/blank_btn_up.png');
overSkin: Embed(source='assets/blank_btn_over.png');
downSkin: Embed(source='assets/blank_btn_down.png');
disabledSkin: Embed(source='assets/blank_btn_disabled.png');
Harbs
Similar Messages
-
Removing the border around buttons in a CS Extension
Hi,
I'm creating a new extension for Creative Suite, and all the buttons I have in the extension are using icons, but there is always a border around the button, which I cannot remove. I have tried changing the borderColor to match the background colour of the Extension, but the border is still there.
I have attached a screen shot of one of the buttons a add button, in the extension so you can see what I mean. This button should just show the plus icon and not have a border around it. How can I remove this border? I'm using CSS to add the icons to the buttons, even using CSS means I can't remove this border.
Thanks
StephenMy response by email got garbled.
It should look something like this:
Button.blankButton{
upSkin: Embed(source='assets/blank_btn_up.png');
overSkin: Embed(source='assets/blank_btn_over.png');
downSkin: Embed(source='assets/blank_btn_down.png');
disabledSkin: Embed(source='assets/blank_btn_disabled.png');
Harbs -
Can i remove the border around the header?
the border that is automatically created around the header box is creating an annoying separation between the header and page background.. can i get rid of it?
Please post some code and/or a link to the page(s) you are talking about. To make sure you get help in the most efficient manner possible, read these posts first:
http://forums.adobe.com/thread/470404
http://forums.adobe.com/thread/427712
Just a wild guess, but if your "header box" is an image that is also a hyperlink, you might want to do a Google search on this very common behavior to find a solution:
http://www.google.com/search?q=border+around+linked+images+html
Cheers! -
Hi,
Who can tell me that how to remove the border around JCheckBox? My JCheckBox is the default renderer for boolean type data of JTable.
Thank you.
JanetSorry, I still have a problem.
I have written my own Icon class and the paintIcon method as following:
public void paintIcon(Component c, Graphics g, int x, int y) {
JCheckBox cb = (JCheckBox)c;
ButtonModel model = cb.getModel();
int controlSize = getControlSize();
boolean drawCheck = model.isSelected();
if ( model.isEnabled() )
if (model.isPressed() && model.isArmed())
g.setColor( MetalLookAndFeel.getControl() );
g.fillRect( x, y, controlSize-1, controlSize-1);
g.setColor( MetalLookAndFeel.getControl() );
} else
g.setColor( MetalLookAndFeel.getControl() );
g.drawRect( x, y, controlSize-1, controlSize-1);
if (model.isSelected()) {
drawCheck(c,g,x,y);
But the model.isSelected() method will always return false, how could I get the actual bool value of table's cell? My cell renderer code is as following:
public class BooleanCellRenderer extends JCheckBox implements TableCellRenderer
public BooleanCellRenderer()
super(new CheckBoxNoIcon(),true);
public Component getTableCellRendererComponent(JTable table, Object checkBox,boolean isSelected, boolean hasFocus,int row, int column)
return this;
} -
How to remove the border from an AWT Component (specifically a ScrollPane)
I've been trying to remove the border from an AWT ScrollPane, but having no luck.
I've tried setting the bounds on the ScrollPane to get rid of the border:
ScrollPane scrollPane = new ScrollPane();
scrollPane.setBounds(-2, -2, getSize().width+4, getSize().height+4);
I've also tried overwriting the paint method of the ScrollPane but it didn't draw anything:
private class CustomScrollPane extends ScrollPane
public void paint(Graphics p_g)
super.paint(p_g);
Graphics2D g2 = (Graphics2D)p_g.create();
g2.setColor(Color.MAGENTA); //tried magenta so I could easily see it
g2.drawLine(0, 0, 0, getSize().width);
Is there anything else I should try? (I wish AWT components had a setBorder method)Is there anything else I should try? (I wish AWT components had a setBorder method)Actually this probably isn't possible. One of the main drawbacks of AWT was that since everything is connected to peers, you can't actually draw over or customize the view of your AWT component.
The only recommendation I might make would be that you could try creating Canvases around your ScrollPanel that draw over the border -
I want to remove the border in iFrame when opendocument is used
Hello
Recently, I customized the EIS system by using JSP langiuge
but, I had problem with the border in 'iFrame' Tag when opendocument url was used.
I executed the opendocument url in iFrame Tag. but iframe's border appeared.
I wanted to remove the border. so, I added frameboder = 'no' on attribute of the iframe.
but, border still remained.
I need your help. T . T
Message was edited by: Yongho ParkYongho, It looks like you are posting your question on the "wrong EIS" page. This is for Enterprise Inventory and Service Level Optimization. I think you are referring to a different system. Correct?
-
I wanted to remove the border in iframe (when opendocument url)
Hello
Recently, I customized the EIS system by using JSP langiuge
but, I had problem with the border in 'iFrame' Tag when opendocument url was used.
I executed the opendocument url in iFrame Tag. but iframe's border appeared.
I wanted to remove the border. so, I added frameboder = 'no' on attribute of the iframe.
but, border still remained.
** iframe tag**
<iframe id="layout" frameborder="0" framespacing=0 marginheight=0 marginwidth=0 scrolling=no vspace=0 src = "<opendocument url>">
I need your help. T . TYongho, It looks like you are posting your question on the "wrong EIS" page. This is for Enterprise Inventory and Service Level Optimization. I think you are referring to a different system. Correct?
-
Hey
I was wondering if anyone knows how to remove the border on
this image. It is a random picture image generator thing. Take a
look at the page.
http://www.fly-va.com/vaj/logomenu.htm
Here is the javascript used.
<script
language="JavaScript1.2">mmLoadMenus();</script>
<a href="Index1.shtml"><SCRIPT
LANGUAGE="JavaScript">
var num_images = 4
var images = new Array(num_images)
images[0] = "logo2.jpg"
images[1] = "logo4.jpg"
images[2] = "logotail.jpg"
images[3] = "logotakeoff.jpg"
var n = Math.floor(Math.random() * num_images)
document.write( "<img src=\"" +images[n]+ "\">" )
</SCRIPT>Start with valid HTML - the page has no doctype, not
<html>, and no <head>
tags.
Then try adding this CSS to the page -
a img { border:none; }
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"andreluxury" <[email protected]> wrote in
message
news:f5fk21$8r0$[email protected]..
> Hey
>
> I was wondering if anyone knows how to remove the border
on this image. It
> is
> a random picture image generator thing. Take a look at
the page.
>
http://www.fly-va.com/vaj/logomenu.htm
>
> Here is the javascript used.
>
> <script
language="JavaScript1.2">mmLoadMenus();</script>
> <a href="Index1.shtml"><SCRIPT
LANGUAGE="JavaScript">
> var num_images = 4
> var images = new Array(num_images)
>
> images[0] = "logo2.jpg"
> images[1] = "logo4.jpg"
> images[2] = "logotail.jpg"
> images[3] = "logotakeoff.jpg"
>
> var n = Math.floor(Math.random() * num_images)
> document.write( "<img src=\"" +images[n]+ "\">" )
> </SCRIPT>
> -
How to remove the border of a JSplitPane?
Hello,
I'm using NetBeans 6.1 under Mac OS X 10.5.5, JDK6. When I design my GUI, I want to have the splitpanes witouht border. On Mac and Linux it works fine, however, on Windows and the Metal-Look'n'Feel the borders are painted, although I set the border-property in the GUI-designer to "null".
My question is, can I additionaly manually remove the border? I found [this sample|http://forums.sun.com/thread.jspa?forumID=57&threadID=566152], but I didn't really help me since I don't know how to handle UIResources...
Thanks in advacne and kind regards
Daniel
Edited by: DnlLdck on Nov 7, 2008 7:16 AMI guess you could try overriding paintBorder to do nothing.
If you post a SSCCE that clearly demonstrates your problem, more members are likely to take a look.
To post code, use the code tags -- [code]Your Code[/code] will display asYour CodeOr use the code button above the editing area and paste your code between the {code}{code} tags it generates.
I don't know how to handle UIResources...So take time out from whatever you're doing and learn how to use them. They're no different from other classes.
db -
Remove Black Border Around Embedded Flash Video
Hi-
I have searched on the Web without luck, so again I have to
turn tot he forum for help. I believe this should be simple and
straightforward, but doesn't appear so. I have a simple little
Flash video embedded in a plain old web page created with DW8. When
the page is displayed in my web browser it has a thin black border
around the video. I would like to remove this border (such as one
might with image border=0). I have tried several "fixes" ranging
from setting the BODY margin height to 0 to altering my external
style sheet. None of these worked. I even created a fresh web page
with no external style sheet at all and the border is still there.
How on earth do I get rid of that ugly thing? Any help is greatly
appreciated.
-=SBcan we see this border? URL?
Chris Georgenes
Adobe Community Expert
www.mudbubble.com
www.keyframer.com
www.howtocheatinflash.com
nuie wrote:
> Hi-
>
> I have searched on the Web without luck, so again I have
to turn tot he forum
> for help. I believe this should be simple and
straightforward, but doesn't
> appear so. I have a simple little Flash video embedded
in a plain old web page
> created with DW8. When the page is displayed in my web
browser it has a thin
> black border around the video. I would like to remove
this border (such as one
> might with image border=0). I have tried several "fixes"
ranging from setting
> the BODY margin height to 0 to altering my external
style sheet. None of these
> worked. I even created a fresh web page with no external
style sheet at all and
> the border is still there. How on earth do I get rid of
that ugly thing? Any
> help is greatly appreciated.
>
> -=SB
> -
How to remove black border around image files?
I'm something of a beginner with Photoshop, so forgive me if I've missed something entirely obvious: for some strange reason I'm now getting a black border around all image files that I save through the "Save for Web & Devices" panel. Does anyone know how I can save without creating this border? It looks rather unsightly when I load it into a client site. The file in question is a .png, but I seem to be getting the same effect with all other image files as well.
Thanks in advance,
ShaneOne cause could be having the matte color set to something other than none.
Is that a png-8?
MTSTUNER -
Removing hyperlink border around image/auto forward
I made an image on a webpage into a hyperlink. However, I would like to remove the visual hyperlink border...the one that is blue before you visit it, and purple afterwards. How can I do this?
And on a related note, how can I set the hyperlink to automatically move to the linked page after a certain amount of time, say 10 seconds? Thanks in advance for your help.I made an image on a webpage into a hyperlink. However, I would like to remove the visual hyperlink border...the one that is blue before you visit it, and purple afterwards. How can I do this?
Add this to your CSS -
a img { border:none; }
And on a related note, how can I set the hyperlink to automatically move to the linked page after a certain amount of time, say 10 seconds?
You'd have to have the onclick attribute of the anchor tag call a delaying javsacript routine that only releases after 10 seconds. It's bound to be confusing, though. -
Removing white border around applet in browser?
Greetings All,
My applets are surrounded by a white border in Netscape and IE. Can I get rid of it so that the applet goes from edge to edge in the browser control? (Looks like default 5 pixel Hgap is in force, is this the case, and if so can it be overridden without access to the source code?)
TIA,
Dave.Hi, Even when you assign 100% to width and height you will notice one black border around applet in case of IE5.0 When I go in to full srceen mode in IE 5.0 It should not show me scrollbars.
But because of this border scrollbar remains -
How can I remove the line around interactive elements?
Hi guys,
I'm just doing some fine tuning for version 1.1 of our iBook. For that I would like to remove the fine line that iBooks Author puts around interactive images. Any idea how I can do that? Nothing seems to work for me.
Thanks!
AlexAh, 'under' not number...
I should try to read the post ;-)
Skinning would be an option, but I'm not sure if it is available in 10gR3.
One other solution would be to use an image link instead of the text link. More work because you have to build the images yourself and it's hard to use dynamic text this way.
Timo -
How can i remove the border of TextField
Hi,first i set the border of textfield in my program now i want to remove this border and want to set the default border.how can i do that.
thankstry this,
UIManager.put("TextField.border", new EmptyBorder());
or maybe set the border part to null. I think it works.
by the way put this line right at the start of your program so that all text fields will be shown without borders.
Jim
Maybe you are looking for
-
Unable to create CIFS share in NSS4000 after upgrading firmware
Hi, Hopefully someone can help. Today I have upgraded the firmware of an NSS4000 ( i wish i hadn't) to the latest 1.16 version. As it seems I was not able to connect to this server anymore using SMB share CIFS. When i looked under shares I noticed th
-
Redirecting to external website from abstract portal component?
Hi, I have developed an abstract portal component and trying to be redirected to an external website ex : www.google.com here is the code... public void doContent(IPortalComponentRequest request, IPortalComponentResponse response) HttpServletRequest
-
I have a customer who has asked if it is possible to add their Item images in their Sales Quotation via PLD, failing this will it be possible in SBO 8.8 if Crystal in being used for the Sales Quotation?
-
I have tried several battery monitoring apps, and they show what apps are running in the background. Is there a way to force the unwanted apps to shutdown, or is there an app that can do this?
-
'Inverted Threshold' error on 'Activate Changes' after queue creation
Hi, In Weblogic Server Administration Console I am trying to create a new Queue by first clicking 'Lock & Edit' and thereafter creating the Queue. When I do this I get an expected: 'The JMS Queue was created successfully' message but, when I then try