Spacing, alignment and labels position ...

How can I adjust the spacing between items? When exporting as a PDF there's a ton of wasted space on printed forms, making it hard to fit much on a single page.
Why do I have to adjust the "labels position" for the whole document? How can I just adjust it for the item selected?
If I set "labels left" and try to adjust the width of the "edit label" field, it adusts all the "edit label" fields in the whole document. How can I adjust one without affecting the others?

Yes, for fields that are the first in a row and that have label position set to Left or Right, they do share a "global" caption reserve (label width).  This FAQ goes into a little more detail:
http://forums.adobe.com/docs/DOC-4231
Thanks,
Josh

Similar Messages

  • Setting Default Label Position

    Hi all
    When I create a Boolean (or anything else), LV defaults to putting the label above the control and left justified. I like to change that so that the default location for a label is just to the right and top justified.
    Anyone know how to do this?

    > Sorry, but don't believe you can--though that would be nice.
    > Personally I seem to spend half my life making contol labels
    > right-justified and aligned to the left of the terminal, and
    > indicators, left-justified and to the right of the control...
    >
    I've heard this advice about the justification before, but many times it
    doesn't seem necessary. If the label is totally above or below the
    control, then the justification will determine which edge of the label
    moves while the top or bottom is maintained. As long as autosizing is
    turned on and the label projected horizontally intersects with the frame
    of the control, the justification doesn't matter since the right or left
    edge, whichever is next to the control will be maintained.
    As for th
    e orginal question, this is something you can change with
    custom controls or typedefs, but the built-in control label position
    cannot be controlled.
    Greg McKaskle

  • ToggleButton label position

    Hi everyone,
    I'm looking for a way to align the Label of a ToggleButton to the left of it.
    My Toggle button is 100% wide, and the icon+label are centered in the button.
    I can't find a way to make icon+Label aligned to the left.
    I created a custom skin, but the Label keeps centered whatever I try...
    Any tips ?
    Thanks a lot.

    Hi,
    Following steps will solve your problem:
    1. set the label position as NO LABEL.
    2. Add a control type of type 'Plain Text' in which you can write the description of the variable and place it before the input field and adjust the size as desired.
    Hope this helps.
    Regards,
    Rk.

  • Alignment and restriction of Custom field in SAP query report

    Hi Experts,
    I have one custom field in query report(SQ01) called Amount in local currency which is calculated based on Amount in document currecy * exchange rate.
    But this field values are coming in left alignment instead of right alignment so how i should get in right alignment and second issue is how i can restrict field value to only 2 decimals.
    I tried the below link "http://media.techtarget.com/searchSAP/downloads/SAP_Query_C7.pdf" but the steps they mentioned are not appearing in SQ01 for example in that link they mentioned to click Basic List option for advanced steps but when i click i goes directly to field list with field groups on left pane
    Please provide solution for this.
    Thanks&Regards,
    narasimha

    Hello narasimha,
    In the Infoset when you create the additional field, enter an existing SAP table field that has type CURR in the parameter labeled LIKE Reference.  For example you can enter BSAK-DMBTR as a value. When you select the additional field in the query, the currency will also show.
    Kind Regards,
    Rae Ellen Woytowiez
    Edited by: Rae Ellen Woytowiez on Apr 25, 2011 11:27 PM

  • How to keep form field and label together?

    In InDesign Creative Cloud (ID CC), I need to create a 20 page form (a type of questionnaire). As a prelude to doing this, I created a one page form. I am trying to keep labels (text) and fields together, so that if I add a question in the middle of the form, everything else moves down and stays in the correct alignment and relationship. Here is what I tried.
    Option 1: Anchored Fields. I created fields on a "fields" layer and labels on a "text" layer. The text layer generally had tables to help me see where fields should be placed. However, to keep fields and text in the same relationship on the page, I anchored the field to the text. Hoewever, this has the effect of moving the field object into the same layer as the text. When I tried to use the Articles panel to put the fields in correct tab order, I discovered that only fields (unanchored) that were in the forms layer could be dragged into the Articles panel; anchored fields (now in the text layer) could not be dragged into the Articles panel. Why?
    I know that I could also use the Object / Interactive / Set Tabs Order command, but I wanted to use Articles to see how that works.
    In this approach, I also could not figure out how to put underline the text form field
    Option 2: Tabs and Character Styles. I used character styles for underlining by not using tables, but using paragraphs and tabs to align where the fields should be. I applied a character style to a right-justified tab to get the underline. However, using this option, whenever I add a new question (field + label or instruction) in the middle of the form, everything else down on the page goes out of alignment.
    What recommendations do other form designers have? I have been trying to think of how IRS has "dense" or "complex" forms, and how these might be designed in InDesign CC. in order to apply similar techniques to my form design.
    I am running on a Mac, OS X 10.8.4, InDesign CC.

    Unless I am gravely mistaken, isnt this what you want?
    for (int i = 0; i < folderList.size(); i++) {
       String folder = (String) folderList.get(i);
        System.out.println("Folder: " + folder);
        System.out.println ("Messages: " + folderMap.get (folder));
    }

  • How can I play Reverse between label A and label B

    hi again~
    I have a symbol,some timaline and labels in it.
    so now I want to play reverse between the Label A and Lable B
    but the action syntax is like
    test1_play.playReverse();
    so how can I play reverse rom LableB to LableA?
    I found this information, I am fresh in edge animate, so I can't figure out the issue.
    anybody help?
    sym.playReverse ( position, executeTriggers )
    position defaults to the current playhead position (which defaults to 0); If play is issued and the playhead is at the end of the timeline, play from the end.
    executeTriggers can be true, false, or null and indicates whether triggers at the starting position are fired:
    true - all triggers at the starting position are fired.
    false - no triggers are fired at the start point.
    null, undefined or omitted - triggers are fired at the starting position only if the timeline is being played for the first time, or if the starting position is different than the current playhead position as returned by getPosition().
    Description: Play the default timeline in reverse from the given position given in milliseconds (if position is a number) or as a label (if position is a string).

    Hi again
    See that thread (you'll find a downloadable example) : http://forums.adobe.com/message/5347434#5347434
    Gil

  • Aligning and Distributing objects in InDesign

    Hi,
    I am using InDesign CS4. But I am having a trouble aligning objects. I know that in illustrator it is possible to align objects to a main object. For example, lets say I have several same square shapes on my page. I can make any one of the squares as the main object for others to get aligned or distributed to.
    I wanted to do the same thing in InDesign but was never able to do that. I wonder if it is even possible to do that. InDesign doesn't seem to have that option. But it was such a handy tool.
    Can you help me with the trick?

    Thanks Peter Spier. I am sorry for the misleading information. You were right about the alignment and distribution tools. On my CS4, the Alignment option works with the locked object, but the Distribue Objects and Distribute with Set Space doesn't work with a locked object. I am trying to use the distribute with a set spacing around "the main object". In other words, it will make my work a lot easier if I first align an object at a certain point on the page and then use two other text frames on both sides of the object with an equal spacing (using the Distribute Spacing tool).
    I hope it makes a sence. Thanks.

  • How to left aligned fields label of panel form

    hi am in jdeveloper 11.1.1.6.0, how can i left aligned fields label of panel form

    this is my form,where must i put this af|panelFormLayout::label-cell {text-align: left;}
    <af:panelFormLayout id="pfl6">
        <af:inputText value="#{bindings.Username.inputValue}"
                      label="     Username"
                      required="#{bindings.Username.hints.mandatory}"
                      columns="#{bindings.Username.hints.displayWidth}"
                      maximumLength="#{bindings.Username.hints.precision}"
                      shortDesc="#{bindings.Username.hints.tooltip}" id="it26">
          <f:validator binding="#{bindings.Username.validator}"/>
        </af:inputText>
        <af:inputText value="#{bindings.Firstname.inputValue}"
                      label="    Firstname"
                      required="#{bindings.Firstname.hints.mandatory}"
                      columns="#{bindings.Firstname.hints.displayWidth}"
                      maximumLength="#{bindings.Firstname.hints.precision}"
                      shortDesc="#{bindings.Firstname.hints.tooltip}" id="it21">
          <f:validator binding="#{bindings.Firstname.validator}"/>
        </af:inputText>
        <af:inputText value="#{bindings.Surname.inputValue}"
                      label="     Surname"
                      required="#{bindings.Surname.hints.mandatory}"
                      columns="#{bindings.Surname.hints.displayWidth}"
                      maximumLength="#{bindings.Surname.hints.precision}"
                      shortDesc="#{bindings.Surname.hints.tooltip}" id="it28">
          <f:validator binding="#{bindings.Surname.validator}"/>
        </af:inputText>
        <af:inputText value="#{bindings.Initials.inputValue}"
                      label="    Initials"
                      required="#{bindings.Initials.hints.mandatory}"
                      columns="#{bindings.Initials.hints.displayWidth}"
                      maximumLength="#{bindings.Initials.hints.precision}"
                      shortDesc="#{bindings.Initials.hints.tooltip}" id="it20">
          <f:validator binding="#{bindings.Initials.validator}"/>
        </af:inputText>
        <af:selectOneChoice value="#{bindings.Titlecode.inputValue}"
                            label="    Title"
                            required="#{bindings.Titlecode.hints.mandatory}"
                            shortDesc="#{bindings.Titlecode.hints.tooltip}"
                            id="soc6">
          <f:selectItems value="#{bindings.Titlecode.items}" id="si12"/>
        </af:selectOneChoice>
        <af:selectOneRadio value="#{bindings.Gender1.inputValue}"
                           label="     Gender"
                           required="#{bindings.Gender1.hints.mandatory}"
                           shortDesc="#{bindings.Gender1.hints.tooltip}" id="sor6">
          <f:selectItems value="#{bindings.Gender1.items}" id="si17"/>
        </af:selectOneRadio>
        <af:inputText value="#{bindings.Identitynumber.inputValue}"
                      label="    Identitynumber"
                      required="#{bindings.Identitynumber.hints.mandatory}"
                      columns="#{bindings.Identitynumber.hints.displayWidth}"
                      maximumLength="#{bindings.Identitynumber.hints.precision}"
                      shortDesc="#{bindings.Identitynumber.hints.tooltip}"
                      id="it25">
          <f:validator binding="#{bindings.Identitynumber.validator}"/>
        </af:inputText>
        <af:inputDate value="#{bindings.Dateofbirth.inputValue}"
                      label="    Dateofbirth"
                      required="#{bindings.Dateofbirth.hints.mandatory}"
                      shortDesc="#{bindings.Dateofbirth.hints.tooltip}" id="id3">
          <f:validator binding="#{bindings.Dateofbirth.validator}"/>
          <af:convertDateTime pattern="#{bindings.Dateofbirth.format}"/>
        </af:inputDate>
        <af:selectOneRadio value="#{bindings.Statuscode.inputValue}"
                           label="#{bindings.Statuscode.label}"
                           required="#{bindings.Statuscode.hints.mandatory}"
                           shortDesc="#{bindings.Statuscode.hints.tooltip}"
                           id="sor5">
          <f:selectItems value="#{bindings.Statuscode.items}" id="si7"/>
        </af:selectOneRadio>
        <af:inputText value="#{bindings.Emailaddress.inputValue}"
                      label="#{bindings.Emailaddress.hints.label}"
                      required="#{bindings.Emailaddress.hints.mandatory}"
                      columns="#{bindings.Emailaddress.hints.displayWidth}"
                      maximumLength="#{bindings.Emailaddress.hints.precision}"
                      shortDesc="#{bindings.Emailaddress.hints.tooltip}" id="it22">
          <f:validator binding="#{bindings.Emailaddress.validator}"/>
        </af:inputText>
        <af:inputText value="#{bindings.Termsandconditions.inputValue}"
                      label="#{bindings.Termsandconditions.hints.label}"
                      required="#{bindings.Termsandconditions.hints.mandatory}"
                      columns="#{bindings.Termsandconditions.hints.displayWidth}"
                      maximumLength="#{bindings.Termsandconditions.hints.precision}"
                      shortDesc="#{bindings.Termsandconditions.hints.tooltip}"
                      id="it24">
          <f:validator binding="#{bindings.Termsandconditions.validator}"/>
        </af:inputText>
        <af:selectOneChoice value="#{bindings.Branch.inputValue}"
                            label="#{bindings.Branch.label}"
                            required="#{bindings.Branch.hints.mandatory}"
                            shortDesc="#{bindings.Branch.hints.tooltip}" id="soc5">
          <f:selectItems value="#{bindings.Branch.items}" id="si11"/>
        </af:selectOneChoice>
        <af:inputComboboxListOfValues id="office1Id"
                                      popupTitle="Search and Select: #{bindings.Office1.hints.label}"
                                      value="#{bindings.Office1.inputValue}"
                                      label="#{bindings.Office1.hints.label}"
                                      model="#{bindings.Office1.listOfValuesModel}"
                                      required="#{bindings.Office1.hints.mandatory}"
                                      columns="#{bindings.Office1.hints.displayWidth}"
                                      shortDesc="#{bindings.Office1.hints.tooltip}">
          <f:validator binding="#{bindings.Office1.validator}"/>
        </af:inputComboboxListOfValues>
        <af:inputText value="#{bindings.Ausername.inputValue}"
                      label="#{bindings.Ausername.hints.label}"
                      required="#{bindings.Ausername.hints.mandatory}"
                      columns="#{bindings.Ausername.hints.displayWidth}"
                      maximumLength="#{bindings.Ausername.hints.precision}"
                      shortDesc="#{bindings.Ausername.hints.tooltip}" id="it23">
          <f:validator binding="#{bindings.Ausername.validator}"/>
        </af:inputText>
        <af:inputText value="#{bindings.PractitionerNumber.inputValue}"
                      label="#{bindings.PractitionerNumber.hints.label}"
                      required="#{bindings.PractitionerNumber.hints.mandatory}"
                      columns="#{bindings.PractitionerNumber.hints.displayWidth}"
                      maximumLength="#{bindings.PractitionerNumber.hints.precision}"
                      shortDesc="#{bindings.PractitionerNumber.hints.tooltip}"
                      id="it27">
          <f:validator binding="#{bindings.PractitionerNumber.validator}"/>
        </af:inputText>
      </af:panelFormLayout>

  • How to right align s:Label inside a s:controlBarContent ?

    My spark app has a control bar at the top and i want to right-align a label inside it so my button bar is on the left and my label is on the right. I tried using the 'horizontalAlign="right"' which works find inside a s:panel but not inside a s:controlBarContent. Does anyone have any idea how to achieve this please? Also, the flash builder 4 ide won't let you move the label over in design mode either...
    Thanks for your help,
    Regards,
    Mark.

    I figured it out myself. I added an s:Hgroup around my label and set width="100%" and horizontalAlign="right" you need to set the width to 100% otherwise you're just right aligning within the actual width of the component (which is pretty useless eh?).
    I hope this helps someone else too.
    Regards,
    Mark.

  • Align the label of inputText

    How to align the label of inputText to left?
    This is the default alignment of the following components on a panelForm
    15. Total Already Paid: inputText box here
    16. Due for Payment (14-15):     inputText box here
    But I wanted to align them as follow.
    15. Total Already Paid:      inputText box here
    16. Due for Payment (14-15): inputText box here
    Message was edited by:
    V.Piraba

    Thank you Frank. I think my question was not clear. All I need is that I wanted to align the labels of af:inputText to the left and the input text boxes of af:inputText to middle as they are aligned when we put them on af:panelForm.
    Please look at the following format that is how I wanted to display all my inputText.
    Label1 (Short label)---------------------inputText must be here
    Label2 Label2 Label2 (Long label) inputText must be here
    Please note ‘----‘ represents empty spaces between the label and the box
    Message was edited by:
    V.Piraba

  • Box alignment and sizing problems

    I have a JPanel (using a border layout). Its centre part holds a vertical Box, which itself holds two boxes: The top box holds three labels with centre alignment, and the bottom box holds 5 boxes, each displaying details about a product. All the components in these boxes are left-alignment
    The parent JPanel (with the BorderLayout) has its preferred, minimum and maximum sizes specified. Nothihn inside it has sizes specified - in the case of the "product boxes", I do not know exactly how high they will be (it despends on the information they contain). The box that holds the five boxes has a ScrollPane, so that it doesn't really matter how long the content goes.
    My problem is that the box holding the five boxes does not adhere to the width limits of the main JPanel. Say the main JPanel is 1000px wide: the
    child box's content might stretch for 1500px or 2000px, flowing out of view. Since I have the horizontal scroll bar of the scroll pane set to "As needed", i can scroll across to see the content. But even if I get rid of the scroll pane entirely, the problem still occurs.
    The strange thing is I have another JPanel with a very similar structure (Border layout holding box holding 5 boxes), which does not ever seem to exhibit this problem. And also, the problem appears to occur only sometimes.
    Anyone seen this before or understand what's going on? I've posted the code. The first block is the constructor for the main JPanel with BorderLayout. The second block is the code for the individual "Product" panels. These are added to the "productListBox" (see below) by a separate SwingWorker thread, after the JPanel has been constructed. The third block is the doInBackground method of that SwingWorker.
    Code for JPanel constructor: (Note there is a line commented out. It doesn't seem to matter whether or not this line is in there)
            super(new BorderLayout());
            setPreferredSize(new Dimension(width, height));
            JLabel searchProductLabel = new JLabel("Search a service using the buttons above");
            searchProductLabel.setFont(FontsColors.SUBTITLE_FONT);
            searchProductLabel.setForeground(FontsColors.SUBTITLE_COLOR);
            searchProductLabel.setAlignmentX(CENTER_ALIGNMENT);
            JLabel orLabel = new JLabel("OR");
            orLabel.setFont(FontsColors.TITLE_FONT);
            orLabel.setForeground(FontsColors.TITLE_COLOR);
            orLabel.setAlignmentX(CENTER_ALIGNMENT);
            JLabel instructionsLabel = new JLabel("Search a service on one of these products");
            instructionsLabel.setFont(FontsColors.SUBTITLE_FONT);
            instructionsLabel.setForeground(FontsColors.SUBTITLE_COLOR);
            instructionsLabel.setAlignmentX(CENTER_ALIGNMENT);
            Box instructionsBox = new Box(BoxLayout.Y_AXIS);
            instructionsBox.setAlignmentX(LEFT_ALIGNMENT);
            instructionsBox.add(searchProductLabel);
            instructionsBox.add(Box.createVerticalStrut(PADDING));
            instructionsBox.add(orLabel);
            instructionsBox.add(Box.createVerticalStrut(PADDING));
            instructionsBox.add(instructionsLabel);
            instructionsBox.add(Box.createVerticalStrut(PADDING));
            productsListBox = new Box(BoxLayout.Y_AXIS);
            //productsListBox.setAlignmentX(LEFT_ALIGNMENT);
            Box shoppingBox = new Box(BoxLayout.Y_AXIS);
            shoppingBox.setAlignmentX(LEFT_ALIGNMENT);
            shoppingBox.add(instructionsBox);
            shoppingBox.add(Box.createHorizontalStrut(PADDING));
            shoppingBox.add(productsListBox);
            JScrollPane productsScroll = new JScrollPane(shoppingBox);
            productsScroll.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
            productsScroll.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
            add(productsScroll, BorderLayout.CENTER);Code for product box constructor:
            super(BoxLayout.Y_AXIS);
            Border lineBorder = BorderFactory.createLineBorder(FontsColors.THEME_COLOR);
            Border padding = BorderFactory.createEmptyBorder(BORDER_PADDING, BORDER_PADDING, BORDER_PADDING, BORDER_PADDING);
            setBorder(BorderFactory.createCompoundBorder(lineBorder, padding));
            add(Box.createVerticalStrut(COMPONENT_PADDING));
            String titleBrandString = (data.getBrand() != null) ? (data.getTitle() + " (" + data.getBrand().toUpperCase() + ")") : (data.getTitle());
            Hyperlink titleLink = new Hyperlink(titleBrandString, data.getPageUrl(), FontsColors.TITLE_FONT, FontsColors.TITLE_COLOR);
            titleLink.setAlignmentX(LEFT_ALIGNMENT);
            add(titleLink);
            add(Box.createVerticalStrut(COMPONENT_PADDING));
            JLabel authorLabel = new JLabel(data.getAuthor());
            authorLabel.setFont(FontsColors.SUBTITLE_FONT);
            authorLabel.setForeground(FontsColors.SUBTITLE_COLOR);
            authorLabel.setAlignmentX(LEFT_ALIGNMENT);
            add(authorLabel);
            add(Box.createVerticalStrut(COMPONENT_PADDING));
            JTextArea descriptionArea = new JTextArea(data.getDescription());
            descriptionArea.setEditable(false);
            descriptionArea.setLineWrap(true);
            descriptionArea.setWrapStyleWord(true);
            descriptionArea.setAlignmentX(LEFT_ALIGNMENT);
            add(descriptionArea);
            add(Box.createVerticalStrut(COMPONENT_PADDING));
            if(data.getPrice() != null)
                String priceConditionString = data.getPrice();
                JLabel priceConditionLabel = new JLabel(priceConditionString);
                priceConditionLabel.setFont(FontsColors.EMPHASIS_FONT);
                priceConditionLabel.setForeground(FontsColors.EMPHASIS_COLOR);
                add(priceConditionLabel);
            add(Box.createVerticalStrut(COMPONENT_PADDING));
            ServiceButtonPanel serviceButtonPanel = new ServiceButtonPanel();
            serviceButtonPanel.addServiceButtonActions(new SetProductSearchStringActionListener());
            serviceButtonPanel.setAlignmentX(LEFT_ALIGNMENT);
            add(serviceButtonPanel);
            add(Box.createVerticalStrut(COMPONENT_PADDING));
            searchString = data.getTitle();Code for SwingWorker that adds the product boxes:
            protected Void doInBackground() throws Exception
                for(int index = 0; index < products.size(); index++)
                    ProductInfoPanel panel = new ProductInfoPanel(products.get(index));
                    Border padding = BorderFactory.createEmptyBorder(PADDING, PADDING, PADDING, PADDING);
                    panel.setBorder(BorderFactory.createCompoundBorder(padding, panel.getBorder()));
                    productsListBox.add(panel);
                validate();
                return null;
            }Edited by: 803559 on 13-May-2011 00:06

    jduprez
    You have solved the problem inadvertently
    No. Twice no.
    1) You have solved the problem. Not me. I just gave a push in the (apparently) right direction. You deserve more credits.
    2) Take my word for it, this was anything but inadvertently . Indeed it's a well-known trait of the SSCCE "methodology", that the developer often discovers the origin of the problem, and hopefully finds the solution as well.
    - If you demonstrate the problem in shorter code, means there are less suspects to investigate.
    - If you don't, then you start adding things to look more than the real program, one thing at a time, until you find one thing that introduces the problem.
    I'm not promoting SSCCE to prevent or refrain people from posting questions in the forum. I'm a addict of this forum, and I'm the first one frustrated when there are no questions here.
    It's just that using SSCCE often eliminates trivial problem before they have to be worded here, and leaves mostly interesting problems to investigate. And for those, having a complete runnable example is easier to copy/paste in an IDE to try out and play with.
    I made up an SSCCE as you said. Because I did not want to have to bother with accessing Google Shopping (which is where the program gets the product information) i made a bunch of fake productions, all called "Xbox 360". Everything was fine.Excellent (and straight to the point of the methodology).
    You then witnessed that the problem was not where you thought it were initially (I'm stretching your words a bit for the purpose of the demonstration, but it required a combination of code and certain data to exhibit the problem).
    It turned out that it was the Title JLabel of the individual product information panels that was causing it to stretch beyond its bounds. I didn't pick up on it, because the problem arose even if the JLabel text didn't take up the entire width of the panel - once it got about 2/3 of the way across, the width would increase.I'm surprised again. Don't you have another widget on the same "line", in addition to the label?
    But I trust your findings (without an SSCCE I can't commit myself :o)
    I'll try switching to a multiline text holder so that the text can wrap around.Yes, that sounds sensible for such a thing as "product information".
    Thank you, jduprez. I'll remember to post a SSCCE next time I have an issue.Great. I'm glad you solved your problem, and I'm glad I haven't deterred you from posting at all! :o)
    Darryl: thank you for clearning that up. I've been confused as to which one to use.Yes.
    I will post something one of these days to have that cleared up (the tutorial recommends to brutally call revalidate()repaint()+ , but I think that's exagerated: http://download.oracle.com/javase/tutorial/uiswing/layout/howLayoutWorks.html, http://download.oracle.com/javase/tutorial/uiswing/layout/problems.html)
    Edited by: jduprez on May 13, 2011 1:50 PM

  • How to align avery labels 5267 on my mac

    i neeed to align some labels and they just wont go!!!!!!!!!!!!!!!!!!!!!!!!
    WHAT DO I DO

    You could try a custom paper size and gradually adjust the page length until it prints in the correct location.
    "Although I work for HP, I'm speaking for myself and not on behalf of HP"
    "Say "Thanks" by clicking the Kudos Star in the post that helped you.
    --Please mark the post that solves your problem as "Accepted Solution"

  • Placing icons and label inside a ToggleButtonBar

    As It's explain on subject, I try to create a custom ToggleButtonBar with icon and label on top.
    To do that, I create the class you can read below
    package
    import mx.controls.Button;
    import mx.controls.ToggleButtonBar;
    import mx.core.IFlexDisplayObject;
    public class IconToggleButtonBar extends ToggleButtonBar
    [Inspectable (enumeration = "left,right,top,bottom", defaultValue="left")]
    public var labelPlacement:String="left";
    override protected function createNavItem(label:String, icon:Class=null):IFlexDisplayObject
    var b:Button = Button (super.createNavItem(label,icon));
    b.labelPlacement= labelPlacement;
    return b;
    To use this class, I had done:
    <fx:Script >
    <![CDATA[
    [Embed (source= "icon/paramList/archive.png")]
    public var icon1:Class ;
    private var listeObject:Object={label:"Label1", icon : icon1};
    private var actesObject:Object={label:"Label2", icon : icon1};
    private var preimpObject:Object={label:"Label3", icon : icon1};
    private var amoamcObject:Object={label:"Label4", icon : icon1};
    private var agendaObject:Object={label:"Label5", icon : icon1};
    [bindable]
    public var buttons:Array = [listeObject, actesObject, preimpObject, amoamcObject, agendaObject];
    ]]>
    </fx:Script>
    <component:IconToggleButtonBar
    dataProvider="{buttons}"
    itemClick="changeBbHandler(event)"
    includeIn="tout"
    selectedIndex="-1"
    toggleOnClick="true"
    x="7" width="95%"     
    color="0xff0000"
    height="49"/>
    In my case, icon is visible on IconToggleButtonBar but no label appear.
    Is anyone can explain to me why?
    Thanks for helping

    I tried that first. Updating the script to this doesn't work.
    myXML.onLoad = function(){
    //Set varible to store the XML childNodes
    //This allows you to get the number of buttons in the XML file.
    //You'll use this tell flash how many times to loop the for loop.
    var linkname:Array = this.firstChild.childNodes;
    //Set a for loop
    for(i=0;i<linkname.length;i++){
    //Push the button name into the names Array
    names.push(linkname[i].attributes.NAME);
    //Push the button link into the links Array
    links.push(linkname[i].attributes.LINK);
    //Attach the button Movie Clip from the libray give it an instance name and place it on the next highest level
    this.attachMovie("button","btn"+i,this.getNextHighestDepth());
    //Set the y position of the buttons
    this["btn"+(i)]._y = yPosition;
    //Increace the varible yPosition 15 pixel each time the loop runs to place each button under each other
    yPosition = yPosition + 25
    //Place the button name from names Array into the blackTxt text box
    this["btn"+(i)].buttonText.Txt.text = (names[i]);
    //Assign the btnRelease function to the button onRelease state.
    this["btn"+(i)].onRelease = btnRelease;

  • Address Book and Label Printing

    I've been trying to do this and have run into a sea of problems/bugs.
    A lot come to light after switching back and forth between the Layout and Label tabs. This seems to render the preview window inoperative. For example, after choosing print from the file menu then clicking Layout then clicking Label in the Print Dialog Box:
    1) changing font is not reflected in preview pane
    2) clicking "country" check box is not reflected in preview pane
    3) zoom control does nothing
    4) changing label type does not update preview pane
    After printing and then trying to print a second time, I notice that some setting are not saved. For example, the Country, if it was checked, has reverted back to being not checked and the font has reverted to Lucida Grande 12. More importantly, the label type reverts back to the default 5161, but only after every second print. (ie choose print from file menu set label type to 2163, print, select print from file menu: label type is 2163, print, select print from file menu again and label type has now reverted to 5161
    When selecting a different Label from the layout menu, ie Avery 2163 Top, the Preview Pane is only partially updated. The addresses are relocated on the page but a full 8 1/2X11 page is still shown. if I cancel the Print and return, the preview page size has been resized to reflect the smaller label size.
    I've also a great deal of difficulty getting Address Book to print correctly on Avery 2163 labels. These labels are 2" wide and the program seems to want to print on 8 1/2 inch wide paper. As a result, only the left hand portions of the address appear on the label, and even that is not properly spaced vertically to appear correctly within each label. I was able to get it to print correctly only when I selected "Scale to Fit Paper" in the Paper Handling Section
    These problems don't seem isolated to my machine (A PowerPC G5). I was able to replicate on an intel imac.
    Has anyone else had problems printing labels?

    Warren: looking at other threads out there it doesn't appear that you can print the spouse/partner/friend field. One poster suggested using Avery DesignPro for Mac, which merges with your AddressBook, and allows you to select which fields to include.  The only caveat is that it doesn't show it working with Lion (os 10.7).  You can download it here:
    http://www.avery.com/avery/en_us/Templates-%26-Software/Avery-DesignPro-for-Mac. htm?N=0&refchannel=c042fd03ab30a110VgnVCM1000002118140aRCRD
    Hope this helps.
    -McCArch
    (also posted this in the other thread where you asked a similar question)

  • Agentry 7.0.3.504 - Label Position Issue

    I am creating a simple Agentry application with a list screen, detail screen, and transaction screen.  I would like the field labels to be on top for the detail and transaction screens.  I've set the "Label Position" property to 'Top' but it doesn't seem to have any effect on the screen.  You can see in the screenshot below that the property is set but the labels are still showing to the left.  I've confirmed that I see this same behavior in the Agentry test environment and the Agentry client for Windows.  Can you think of anything that I might be doing wrong?
    Tags edited by: Michael Appleby

    Christopher,
    You aren't doing anything wrong.  Label on Top setting only works for smart phone devices: iOS or Android.  To implement on Windows, you would need to create separate label fields directly above the actual fields.  Then leave the label on the actual fields blank.
    Jason Latko - Senior Product Developer at SAP

Maybe you are looking for