Toggle button bar without borders?

I cannot specify in css to either turn off the border around
the buttons in a ToggleButtonBar, or even to have a simple solid
color border (so I can match it to the background and have it
appear to not be there).
It always has a gradation, even if I specify a color.
Basically, I am trying to have a TBB with labels and labels
only, no visible "buttons" per se. I can do this all except for the
stupid border. Any ideas?

Unless I am doing it wrong, that has no effect:
.mytoggleButtonBarButtonStyle,.mytoggleButtonBarFirstButtonStyle,.mytoggleButtonBarLastButtonStyle   {
   highlightAlphas: 0, 0;
   fillAlphas: 0, 0, 0, 0;
   fillColors: #e28001, #e28001, #e28001, #e28001;
   color: #f8cc92;
   textRollOverColor: #ffffff;
   textSelectedColor: #ffffff;
   fontFamily: Arial;
   fontSize: 18;
   themeColor: #e28001;
   buttonBorderSkin: null;
I did get it to work with a clear png applied to the above button styles:
   disabledSkin: Embed(source="/assets/clear.png");
   downSkin: Embed(source="/assets/clear.png");
   overSkin: Embed(source="/assets/clear.png");
   selectedDisabledSkin: Embed(source="/assets/clear.png");
   selectedDownSkin: Embed(source="/assets/clear.png");
   selectedOverSkin: Embed(source="/assets/clear.png");
   selectedUpSkin: Embed(source="/assets/clear.png");
   upSkin: Embed(source="/assets/clear.png");

Similar Messages

  • What's wrong with my toggle button bar?

    I've used one before, and I don't understand why my toggle
    button bar is not showing the "active" state for the first index of
    the viewStack it is linked to.
    Normally, I use mainStack.selectedIndex = 0 and that
    highlights the first (default) item of the view stack.
    I change the viewstack with a timer, and all subsequent
    states the correct button highlights, even when I have it loop
    around to the first item again. It's only initially on load.
    Thoughts?

    Thanks, Greg.
    That didn't work either, but it got me thinking. Moving it to
    the end of the function that assigns the children to the view stack
    finally worked:

  • Multi-line toggle button bar labels?

    I am trying to do a grid of buttons where only one button in a row can be "pressed".  Seems, based on suggestions here as well, the easiest way is one togglebuttonbar per row of a grid.
    Anyway, I need to have taller buttons with a few lines of text in each label (button).  Think of a table where the cells are selectable.
    I found a way to extend a simple button's label to make it multi-line, but not sure on how to do this for a togglebuttonbar:
    package tools
    import flash.text.TextFieldAutoSize;
    import mx.controls.Button;
    import mx.core.mx_internal;
    use namespace mx_internal;
    public class MultilineButton extends Button {
    public function MultilineButton()
    {super();}
    override protected function createChildren():void
    super.createChildren();
    textField.multiline = true;
    textField.wordWrap = true;
    textField.autoSize = TextFieldAutoSize.LEFT;
    override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {
    super.updateDisplayList(unscaledWidth, unscaledHeight);
    textField.y = (this.height-textField.height)>>1;
    And then I call it with <t:MultilineButton label="four score and seven years ago" width="150" height="150" textAlign="left"/>
    Should I just use this single button in a Repeater?  Or is there a way to work with the togglebuttonbar?

    I tried that, I guess I am doing it wrong since it is still doing centered
    and bold:
    package tools
    import flash.text.*;
    import mx.core.mx_internal;
    use namespace mx_internal;
    public class MultilineToggleButtonBar extends ToggleButtonBar
    public function MultilineToggleButtonBar()
    super();
    override protected function createChildren():void
    super.createChildren();
    textField.multiline = true;
    textField.wordWrap = true;
    textField.autoSize = TextFieldAutoSize.LEFT;
    var format:TextFormat = new TextFormat();
    format.bold = false;
    format.align = "left";
    textField.defaultTextFormat = format;
    override protected function updateDisplayList(unscaledWidth:Number,
    unscaledHeight:Number):void {
    super.updateDisplayList(unscaledWidth, unscaledHeight);
    textField.y = (this.height-textField.height)>>1;

  • How do I restore the "close tab" button to the END of the tab bar, WITHOUT USING AN ADDON

    Up until FF31, I used to have the following setting configured which moved the little 'X' button that closed tabs off of the tabs themselvs and onto the far right of the tab bar.
    browser.tabs.closeButtons; User Set; Integer; 3
    No, this no longer works. It has still moved the close buttons back to the tab buttons. Until I can figure out how to fix this, I will be moving back to a previous version. I can't for the life of me see why this feature was removed, other than Mozilla's seemingly arrogant insistence that it knows what people want better than they do.
    I was since told by someone that I can use an addon to fix it, yet the problem is THEY DO NOT WORK. The addons that supposedly solve this all have intermittent failures where they don't load correctly, leave random dead tabs open, and in one case it even seemed to open new tabs when I tried to close one.
    It's absolutely inexcusable that the dev team is so arrogant to take away a feature that has fundamentally no impact on the rest of the browser, other than, as I said before, they THINK they know what we want better than we do. It's no small wonder that FF is losing market share. The only thing keeping me on board was really this function, as I prefer this layout, and if it's gone, I see no reason to stick with FF over others.

    unfortunately it is not possible to restore the close button to have only one (customizable) close button on the Tab bar without using an extension.
    The extension is necessary because you need to create a new toolbar button and bind the proper code to it to make the button act as a tab close button (command: BrowserCloseTabOrWindow()).
    *tabs closebutton restored: https://addons.mozilla.org/firefox/addon/tabs-closebutton-restored/
    * http://cat-in-136.blogspot.co.uk/2014/05/note-do-same-without.html

  • Word 2010 Ribbon toggle button page size feedback

    For a Word template I am developing a custom ribbon for end-user ease of use and to protect the structure of the document. There is one issue I am currently running into for which I cannot find a solution.
    It started with a footer image which needs to be rescaled with the page width (page size and orientation) while retaining its aspect ratio. Apparently this is not possible without VBA (tried fill image for shape and set relative width, but that leaves
    the height fixed), so now the idea is to get a pull-down menu with toggle buttons for page size and orientation and change the image size using a macro. The options are A4 portrait, A4 landscape, A3 portrait and A3 landscape. The problem now is how
    to get the run-time feedback of page size and orientation to highlight the page setup of the active section, like the built-in size and orientation buttons.
    Hopefully this can be done.

    Hi AlexFolmer,
    Sorry for the delay.
    >> Create a custom ribbon menu with buttons to select the paper size, this can be done without too much effort. However, if this is to be implemented I would like the button representing the current paper size/layout to be highlighted in the same way
    as the Word native paper size/orientation buttons do
    Do you mean that you want to create a custom ribbon menu for user to select the Page size, and when you click the ribbon button, the current page size could be highlight. In my option, you could do as below:
    1.  Add a Combobox into the custom ribbon, set the items with “Item1”, “Item2”
    2. Add event to comboBox1_TextChanged, key code like below:
    private void comboBox1_TextChanged(object sender, RibbonControlEventArgs e)
    if (comboBox1.Text == "Item1")
    Globals.ThisDocument.PageSetup.PaperSize = Microsoft.Office.Interop.Word.WdPaperSize.wdPaperA3;
    else if (comboBox1.Text == "Item2")
    Globals.ThisDocument.PageSetup.PaperSize = Microsoft.Office.Interop.Word.WdPaperSize.wdPaperA5;
    For combobox, it has the function to highlist the selected item. At this time, we need to solve the issue for opening the document, the combobox would show the current pagesize. You could refer the code below:
    private void Ribbon1_Load(object sender, RibbonUIEventArgs e)
    if (Globals.ThisDocument.PageSetup.PaperSize == Microsoft.Office.Interop.Word.WdPaperSize.wdPaperA5)
    comboBox1.Text = "Item2";
    You could refer the link below for more information about Globals.ThisDocument.PageSetup.PaperSize
    Reference:
    https://msdn.microsoft.com/en-us/library/microsoft.office.interop.word.pagesetup.papersize(v=office.11).aspx
    In addition, if you have issues about PageSetup.PaperSize, I will recommend you post a new thread.
    The reason why I suggested is:
    #1 There would be more community members to discuss the question.
    #2 For people who have the similar question, it would be easier for them to find the answer from a specific thread.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Chromium + kde, "Use System Title Bar and Borders" issue

    Using chromium 19.0.1084.56, I have an issue with kde. My current window has no system border. But if I open a new window, the system border appears for that new window. I have to toggle on and off again "Use System Title Bar and Borders" for it to go away.
    Am I the only one?

    ANOKNUSA wrote:
    1. Your current window has no titlebar.
    2. You switch titlebars on, but they don't appear until you open a new window.
    3. You then "have to toggle [the option] on and of again" to make "'it' go away."
    So, do you want the titlebar or not?  It isn't clear what you want, since you seem to be complaining about both having and not having titlebars.  If you want them on, then do they stay on from one session to the next?  If you don't want them on, why turn them on?  If you do want them on, why toggle them back off?
    I don't want the system titlebar. 
    the window on the bottom is my current one, the one on the top is when I open a new window.

  • Question concerning Selecting and Deselecting Toggle Buttons

    Hello Everyone,
    I am still relatively new to the adobe web suite (still in the trial period in fact). I am working on creating a mock-up of a main web page design to demonstrate and discuss with management. The decision associated with such would determine if we go forward with purchasing adobe products, continuing a redesign of our website among many other things.
    The big issue that I am running into at the moment is creating a series of interactive thumbnails.
    I have the following set up on the page:
    - A section for the actual image (full sized) complete with a title and description provided at the side for one of potentially many topics.
    - Below the topic/image section is a series of thumbnails, which the first one is set for full opacity and marked as selected. (All of these thumbnails are in a Custom Component and break down into a Toggle Button component each, if the image is unselected it remains set at a low opacity)
    - When selecting one of the other thumbnails, I need it to change the image (this part works), select/set the thumbnail to full opacity (this part works as well, given it is a toggle button feature), and lastly unselect the previous thumbnail (causing it to go to a lower opacity, I cannot figure out a way to accomplish this one)
    - In the future I intend to design side bars (left and right) for both thumbnails and the section above (effectively changing the topic to a new one)
    The ultimate idea is to create articles, provided with thumbnails associated to the article at the bottom and to allow clean alternation between the thumbnails, and likewise be able to switch to a new article (with a new set of thumbnails associated to the new article) as well.
    Any help would be greatly appreciated.
    -Steven

    I think I found the solution of my own question. I share it in the hope that it’ll be useful to other people. Remind that I use Cp 6.1.0.319. I modified the project as follows: 1) I unchecked “Visible in output” for the button “Audio Play” (Bt_play) 2) I  modified the AA associated to the audio on/off buttons as descrived below: Action Name: Play Assign cpCmndMute with 0 Show Bt_Stop Enable Bt_Stop Hide Bt_Play Disable    Bt_Play Action Name: Stop Assign cpCmndMute with 1 Show Bt_Play  Enable Bt_Play  Hide Bt_Stop Disable Bt_Stop In this way the two buttons in the same location work well as a real toggle button! Greetings Elena

  • Firefox on the Mac used to have a toolbar toggle button on the Titlebar. Can I get it back?

    What happened to the Tool Bar toggle button that used to be on the far upper right of the Title bar? FF4 on a Mac.

    You're welcome.

  • How do I stop utorrent seach on my tool bar without clicking options and unclicking utorrent

    How do I stop utorrent seach on my tool bar without clicking options and unclicking utorrent . I just don't want it ! but I want to keep utorrent on my desk top short cuts.

    You could try the Customize feature. Call up the Customize dialog using either of the following, then drag the unwanted icon into the dialog and click Done:
    * right-click a blank area of the tab bar > Customize
    * tap the Alt key > View menu > Toolbars > Customize
    If it comes back in a future session, you might need to experiment with disabling the uTorrentControl extension on the following tab:
    orange Firefox button (or Tools menu) > Add-ons > Extensions category
    Does that prevent the site from working correctly?

  • Simulating visual behaviour of buttons on button bar, like Firefox.

    I want to introduce visual behaviour like the Firefox button bar, where the buttons display with no background and no border, until you mouse over them.
    I have a panel that I use to display a button bar. The buttons on the button bar are instances of JButton.
    I can use jButton.setBorderPainted(false) and jButton.setBorder(null) to turn off the button frame.
    However, when using a look and feel, set by UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()), then the borders always paint.
    How can I turn off the borders and background for these buttons?

    On windows xp platform
    use JToolBar instead of panel, look at the code below and try to run it on windows xp platform
    import javax.swing.UIManager;
    public class NewJFrame extends javax.swing.JFrame
        public NewJFrame()
            initComponents();   
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">
        private void initComponents() {
            jPopupMenu1 = new javax.swing.JPopupMenu();
            jMenuItem1 = new javax.swing.JMenuItem();
            jToolBar1 = new javax.swing.JToolBar();
            jButton1 = new javax.swing.JButton();
            jButton2 = new javax.swing.JButton();
            jButton3 = new javax.swing.JButton();
            jMenuItem1.setText("Item");
            jPopupMenu1.add(jMenuItem1);
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            jToolBar1.setRollover(true);
            jButton1.setText("jButton1");
            jButton1.setFocusable(false);
            jButton1.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
            jButton1.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
            jToolBar1.add(jButton1);
            jButton2.setText("jButton2");
            jButton2.setFocusable(false);
            jButton2.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
            jButton2.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
            jToolBar1.add(jButton2);
            jButton3.setText("jButton3");
            jButton3.setFocusable(false);
            jButton3.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
            jButton3.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
            jToolBar1.add(jButton3);
            getContentPane().add(jToolBar1, java.awt.BorderLayout.NORTH);
            pack();
        }// </editor-fold>
        * @param args the command line arguments
        public static void main(String args[]) {
            try
                UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
            catch(Exception e)
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new NewJFrame().setVisible(true);
        // Variables declaration - do not modify
        private javax.swing.JButton jButton1;
        private javax.swing.JButton jButton2;
        private javax.swing.JButton jButton3;
        private javax.swing.JMenuItem jMenuItem1;
        private javax.swing.JPopupMenu jPopupMenu1;
        private javax.swing.JToolBar jToolBar1;
        // End of variables declaration
    }

  • Lay-out of buttons on button bar

    Hi all
    I use Designer 6i, and I have a form with 4 AI, that are generated in a button bar below the main block.
    These buttons are aligned to the right (extra space remains in the left on the button bar). My user would like to have the buttons aligned to the left (so the remaining space would be at the right).
    I tried using the AIBORD preference, without success.
    How could I achieve this?
    Thanks
    Luis Cabral

    Hi all
    I use Designer 6i, and I have a form with 4 AI, that are generated in a button bar below the main block.
    These buttons are aligned to the right (extra space remains in the left on the button bar). My user would like to have the buttons aligned to the left (so the remaining space would be at the right).
    I tried using the AIBORD preference, without success.
    How could I achieve this?
    Thanks
    Luis Cabral

  • How Can I disable Button from Button Bar on OAF page

    Hi Everyone,
    We have a requirement like, in button bar I need to hide one button.
    I worked on personalization but there is a option to hide entire button bar, not single button.
    If I extend controller, how can I proceed , please provide steps.
    or
    please provide how can i achieve this??????
    Thanks,
    Rakesh

    Hi,
    If your issue has been resolved than please close the thread so that it can be helpful for others as people may search with answered threads.
    --Sushant                                                                                                                                                                                                                                                                                                                                   

  • Todays update! After todays update I can no longer send Safari or Spotify to the task bar without it cutting out (dropping audio in and out). Streams normally if I keep the window open on my desktop. This needs to be fixed immediately.

    Todays update! After todays update I can no longer send Safari or Spotify to the task bar without it cutting out (dropping audio in and out). Streams normally if I keep the window open on my desktop. This needs to be fixed immediately.

    Nevermind. I figured it out.

  • Contacts Calendars Bookmarks Find My iPhone toggle buttons won't switch on

    I have a new iPhone 3GS, but under Settings - Mail Contacts Calendars - My .Mac account, I cannot get the toggle buttons for Contacts, Calendars, Bookmarks and more importantly Find My iPhone, to switch to 'ON'. Mail however is 'ON'. When I click them to 'on' they just immediately turn themselves off again. This means that my iPhone does not show up in my .Mac/MobileMe account and therefore Find My iPhone will not work.
    As far as I can see everything is set up correctly. I've looked through posts here, read Apple's suggestions, but none of these will switch to 'On'.
    Fetch New Data is set to Push. Fetch is set to every hour. Location services are On.
    In iTunes, Mail Contacts Calendars Bookmarks are all set to sync.
    Under Account Info for my .Mac/Mobile Me account I am still using the older .Mac settings as I still prefer my [email protected] email address - could this have anything to do with the problem? Should I try deleting the account manually and re-adding it manually with the new Mobile Me settings?
    When I set up my iPhone 3GS I used the backup of my old 1st Generation iPhone to set up the new phone in iTunes. The settings above wouldn't toggle on the old phone either, so I wonder if I have inadvertantly brought a bug across by restoring from the old phone backup?
    Really puzzled now. Has anyone come up with a solution or is it a problem at Apple's end?

    OK, solved my own problem! For anyone else having the same sort of problem, all I did was to manually delete my .Mac/MobileMe email account on my iPhone completely, shut down the iPhone completely, switch it on again, and manually add my .Mac/Mobile Me account back on the phone - this time using my address as [email protected], forcing it to use the me.com servers instad of my older .Mac servers.
    Instantly I was able to toggle the buttons and switch on Find My iPhone, which is now showing up online in my .Mac account.
    Now I've just got work out how to change my outgoing email address back again to [email protected] because I HATE @me.com! It's a horrible email address, and sounds really self-important.

  • Image in a microsoft toggle button activex

    HI
    I cannot put an picture in a control button(MS Active X) because i do not
    know the type of the proprties "Picture"
    Thanks

    Thomas Esposito wrote
    > i do not know the type of the proprties "Picture"
    > Thanks
    ==========================================
    Hi Thomas,
    Microsoft ActiveX Toggle Button takes following picture file formats in most
    environments (and I think Labview shouldn't be an exception)
    *.(bmp, dib, gif, jpg, wmf, emf, ico) and cur and may be some more
    For inserting picture recommended method is to use properties browser and
    choose the property picture. It is expected that you see a prompt that will
    open load picture dialog box.
    HTH
    Cordially,
    Rishipa
    All reply to this newsgroup please
    ==========================================

Maybe you are looking for

  • Error from reports from ZAM(Graph or PDF) - File does not begin with '%PDF-'.

    I just noticed today that any Graph or PDF report I try to view I get the following error - Error from reports from ZAM - File does not begin with '%PDF-'. I tried to just save the file and then open it, but get the same error. I can open other pdf f

  • 0xC0000005 Access Violation in cvirte.dll (SetWindowsErrorMode?)

    Hello, We will occasionally see a crash with our CVI LabWindows based 2010 SP1 application, a 0xC0000005 Access Violation exception thrown from within cvirte.dll. The app is working primarily from a spawned thread when the crash occurs. I've been abl

  • Inspection lot for service purchase order

    Dear sap gurus, Iam Pm consultant I have created a service PR through maintenance order and i want a inspection lot to be generated when you release the service entry sheets for the Service PO. Is there any integration between inspection type to purc

  • Does Windows 7 and Office 2010 combination supports Smartview 9.3.3?

    Does Windows 7 and Office 2010 combination supports Smartview 9.3.3. During the installations of smartview in one of our client machine which has Win 7 and Office 2010, installation failed. any one has idea? pls response me asap. you are highly appre

  • System setup/installation to use Forms and Reports 11g

    We are a high education organization. We recently get a request from faculty to create an Oracle environment for academic purpose. We have Oracle database 11g installed on a Windows 2008 R2 64bit server. Faculty require to use Froms and Reports 11g.