Newbie How to put spaces between buttons

I have a CANCEL and a SAVE button in a REGION.
I tried putting    &nbsp:
I would like to put about 4 spaces between them.
Suggestions?
Thanks.
Steve

You can try putting &ampnbsp;&ampnbsp;&ampnbsp;&ampnbsp; (that's a semi-colon, not a colon) in the Post Element Text of the first button.
Regards,
John

Similar Messages

  • How can I set some space between buttons on the buttonbar

    I want to set some empty spaces between buttons on the button control bar?
    Thank you.
    Scott

    If you mean a JToolBar try addSeparator();
    If you mean a JMenuBar... I don't know!

  • How to maintain Space between text in Smart form

    Hi Experts,
    How to maintain space between text in smat form.
    For example
    I need to maintain like this
    Prepared By:                       Passed By:                  Approved By:       
        but after save it come like this 
    Prepared By:   Passed By:  Approved By:      
    How to maintain spaces between texts?
    Regards,
    Sreedhar.

    hi,
    we can give space in the smartform in the same way as in the scripts with two commas one space can be given.
    when u click on the text in the window ,
    there in the general attributes at the left hand side u can find a small icon for editor in that u can define the spaces with the variable to be printed in &var&.

  • How to get space between two values in a single cell of a table.

    hello,
            how to get space between two values in a single cell of a table.
    thanks a lot.
    kailash.

    sorry i got the answer.

  • Menu widget (horizontal) space between buttons

    How do I get spaces between navigation buttons on the horizontal menu widget?
    In the basic Katie video, she does this as a "pre-set". Then in the advanced video it shows up in the images with no discussion. Thanks for helping.

    Hello,
    You can either choose to use manual menus for this and place the menu as per your requirement, or you can use the "uniform spacing" option in the item size section of menu options for some spacing between the menu items.
    Cheers
    Parikshit

  • No space between buttons

    Hi,
    Here i put three buttons on panel one under one but there is no space between them although i determine the space ..
    my code :
    import java.awt.Color;
    import java.awt.Dimension;
    import javax.swing.BorderFactory;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    public class MainFram extends JFrame {
        private JPanel mainPanel;
        private JButton[] buttons;
    //    private JLabel[] labels;
        private String[] labelNames = {"Levels", "Help", "About"};
        private static final int BUTTON_DISTANCE_Y = 20;
        private static final int BUTTON_WIDTH = 50, BUTTON_HEIGHT = 50;
        public MainFram() {
            intializingPanel();
            intializingButtons();
          //  intializingLabel();
            getContentPane().add(mainPanel);
        public static void main(String[] args) {
            MainFram mainFram = new MainFram();
            mainFram.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            mainFram.setSize(new Dimension(600, 300));
            mainFram.setLocationRelativeTo(null);
            mainFram.setVisible(true);
            mainFram.setExtendedState(MAXIMIZED_BOTH);
        private void intializingPanel() {
            mainPanel = new JPanel(null);
            mainPanel.setBounds(100, 10, 600, 300);
            mainPanel.setBorder(BorderFactory.createLineBorder(Color.BLACK, 5));
            mainPanel.setBackground(Color.GREEN);
        private void intializingButtons() {
            buttons = new JButton[labelNames.length];
            for (int i = 0; i < labelNames.length; ++i) {
                buttons[i] = new JButton();
                buttons.setBounds(50, (BUTTON_DISTANCE_Y * i) + 50, BUTTON_WIDTH, BUTTON_HEIGHT);
    mainPanel.add(buttons[i]);
    // private void intializingLabel() {
    Why this ???
    thanks in advance                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    beshoyatefw wrote:
    Why this ???Because you have the equation wrong!
       buttons.setBounds(50, ((BUTTON_DISTANCE_Y + BUTTON_WIDTH) * i) + 50, BUTTON_WIDTH, BUTTON_HEIGHT);

  • Eliminate Default Space Between Buttons

    This seems like a very simple problem - however, I cannot seem to find the solution for it.
    I have a VBox container and a Panel with vertical layout.  Each of them contain several buttons that are about 40 pixels high and extend to fill the width of the container.  The buttons are displayed vertically, but it seems as if Flex automatically asigns about 3 pixels worth of space between each button.  How do I eliminate this space?  There isn't a "Margin" property associated with the button.
    Here is an example..
    <mx:Panel x="83.5" y="186"
    width="250"
    height="435"
    layout="vertical"
    backgroundColor="#FFFFFF"
    borderColor="#B59D9D">
              <mx:Button width="100%" height="40" cornerRadius="0" label="Clothing" fontSize="18" color="#363535" fontWeight="normal" fontFamily="Verdana" borderColor="#FCFAFA"/>
              <mx:Button width="100%" height="40" cornerRadius="0" label="E-Books" fontSize="18" color="#363535" fontWeight="normal" fontFamily="Verdana"/>
              <mx:Button width="100%" height="40" cornerRadius="0" label="Laptops" fontSize="18" color="#363535" fontWeight="normal" fontFamily="Verdana"/>
              <mx:Button width="100%" height="40" cornerRadius="0" label="Movies" fontSize="18" color="#363535" fontWeight="normal" fontFamily="Verdana"/>
              <mx:Button width="100%" height="40" cornerRadius="0" label="Music" fontSize="18" color="#363535" fontWeight="normal" fontFamily="Verdana"/>
              <mx:Button width="100%" height="40" cornerRadius="0" label="Phones" fontSize="18" color="#363535" fontWeight="normal" fontFamily="Verdana"/>
              <mx:Button width="100%" height="40" cornerRadius="0" label="Software" fontSize="18" color="#363535" fontWeight="normal" fontFamily="Verdana"/>
    </mx:Panel>

    Thanks Prashant - it works!
    I didn't realize that it had to be added to the container for the buttons - I had been trying to apply it to each button instance.

  • How to remove space between pages in Oracle Reports 6i?

    Hi,
    I have customized one oracle report (rdf). Earlier, the standard report was showing the ouput in pages i.e. there exists space beteen the pages. But I want my custom report in such a way that it should show me the result in one page i.e. there should be no space between the pages as user wants to spool the output into excel sheet (xls format) after getting the result output obtained from my custom report. Presently, when i spool the data into excel sheet, there is still the space exists between the pages like...few records will come then white space...then records.
    How can I remove this space, so that user can easily spool the data into excel without existence of white space.
    Any sort of help on this will be highly appreciated.
    Thanks & Regards,
    Sumir Chawla
    Edited by: Chawla on Jan 4, 2009 10:20 PM

    Hi,
    My report is running on Unix. When I checked the output file in unix where it is getting generated, i saw ^L characters wherever the space appears when i see the output in apps (notepad) , like after every page where I am able to see the space in my output, there ^L is appearing in output file in unix, so how can I avoid this.
    I tried to adjust the frames and repeatinf frames also, even i tried changing the properties also of main region (body), but nothing is working for me and still the same issue occurs. I am not aware of this. Please suggest me.
    Thanks a lot!
    Regards,
    Sumir

  • How to put a back button

    hi all
    i'm using jdev 10g 10.1.3. i'm tring to put a back button in my pages that when i click on it will go back to the page from which it came but am getting lost how to go about it.
    I created a backing bean with the following code for the Action property:
    import javax.faces.context.FacesContext;
    public class BackButtonBean {
    private String url;
    public BackButtonBean() {
    public void setUrl(String url) {
    this.url = url;
    public String getUrl() {
    return url;
    public String backButton_action() {
    FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(url);
    return url;
    Can someone help me out what to do next?
    thanks
    preeti

    Hi,
    if you use JSF then you can navigate back by setting the previous ViewId to the UIViewRoot you access from FacesContext.getViewRoot(). So all you really need to do is to track the ViewId of the previous page
    Frank

  • Flex chart how to put distance between x-axis data

    hello
    i am using flex chart line series and column series. i want
    to display 100 data points, with different dates along the x-axis,
    but i don't want all 100 points to be displayed at the same time as
    the x-axis dates will not be readable. i want to have a fixed space
    between each x-axis point and the user then scrolls along the
    chart.
    i read the API but do not see any way to add the x-axis
    spacing?
    thank you for any assistance.
    Tony

    I don't know what you mean then.
    If you set the min and max to be a certain number of days
    apart then you know the dates within those days will be displayed.
    That combined with the width of the chart will define how much
    space there is between x-axis points.

  • How to eliminate space between rows in my gallery?

    I have been trying for days to figure out how to get rid of the space between these rows. Padding and margins for the gallery as well as the rows individually have been set to zero. What are those markers (circled in red)? They seem to indicate the break between rows...
    Thanks for any help...

    There is no need to have your gallery in rows, or have each element inside it's own div with class. You can make this much cleaner by making a list - like your menu.
    Your issues were caused by the large amount of <p> tags (which have margins and padding by default) and the fact each image was wrapped in a <h2> tag (which should only be used for headings and also has a default padding and margin). Add to this the <blockquote> and you have a bit of a difficult scenario.
    I have cleaned the gallery up for you. Use the HTML below, with the CSS provided. You will need to clean up your CSS afterwards as a lot of the classes you don't need - at least for this page. Another thing is you have 3 containers for the gallery - content2, galleryframeformovie and gallery. Why? Remove the movie one and place the gallery div inside the content2 div.
    HTML
    <div id="content2"></div>
    <div id="galleryframeformovie">
      <div id="gallery">
        <ul>
          <li><a href="http://www.rhogueentertainment.com/images/2010 mm BIG/2010 big4.jpg" class="pirobox_gal1" title="4th Project Image"><img src="http://www.rhogueentertainment.com/images/2010 mm SM/2010 sm4.jpg" alt="" width="106" height="72" title="" /></a></li>
          <li><a href="http://www.rhogueentertainment.com/images/2010 mm BIG/2010 big5.jpg" class="pirobox_gal1" title="5th Project Image"><img src="http://www.rhogueentertainment.com/images/2010 mm SM/2010 sm5.jpg" alt="" width="106" height="72" title="" /></a></li>
          <li><a href="http://www.rhogueentertainment.com/images/2010 mm BIG/2010 big6.jpg" class="pirobox_gal1" title="6th Project Image"><img src="http://www.rhogueentertainment.com/images/2010 mm SM/2010 sm6.jpg" alt="" width="106" height="72" title="" /></a></li>
          <li><a href="http://www.rhogueentertainment.com/images/2010 mm BIG/2010 big2.jpg" class="pirobox_gal1" title="2nd Project Image"><img src="http://www.rhogueentertainment.com/images/2010 mm SM/2010 sm2.jpg" alt="" width="106" height="72" title="" /></a></li>
          <li><a href="http://www.rhogueentertainment.com/images/2010 mm BIG/2010 big3.jpg" class="pirobox_gal1"  title="3rd Project Image"><img src="http://www.rhogueentertainment.com/images/2010 mm SM/2010 sm3.jpg" alt="" width="106" height="72" title="" /></a></li>
            <li><a href="http://www.rhogueentertainment.com/images/2010 mm BIG/2010 big4.jpg" class="pirobox_gal1" title="4th Project Image"><img src="http://www.rhogueentertainment.com/images/2010 mm SM/2010 sm4.jpg" alt="" width="106" height="72" title="" /></a></li>
            <li><a href="http://www.rhogueentertainment.com/images/2010 mm BIG/2010 big5.jpg" class="pirobox_gal1" title="5th Project Image"><img src="http://www.rhogueentertainment.com/images/2010 mm SM/2010 sm5.jpg" alt="" width="106" height="72" title="" /></a></li>
            <li><a href="http://www.rhogueentertainment.com/images/2010 mm BIG/2010 big6.jpg" class="pirobox_gal1" title="6th Project Image"><img src="http://www.rhogueentertainment.com/images/2010 mm SM/2010 sm6.jpg" alt="" width="106" height="72" title="" /></a></li>
            <li><a href="http://www.rhogueentertainment.com/images/2010 mm BIG/2010 big2.jpg" class="pirobox_gal1" title="2nd Project Image"><img src="http://www.rhogueentertainment.com/images/2010 mm SM/2010 sm2.jpg" alt="" width="106" height="72" title="" /></a></li>
              <li><a href="http://www.rhogueentertainment.com/images/2010 mm BIG/2010 big3.jpg" class="pirobox_gal1"  title="3rd Project Image"><img src="http://www.rhogueentertainment.com/images/2010 mm SM/2010 sm3.jpg" alt="" width="106" height="72" title="" /></a></li>
          </ul>
        </div>
      </div>
    CSS
    #gallery{
              width: 560px;
              float: left;
              margin: 0;
              overflow:hidden;
              width: 560px;
              height: 400px;
              line-height: 19px;
              float: left;
              font-size: 19px;
              margin: 0;
              overflow: visible;
    #gallery ul {
              list-style-type:none;
              width:100%;
    #gallery li {
              width:  106px;
              height: 73px;
              float:left;
              color: #ffffff;
              padding: 0;
              margin:0 20px 20px 0;
    Good luck.
    Rik

  • How to provide space between columns in alv_grid_display?

    hi,
    gurus,
    I want to provide space between columns in alv display how can i achieve that.
    ex.
    sno   name   street    
    thank u ,
    shabeer ahmed.

    Hi..,
      There you wl get column seperators with seperate blocks and cells in the grid anyway.
    Maintain gap between columns is nothing but grid breaking, its may be possible with oops concept.
    Let me know whats your requirement?
    Thanks,
    Naveen.I

  • How to remove space between two fields in emergency primary contact.

    How Can I remove a space between the two fields.IN emergency primary contact there are certain field called "C/O" and a i have added one text for this field inside that.But it is taking a big space between the "C/O" field and the text view.Plz suggest how I can re,move this?Also How Can I add new transparent container  with the end user personalization in the emergency contact field.

    Hi Peddi
    In my structure pannel I have simpleSearchPanel below that only i have the two lov fields ex: emp_no and emp_name . how to set the spacer between this From which Region where can find the spacer bean what proerty do i need to set
    Thanks
    AT

  • How to set space between the fields in SearchPG- Display issue

    Hi Friends
    I Have created a searchPG with a QueryRN , In my searchPG i have some display issue after running the page its looks like this
    For Example assue its a page with 3 field and one table region
    Employee no
    Employee name
    Phone no
    ResulttableBut i want my searchPG should hav some space between two field as shown below
    Employee no
    Employee name
    Phone no
    ResulttablePlease adviice me
    I appreciate all ur advice
    Thanks
    A.T

    Hi Peddi
    In my structure pannel I have simpleSearchPanel below that only i have the two lov fields ex: emp_no and emp_name . how to set the spacer between this From which Region where can find the spacer bean what proerty do i need to set
    Thanks
    AT

  • How to provide space between two tabs in a tabbed pane using Swings?

    I want to place two tabs on a tabbed pane with a specified gap in between. How to give the space between them. Please suggest me how to implment this.
    Thanks in advance.

    set your own UI, overriding paintTab(..) to add 5 (or whatever gap) to each of rects.x

Maybe you are looking for