More BoxLayout alignment issues

Hi everybody,
I'm trying to create a bar graph with BoxLayout, but I'm having a problem. The BoxLayout always orients the buttons in a line on the exact center of the panel, which can result in a lot of extra space. I'd like to have the line be off-center if possible, with the panel bounded by the largest positive/negative bars. I can't figure out how to do that, unfortunately. Also, some of the buttons seem to be cut off when pack() is called; that might be related to this, but I'm not sure.
Here's a SSCCE of my problem, it can probabaly explain better than I can:
import java.awt.Dimension;
import javax.swing.BoxLayout;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class BoxLayoutTest {
     public BoxLayoutTest() {
          JPanel panel = new JPanel();
          BoxLayout layout = new BoxLayout( panel, BoxLayout.X_AXIS );
          panel.setLayout( layout );
          for( int i = 0; i < 9; i++ ) {
               JButton button = new JButton();
               Dimension size;
               if( i % 2 == 0 ) {
                    size = new Dimension( 30, 20 * (i+1) );
                    button.setAlignmentY( JButton.TOP_ALIGNMENT );
               else {
                    size = new Dimension( 30, 30 );
                    button.setAlignmentY( JButton.BOTTOM_ALIGNMENT );
               button.setPreferredSize( size );
               button.setMaximumSize( size );
               panel.add( button );
          JFrame frame = new JFrame();
          frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
          frame.add( panel );
          frame.pack();
          frame.setVisible( true );
     public static void main( String args[] ) { new BoxLayoutTest(); }
}If anyone could help me out with this, I'd appreciate it.
Thanks,
Jezzica85

import java.awt.Dimension;
import javax.swing.*;
public class BoxLayoutTest2 {
     public BoxLayoutTest2() {
          //  Easier way to use BoxLayout
          Box panel = Box.createHorizontalBox();
//          JPanel panel = new JPanel();
//          BoxLayout layout = new BoxLayout( panel, BoxLayout.X_AXIS );
//          panel.setLayout( layout );
          for( int i = 0; i < 9; i++ ) {
               JButton button = new JButton();
               Dimension size;
               if( i % 2 == 0 ) {
                    size = new Dimension( 30, 20 * (i+1) );
                    button.setAlignmentY( JButton.TOP_ALIGNMENT );
               else {
                    size = new Dimension( 30, 30 );
                    button.setAlignmentY( JButton.BOTTOM_ALIGNMENT );
               button.setPreferredSize( size );
               button.setMaximumSize( size );
               button.setMinimumSize( size );  // this was the key
               panel.add( button );
          //  Used to distribute extra vertical space equally
          Box vertical = Box.createVerticalBox();
          vertical.add( Box.createVerticalGlue() );
          vertical.add( panel );
          vertical.add( Box.createVerticalGlue() );
          JFrame frame = new JFrame();
          frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
//          frame.add( panel );
          frame.add( vertical ); // added
          frame.pack();
          frame.setVisible( true );
     public static void main( String args[] ) { new BoxLayoutTest2(); }
}

Similar Messages

  • BoxLayout alignment issue

    Hello,
    Can someone please explain why my JPanel with a BoxLayout will not align the components to the left? Can I not use the BoxLayout with a JPanel? If not, is there another LayoutManager I can use that will display the component aligned to the left going downward?
    Container pane = this.getContentPane();
    pane.setLayout( new BoxLayout( pane, BoxLayout.Y_AXIS ) );
    //the components in this panel will not align to the left
    //the components are indented
    JPanel aPanel = new JPanel();
    aPanel.setLayout( new BoxLayout( aPanel, BoxLayout.Y_AXIS ) );
    JLabel textLabel = new JLabel("test");
    aPanel.add( textLabel );
    //this panel aligns correctly
    JPanel buttonPanel = new JPanel();
    buttonPanel.setLayout( new FlowLayout( FlowLayout.LEFT ) );
    JButton okButton = new JButton( "OK" );
    okButton.addActionListener( new OkButtonListener() );
    buttonpanel.add( okButton );
    pane.add( buttonPanel ); //aligning to the left of the frame correctly
    pane.add( aPanel ); //indented 15 spaces from the left of the frame?
    Thank you.

    1) Use the "code" formatting tags when posting code, so the code retains its original formatting
    2) Read the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/layout/box.html]How to Use the Box Layout. It explains how the "X Alignment" of a component affects positioning.

  • More alignment issues

    hi,
    I'm hardly an expert - but I have made great strides because of helpful people who throw me a hint.
    my site: www.kirarmerica.com
    I still have JUST a FEW alignment issues.  I like to have everything centered, so now I am just down to my spec sheets.
    I know that they might not be configured ALL the same, but I am hoping I can change a few things
    please look at Kira America | Products
    click on any spec sheet and you will see that the headers menu and sometimes the footer stays centered, but the spec info jumps to the  left of the page.
    I've found the correct .css to edit.  but I cant quite figure out how to align the columns vertically on the page.
    for example if I put a margin on #right_column it put it in the right spot, but then the rest of the content jumps all over the page.
    any hints would be helpful!

    These changes will center content in white area
    #container h1, #container h2, #container h3, #container h4, #container h5, #container h6 {
        border-bottom: 1px solid #DEDACB;
        padding-bottom: 8px;
        text-align: center;
    .excel214 {
        border: medium none;
        color: #000000;
        font-family: Calibri,sans-serif;
        font-size: 11pt;
        font-style: normal;
        font-weight: 400;
        margin-left: auto;
        margin-right: auto;
        padding-left: 1px;
        padding-right: 1px;
        padding-top: 1px;
        text-decoration: none;
        vertical-align: bottom;
        white-space: nowrap;

  • Component alignment issue

    Hello guys.
    I have a JPanel with GridLayout with dynamic number of rows and 1 column. Then at each row I insert a JPanel which looks like this:
    text1 = |_________________| <- 1st JPanel
    text2 = |_________________| <- 2nd JPanel
    text3 = |_________________| <- 3rd JPanel
    and so on. These places |____| are JFormattedTextField's. The thing is that they (TextField's) are not exactly aligned, one is like 1 mm to the right, second one is 1 mm to the left. Even '=' are not "exactly" aligned. Text's displayed before '=' are exactly of the same length (ie. they have exactly the same number of characters). Now the problem is with displaying text I guess, because 'e' takes a litte more space on the screen then for e.g. 'k'. Is there any way to fix this alignment issue?

    Thank you very much, it worked of course :-)

  • Re: [iPlanet-JATO] More on ComputedColumn issue

    Vladimir--
    I'm going to answer this question without doing my full homework on it;
    please let me know if I hit the mark or not. If I understand correctly, you
    have a problem using a model for both UPDATE and SELECT queries because of a
    computed column...correct?
    If so, this issue is solved in JATO 1.2. 1.2 has an attribute in the field
    descriptor to indicate in which type of queries a field should be used. You
    can use this attribute to indicate that a field should only be used for
    UPDATE queries, SELECT queries, or whatever combination of query types you
    require. You can then define synthetic fields for use only during one of
    the query types.
    Does this sound useful in fixing your issue? A way around this in JATO 1.1
    would be to create separate models for SELECT and UPDATE queries. The
    SELECT model could contain all the fields for the joined query, but the
    UPDATE model would contain info for only one table. The 1.2 feature simple
    allows you to do the same using one model.
    Todd
    ----- Original Message -----
    From: "vivanov4114" <vivanov@b...>
    Sent: Friday, January 11, 2002 8:12 AM
    Subject: [iPlanet-JATO] More on ComputedColumn issue
    We have a similar problem with do's ComputedColumn after the
    translation as Kostas described in his detailed message #439.
    We have JATO/iMT version 1.1. Is the resolution of this problem added
    to the version 1.2 (or 1.2.1)?
    I've tried to adjust the ModelImpl class based on the .sdo file
    (using ComputedColumn attributes) for these fields and failed.
    Whether I missed something else, or our situation is a little bit
    different.
    In our case the dataObject has one Computed Field from one table and
    another Computed Field from another table along with joint between
    these two tables and third one, and, finally, the whole stuff is
    under the repeatable (with static fields bindings to these two
    computed fields).
    The modelImpl class after the translation (as in the #439) has the
    same values "" and "." for ..._NAME and QUALIFIED_..._NAME strings
    respectively (for each computed do's field).
    I guess that we could meet extra problem with this (for manual
    adjustment) because of there is no TableName attribute in .sdo file
    for computed field (as well as there is no ColumnName attribute for
    computed field). If ComputedColumn attribute (computed field) could
    play a role of ColumnName attribute (regular case), what would be an
    analog of TableName attribute for computed field?
    The bottom line of this is as follows: we have a same
    SQLException "Invalid Column Name"
    from ResultSetModelBase.updateModel() as Kostas described. It causes
    the problem for
    RequestHandlingTiledViewBase.executeAutoRetrieving() method that
    can't bind the proper Model.
    Finally, beginDisplay() method from
    pgXXXXPriorityCountTiledView.class throws exception and
    jasper compiler brings run-time error (Tomcat 3.2).
    Kostas, if this problem still exists for translation of such cases,
    could you please post a fragment that fixed you original problem in
    addition to the message #439 (just to be sure, that I haven't missed
    something important).
    Thank you very much in advance.
    Vladimir Ivanov,
    P. S. I've enclosed the excerption from the .sdo file for this
    dataObject below.
    Class "SQLObject" ;
    Name "doPriorityCount" ;
    DataFields {
    0 { // first df is a computed column from the first
    //table
    Class "DataField" ;
    Name "dfPriorityDesc" ;
    ComputedColumn "MIN
    (MOS.PRIORITY.PDESCRIPTION)" ;
    1 { // second df is a computed column from the second
    // table
    Class "DataField" ;
    Name "dfPriorityCount" ;
    ComputedColumn "COUNT
    (ASSIGNEDTASKSWORKQUEUE.PRIORITYID)" ;
    2 { // third df is a regular df
    Class "DataField" ;
    Name "MOS_PRIORITY_PRIORITYID" ;
    TableName "MOS.PRIORITY" ; // this attribute
    // doesn't exist for ComputedColumn
    ColumnName "PRIORITYID" ; // this attribute
    // doesn't exist for ComputedColumn
    DataCachingEnabled "False" ;
    DataCachingDuration "0" ;
    DataCachingMaxRows "200" ;
    DataObjectType "Select" ;
    Tables "MOS.ASSIGNEDTASKSWORKQUEUE,MOS.PRIORITY,MOS.DEAL" ;
    SQLDistinct "False" ;
    SelectFilter {
    "MOS.DEAL.SCENARIORECOMMENDED" ;
    "=" ;
    "'Y'" ;
    "AND" ;
    "MOS.DEAL.COPYTYPE" ;
    "<>" ;
    "'T'" ;
    SelectOrder {
    "MOS.PRIORITY.PRIORITYID ASC" ;
    SelectGroup {
    "MOS.PRIORITY.PRIORITYID" ;
    EnableEntireTableDelete "False" ;
    EnableEntireTableUpdate "False" ;
    SQLTextOverrideSelect "Partial" ;
    SQLTextOverrideDelete "None" ;
    SQLTextSelectJoin "MOS.ASSIGNEDTASKSWORKQUEUE.DEALID =
    MOS.DEAL.DEALID
    AND MOS.PRIORITY.PRIORITYID <> 0
    AND MOS.PRIORITY.PRIORITYID =
    MOS.ASSIGNEDTASKSWORKQUEUE.PRIORITYID(+)
    AND MOS.ASSIGNEDTASKSWORKQUEUE.TASKSTATUSID
    (+) = 1 " ;
    For more information about JATO, including download information, pleasevisit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp

    Todd,
    Sorry for the delay with the answer, I've tried to obtain JATO 1.2
    and repeat the project migration to verify whether version 1.2 solves
    my problem or not (actually, it is a pilot sub-project).
    Unfortunately, I still have no 1.2 version.
    Let me try to answer on your question without getting the results
    with JATO 1.2. Your explanation sounds like version 1.2 is very close
    to solve the problem. Actually, our situation is easier because we
    have SELECT object only, not SELECT and UPDATE. For data integrity
    the only 'Select' ND's do(s) have been used through the whole
    project. The backend communication (update, delete) is provided via
    EJB like (entity) Java classes.
    My question is: could I define synthetic field with 1.1.1 version. By
    the way, word synthetic reflects the possibility to construct the
    field under certain SQL circumstances (SELECT, UPDATE, e.g.) or the
    possibility to construct a `fake' field (for example,
    CountColumn of a do) as well. If the later is true, could you please
    give a brief idea how to create this synthetic field.
    After the translation in the doPriorityCountModelImpl class we've
    got:
    public static final String COLUMN_DFPRIORITYDESC="";
    public static final String QUALIFIED_COLUMN_DFPRIO
    RITYDESC=".";
    public static final String COLUMN_DFPRIORITYCOUNT="";
    public static final String QUALIFIED_COLUMN_DFPRIO
    RITYCOUNT=".";
    (see my original post please with details, as well).
    If this is not a problem for 1.2 please do not waste your time to fix
    it for 1.1.1. I need to repeat my results with the version 1.2 anyway.
    We have a number of similar idioms through the project. In this
    particular case, the CountColumn that counts the field from another
    table may bring problem for manual adjustment (see my original
    notes). The whole SQL query is as follows (for this case):
    SELECT MIN(MOS.PRIORITY.PDESCRIPTION),
    COUNT(ASSIGNEDTASKSWORKQUEUE.PRIORITYID),
    MOS.PRIORITY.PRIORITYID
    FROM MOS.ASSIGNEDTASKSWORKQUEUE, MOS.PRIORITY, MOS.DEAL
    WHERE MOS.DEAL.SCENARIORECOMMENDED = 'Y'
    AND MOS.DEAL.COPYTYPE <> 'T'
    GROUP BY MOS.PRIORITY.PRIORITYID
    ORDER BY MOS.PRIORITY.PRIORITYID ASC
    During the pre-handler activity (it is the part of our Object
    Framework on the top of Netdynamics Object Framework) system passes
    id (and mos.deal.dealid = XXX) to the do (select query). After the
    run-time execution of this do the results are displayed on the screen
    bind to the repeatable statics.
    Thank you very much,
    Vladimir
    --- In iPlanet-JATO@y..., "Todd Fast" <Todd.Fast@S...> wrote:
    Vladimir--
    I'm going to answer this question without doing my full homework on it;
    please let me know if I hit the mark or not. If I understand correctly, you
    have a problem using a model for both UPDATE and SELECT queries because of a
    computed column...correct?
    If so, this issue is solved in JATO 1.2. 1.2 has an attribute in the field
    descriptor to indicate in which type of queries a field should be used. You
    can use this attribute to indicate that a field should only be used for
    UPDATE queries, SELECT queries, or whatever combination of query types you
    require. You can then define synthetic fields for use only during one of
    the query types.
    Does this sound useful in fixing your issue? A way around this in JATO 1.1
    would be to create separate models for SELECT and UPDATE queries. The
    SELECT model could contain all the fields for the joined query, but the
    UPDATE model would contain info for only one table. The 1.2 feature simple
    allows you to do the same using one model.
    Todd
    ----- Original Message -----
    From: "vivanov4114" <vivanov@b...>
    Sent: Friday, January 11, 2002 8:12 AM
    Subject: [iPlanet-JATO] More on ComputedColumn issue
    We have a similar problem with do's ComputedColumn after the
    translation as Kostas described in his detailed message #439.
    We have JATO/iMT version 1.1. Is the resolution of this problem
    added
    to the version 1.2 (or 1.2.1)?
    I've tried to adjust the ModelImpl class based on the .sdo file
    (using ComputedColumn attributes) for these fields and failed.
    Whether I missed something else, or our situation is a little bit
    different.
    In our case the dataObject has one Computed Field from one table and
    another Computed Field from another table along with joint between
    these two tables and third one, and, finally, the whole stuff is
    under the repeatable (with static fields bindings to these two
    computed fields).
    The modelImpl class after the translation (as in the #439) has the
    same values "" and "." for ..._NAME and QUALIFIED_..._NAME strings
    respectively (for each computed do's field).
    I guess that we could meet extra problem with this (for manual
    adjustment) because of there is no TableName attribute in .sdo file
    for computed field (as well as there is no ColumnName attribute for
    computed field). If ComputedColumn attribute (computed field) could
    play a role of ColumnName attribute (regular case), what would be an
    analog of TableName attribute for computed field?
    The bottom line of this is as follows: we have a same
    SQLException "Invalid Column Name"
    from ResultSetModelBase.updateModel() as Kostas described. It causes
    the problem for
    RequestHandlingTiledViewBase.executeAutoRetrieving() method that
    can't bind the proper Model.
    Finally, beginDisplay() method from
    pgXXXXPriorityCountTiledView.class throws exception and
    jasper compiler brings run-time error (Tomcat 3.2).
    Kostas, if this problem still exists for translation of such cases,
    could you please post a fragment that fixed you original problem in
    addition to the message #439 (just to be sure, that I haven't missed
    something important).
    Thank you very much in advance.
    Vladimir Ivanov,
    P. S. I've enclosed the excerption from the .sdo file for this
    dataObject below.
    Class "SQLObject" ;
    Name "doPriorityCount" ;
    DataFields {
    0 { // first df is a computed column from the first
    //table
    Class "DataField" ;
    Name "dfPriorityDesc" ;...........................................
    ComputedColumn "MIN
    (MOS.PRIORITY.PDESCRIPTION)" ;............................................
    1 { // second df is a computed column from the second
    // table
    Class "DataField" ;
    Name "dfPriorityCount" ;
    ComputedColumn "COUNT
    (ASSIGNEDTASKSWORKQUEUE.PRIORITYID)" ;
    2 { // third df is a regular df
    Class "DataField" ;
    Name "MOS_PRIORITY_PRIORITYID" ;
    TableName "MOS.PRIORITY" ; // this attribute
    // doesn't exist for ComputedColumn
    ColumnName "PRIORITYID" ; // this attribute
    // doesn't exist for ComputedColumn
    DataCachingEnabled "False" ;
    DataCachingDuration "0" ;
    DataCachingMaxRows "200" ;
    DataObjectType "Select" ;
    Tables "MOS.ASSIGNEDTASKSWORKQUEUE,MOS.PRIORITY,MOS.DEAL" ;
    SQLDistinct "False" ;
    SelectFilter {
    "MOS.DEAL.SCENARIORECOMMENDED" ;
    "=" ;
    "'Y'" ;
    "AND" ;
    "MOS.DEAL.COPYTYPE" ;
    "<>" ;
    "'T'" ;
    SelectOrder {
    "MOS.PRIORITY.PRIORITYID ASC" ;
    SelectGroup {
    "MOS.PRIORITY.PRIORITYID" ;
    EnableEntireTableDelete "False" ;
    EnableEntireTableUpdate "False" ;
    SQLTextOverrideSelect "Partial" ;
    SQLTextOverrideDelete "None" ;
    SQLTextSelectJoin "MOS.ASSIGNEDTASKSWORKQUEUE.DEALID =
    MOS.DEAL.DEALID
    AND MOS.PRIORITY.PRIORITYID <> 0
    AND MOS.PRIORITY.PRIORITYID =
    MOS.ASSIGNEDTASKSWORKQUEUE.PRIORITYID(+)
    AND
    MOS.ASSIGNEDTASKSWORKQUEUE.TASKSTATUSID
    (+) = 1 " ;
    For more information about JATO, including download information, please
    visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp

  • OBIEE 11g Calendar alignment issue

    Facts: OBIEE 11g - 11.1.5 on Windows 2003 server.
    There's an alignment issue going on with OBIEE calendar, wich happens only when the month is october. For all other months, the calendar is displayed properly. It does not depend on the year. You may change the year and select October, you'll get the error.
    You might see what happens on the link below.
    http://img210.imageshack.us/img210/7876/firefoxds.jpg
    This behavior may occur when using IE9 (both using compatibility mode or not), Mozila Firefox and Google Chrome.
    I've looked over Metalink and the forums and could not find any information about this error.
    Any tips?!
    Thanks!
    Marcos
    Edited by: BI_Creation on Dec 1, 2011 11:37 AM
    Edited by: BI_Creation on Dec 1, 2011 11:40 AM

    Hi there. Does anybody noticed this issue on calendars?! That only occurs when the month is october....
    Just updating, the correct version of OBIEE is 11.1.1.5.0.
    Thanks in advance.
    Marcos

  • Alignment issues in my smartform

    Hi Gurus,
    I am facing alignment issues in my smartform .
    My Output with LP01differs from that of Logica Printer LOCAL.Kindly throw some light on the same.
    Deepak

    Hello,
    Please check with the basis that FONT that you are using are installed in both the printers.
    This situation happens most when you have imported a new font into SAP system, as a printer is not configured for that Font output differs.
    Thanks,
    Jayant

  • SAP script printout alignment issue

    Hi Experts,
    I have facing one Script Printout Alignment issue.
    SAP Script Form printing some Values in Table format.
    While debugging( in debug mode ), I am getting the correct Alignment ( Proper table format with values ).
    But in printout the Alignment( The vertical and horizontal lines are not printed properly ) is not correct.
    Thanks in Advance.

    HI Glen Anthony,
    I am not using any printer details.
    from the Spol (SP01) I am checking the print priview.
    Success in debug mode but not in Print.
    Please suggest.
    Thanks

  • Alignment Issues between dreamweaver and browser

    Hi
    Hoping someone can help, i'm trying to learn how to make
    better sites with advanced tools like apDIV's but seem to be
    running into an alignment issue. When I make the html file in
    dreamweaver I seem to have to off set the images and div tags
    inorder for the site to show up aligned properly in firefox,
    explorer, etc. I'm thinking there might be a problem in the actual
    code causing this but am not good enough yet to find it or the
    problem, any ideas or guidence would be greatly accepted. below if
    the links work is the difference I see between dreamweaver and when
    its launched in a browser.
    DreamweaverScreen
    BrowserScreen

    > over a centered frame
    You are not using frames - that's a table.
    Yes - there's a way to do this, but it will involve your
    working in code.
    Make your page left aligned by removing any centering.
    Then position your layer so that it is properly located over
    the table.
    Change this -
    </head>
    to this -
    <style type="text/css">
    #wrapper { width:760px; margin:0 auto;position:relative; }
    /* 760px will display on an 800px screen maximized browser
    window without */
    /* horizontal scrollbars. */
    </style>
    </head>
    (you may need to adjust this width so that it's consistent
    with the width of
    your centering table)
    change this -
    <body ...>
    (the ellipsis represents any other attributes that might be
    mentioned in the
    body tag, and SHOULD NOT BE INCLUDED EXPLICITLY!)
    to this -
    <body ...>
    <div id="wrapper">
    and this -
    </body>
    to this -
    <!-- /wrapper -->
    </div>
    </body>
    and see if that helps.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Vinx21" <[email protected]> wrote in
    message
    news:ge9t3e$92s$[email protected]..
    > thanks for the help osgood, I see now what my problem is
    and am just
    > wondered
    > if there was a way to place the absolute layer over top,
    in the right
    > position,
    or will have i have to remake one of the elements a
    > different way???
    >
    > thanks again, dave
    >

  • Alignement issue when exporting to PDF

    Hello,
    I'm having some alignment issues when exporting an InDesign file to PDF.
    I have a couple of square pictures, touching eachother at the edges. These are aligned bang on in InDesign (the lines overlap), but when exporting to a PDF and viewing in there, it seems that some seem to jump up slightly.
    Is this just a display issue or a setting issue when exporting to PDF?
    Thanks
    Benny

    The detail is cropped too tight for me to tell how many photos are intersecting there. Is there a vertical intersection as well? If not, I think you're looking at a very slightly non-rectangular frame, if there is, then you might still be looking at a non-rectangular frame, or the frames are not perfectly aligned, which doesn't surprise me if you snapped to a guide -- I find that less than 100% reliable since CS6.
    Presuming that you've zoomed in to show us the problem, that's probably a single pixel misalignment and you'd be very hard pressed to see it in printed output without a loupe.
    You can check the bottom edge of the top photo, and the top edge of the bottom photo(s) for being out of horizontal by using the direct select tool to select the corner points and seeing if the y-coordinate is the same on both sides of the frame.
    My printer tell me to always overlap frames, rather than butting them, for trapping, for what that's worth, but I don't always do what he says, and I've never had a problem.

  • CS5 HDR pro two photos alignment issue

    Although I really enjoy the new tool, I'm having trouble aligning two photograph when I open then through the HDR pro tool.
    Why is alignment of two photos so bad in HDR pro and perfect if you align the two same photos as two layers? I've even tried reopening the same files over and over and get different results each time in HDR pro.
    In view of this, shouldn't there be a realign button in the slider adjustment screen, or options for alignment, such as Use the regular auto-align?
    Since alignment works fine with layers, is it possible to have an option to use layers as a starting point for HDR pro instead of opening saved photos only? I realize this probably might not give perfect results as just fixing the automatic alignment issue...
    But hey, I'm just trying to find a workflow around this if I didn't have my tripod with me at time of shoot... and I shot only two photos to composite.

    Hi Chris,
    thanks for looking into this matter. Where do you want me to send the files (over 50 megs zipped).. they're CR2 files...
    Date: Fri, 28 May 2010 14:38:51 -0600
    From: [email protected]
    To: [email protected]
    Subject: CS5 HDR pro two photos alignment issue
    Don't know what could be going wrong.  Can we get the files so we can try to reproduce the problem here at Adobe?
    >

  • Colour alignment issues with CP1515n

    I'm having some colour alignment issues with my Color Laserjet CP1515n.  Lately, I've noticed that the 3 colours go out of alignment from the middle towards the right of my printouts.  Alignment at the left towards the middle half of the page is ok but gets progressively worse towards the right side of the page. 
    Nothing in the user interface allows me to reset the colour alignment.  What can be the cause of this and what's the remedy?  This printer is slightly over a year old and has only just gone through its first set of toner cartridges.

    I am also having alignment issues to the same nature as the post below. I have just replaced the Black, Magenta and Cyan toners. After doing this the alignment goes out of register from left to right (left edge fits right edge all colours are out of fit by 2mm).
    I have also found nothing in any manuals as to how to adjust or fix this problem. This is the second time I have replaced these colours. I have re-calibrated and taken the cartridges out several times but it is still the same.
    Any advise would be helpful. As it is at the moment the printer is unusable for my job and it's the only one I have.

  • ALV Grid - Alignment Issues in TOP OF PAGE.

    Hi,
    We have a requirement to right align text in the report header.
    We are using REUSE ALV GRID DISPLAY, but using TOP-OF-PAGE event - the whole text is left aligned.
    I tried using Class CL_DD_DOCUMENT which solved the alignment issue, but I am not able to see the header while printing/downloading to excel.
    I want the header to be available while downloading/printing the list. Any suggestions?
    Thanks in advance,
    Harveen.

    Hi
    The ALV download only the grid into the file, so not the data you're writing in TOP_OF_PAGE event.
    If you need to do that, you should create an your own buttom to download the file.
    Max

  • Printing alignment issue

    Hi,
    I am using inDesign CS3 on Windows XP. On the computer screen, my layouts look exactly how I want them to. However, when I print my document, the alignments are not correct. In particular, the master page spread seems not to line up with marks that I have made on individual pages. How can I fix the alignment issue?
    The printer is a HP Laserjet 9000 dn -- an industrial strength behemoth.
    Thanks,
    Liat.

    The master page content seems to be off by a millimeter or so when I print.
    The "marks" I've drawn on the actual pages are lines and rectangles. These lines and rectangles are drawn so that they fit within certain areas of the master page content. When I print, the lines and rectangles are 1-2 millimeters off from where they are supposed to be with respect to the master.
    In particular, my master page contains a theater seating chart. On the individual pages themselves, I "highlight" a certain seats in the chart by drawing a gray rectangles over these seats. When I print, these rectangles are shifted 1 mm to the left, and no longer fully "cover" the seats they are supposed to, making my publication look a bit sloppy.
    Besides this 1-mm alignment issue between the master content and the content on individual pages, all other content is printing just fine.
    I do not think that this is an issue of the page position in the print dialog box, since that would make a drastic alignment problem, not one as small as I am getting.
    I thought about converting to PDF, but: I am printing my document as a booklet. I am working with 2-page spreads, each page being 8.5 by 5.5 inches. I have been using inDesign's "print booklet" function (2-up saddle stitch) to print my double-sided booklet. I have not yet figured out how to either (1) print PDFs as booklets or (2) export my inDesign document to PDF so that all the booklet-printing properties are preserved (i.e. page order, etc.), so that I can simply print the PDF normally.
    I think you're right that PDF might be the way to go, since usually PDF's talk to printers better than inDesign seems to.
    Thank you,
    Liat

  • WHY IS IT THAT THE OS UPDATE SCREWS UP THE Z10 MORE THAN RESOLVE ISSUES???????????

    WHY IS IT THAT THE OS UPDATE SCREWS UP THE Z10 MORE THAN RESOLVE ISSUES???????????

    Is there a question in there somewhere? reply with caps lock off please. :-)
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

Maybe you are looking for