Re-sizing problems

Hi there
I have finished my 1st website on Director, and now, having
put it onto the web i want to resize the page/movie from 1080 x
720px to a smaller proportionate size. I created the movie on a
large screen at work and it fits on the browser exactly how i want
it, but when i go onto my site on my personal computer and friends
computers i have a scroll bar at the side which is not what i want.
I have tried changing the size in publish settings,
(percentages and px size). When i do this all my graphics become
jagged.
Does anyone know any simple way of resizing the movie without
distorting my graphics?
you can see the page at:
www.olivercraigdesign.co.uk
to see the jagged edges etc
thank you
Ollie

There really is no good method for resizing any bitmap
information without changing the quality of the image. Scaling
bitmap information is a lossy process and so the success of the
result is largely dependent on the content of that bitmap and the
amount of the change in size.

Similar Messages

  • Q10 Screen Sizing Problem in Blackberry 10.3

    Has anyone else noticed that there seems to be a screen sizing problem in Blackberry 10.3.
    When you wake the screeen with a gesture or pull the handset from the Q10 pocket, the screen that it "wakes" up to is enlarged, requiring the user to use the finger gestures to shrink it down to regular size.
    Or have I just not mastered 10.3 yet?
    Rgds
    E.T.
    Solved!
    Go to Solution.

    Hi Folks,
    I've sussed this one out!
    It is not a problem with the screen resolution or the software update, I had within the accessibility settings the "Magnify Mode" enabled.
    Disable this and the screen behaves perfectly..........
    False Alarm. Sorry!
    Revert to Defcon 5...........   :-)

  • Line Sizing Problem

    I am running several reports to produce PDFs that have an interesting behavior. When I publish a report out to our reports server, text in a text box is showing up at or near the top of the box that contains it. This report output does not look very good. On my desktop environment, when I run the report it produces a PDF with no sizing issues.
    I have read in several places that this might be a postscipt printer issue. So, I switched the printer on the report server machine to a postscript printer but it did not fix the problem. The font that I am using is Arial as that is the standard font that the client uses. The report server is 6. Any recommendations are appreciated.
    Thanks,
    Greg

    Greg,
    This is probably that server is not using the printer fonts for formatting and uses the system fonts.
    Please ensure you use the same printer / similar driver for both the desktop and server to see the effect.
    Also, the server if you run as service, by default it runs in the system login and the defaukt printer wouldn't be accessible. Please go to the services properties and ensure the login account has admin privilages to access the printer
    Thanks
    The Oracle Reports Team

  • Compressor 2 Quicktime to iPod Sizing Problem

    Hello,
    As a podcaster, I have to convert regular quicktime files into iPod-compatible m4v format all the time. Usually I use Quicktime Pro to do this - its simple and I havent had any problems with it. But I'm looking for ways to reduce my file sizes, so I was looking into using Compressor for this.
    I used the new H.264 iPod video setting, but got an unsatifactory result that mystifies me:
    720x480 quicktime file, when converted via Quicktime Pro's iPod conversion, becomes 320x213 and looks fine.
    The same file, when run through Compressor's iPod setting, goes to 320x240, BUT it looks stretched vertically.
    Any ideas why this might be happening?
    Thanks,
    Simon

    Actually, 320x240 is the correct aspect ratio for playback on a computer display. NTSC TV is a 4:3 aspect ratio so the correct viewing format for your 720x480 clip is actually 640x480 (note that the latter is a 4:3 ratio). This confusion results from the fact that NTSC TV displays use rectangular pixels while computer display pixels are usually square. Thus, in order to get the correct aspect ratio during playback on a computer's square pixels you need to set the video to 640x480 or 320x240. However, if you plan on viewing the output on a NTSC TV then either 720x480 or 320x213 are acceptable since both of those will result in a 4:3 viewing ratio during full screen playback on the TV (the conversion happens "auto-magically" -- in effect -- since a standard definition TV has a 4:3 aspect ratio).
    Note further that the iPod video display is 320x240 (also 4:3) so I'd suspect that the best quality playback on the iPod would be obtained with a similar sized movie.

  • How to fix a DataGrid headercolumn's headerText causing sizing problems

    Hello,
    I have a datagrid with filter textboxes underneath the header columns.
    My problem is that some of the headerText is rather large (in 2 of my columns), and causes it to wrap and stretch the header's height, which ultimately causes the columns to match up strangely and not in uniform.
    Here is a screenshot of the problem:
    http://img685.imageshack.us/img685/2283/gridcolumnsizeproblem.png
    How can I make all column headings uniform in size, with my filtering text boxes? I do not see a height property. I have tried to add extra spaces in the smaller column headings but that does nothing as I think FLEX parses that out. Can I specifically size these so they match the longer ones?
    Keep in mind, this DataGrid uses a custom renderer.
    Here is my grid definition/MXML:
                <dataGridFilters:FilterDatagrid id="dg" width="100%" height="100%" rowCount="5" dataProvider="{deviceDataColl}" click="dg_clickHandler(event)" >
                    <dataGridFilters:columns>
                        <dataGridFilters:DataGridFilterColumn dataField="name" headerText="Name" width="150"/>
                        <!--<dataGridFilters:DataGridFilterColumn dataField="deviceType" headerText="Device Type" textAlign="right"/>-->
                        <dataGridFilters:DataGridFilterColumn dataField="tHeat"   headerText="Heat Point" width="75" textAlign="right"/>
                        <dataGridFilters:DataGridFilterColumn dataField="tCool" headerText="Cool Point" width="75" textAlign="right"/>
                        <dataGridFilters:DataGridFilterColumn dataField="tIndoor" headerText="Indoor Temp" width="80" textAlign="right"/>
                        <dataGridFilters:DataGridFilterColumn dataField="tOutdoor" headerText="Outdoor Temp" width="90" textAlign="right"/>
                        <dataGridFilters:DataGridFilterColumn dataField="insideHumidity" headerText="Indoor Humidity" width="100"  textAlign="right"/>
                        <dataGridFilters:DataGridFilterColumn dataField="currentFState" headerText="Fan State" width="75" textAlign="right"/>
                        <dataGridFilters:DataGridFilterColumn dataField="currentFMode" headerText="Fan Mode"  width="75" textAlign="right"/>
                        <dataGridFilters:DataGridFilterColumn dataField="currentTState" headerText="State" width="75" textAlign="right"/>
                        <dataGridFilters:DataGridFilterColumn dataField="currentTMode" headerText="Mode" width="75" textAlign="right"/>
                        <dataGridFilters:DataGridFilterColumn dataField="nextSchedCPTDate" headerWordWrap="false" headerText="Next Scheduled Control Point Transition Date" width="100" textAlign="right"/>
                        <!--<dataGridFilters:DataGridFilterColumn dataField="nextSchedCPTTime" headerText="Next Scheduled Control Point Transition Time" width="100" textAlign="right"/>-->
                        <dataGridFilters:DataGridFilterColumn dataField="nextSchedCPTTemp" headerWordWrap="false" headerText="Next Scheduled Control Point Transition Temp" width="100" textAlign="right"/>
                        <dataGridFilters:DataGridFilterColumn dataField="groupOne" headerText="Group 1" width="75" textAlign="right"/>
                        <dataGridFilters:DataGridFilterColumn dataField="groupTwo" headerText="Group 2" width="75" textAlign="right"/>                   
                    </dataGridFilters:columns>
                </dataGridFilters:FilterDatagrid>
    Any help is greatly appreciated!
    Thank you,
    Devtron

    Rootsounds,
    Here is my headerRenderer class:
    package filters.header
        import mx.controls.dataGridClasses.DataGridHeader;
        import mx.core.mx_internal;
        use namespace mx_internal;
        public class DataGridFilterHeader extends DataGridHeader
            public function DataGridFilterHeader()
                super();
             *re-position the sort icon
            override protected function placeSortArrow():void
                super.placeSortArrow();
                if(sortArrow)
                    var hh:Number = cachedHeaderHeight;
                    sortArrow.y = (hh - sortArrow.measuredHeight - 8) > 0 ? 10: 0;
                    if(sortArrow.visible)
                        var n:int = headerItems.length;
                        for (var i:int = 0; i < n; i++)
                            if(visibleColumns[i].colNum == dataGrid.sortIndex)
                                headerItems[i].setActualSize(visibleColumns[i].width - sortArrow.measuredWidth + 5, headerItems[i].height);
    Here is my dataGrid extender:
    package filters
        import filters.header.DataGridFilterHeader;
        import flash.events.Event;
        import mx.collections.ICollectionView;
        import mx.controls.DataGrid;
        import mx.controls.dataGridClasses.DataGridColumn;
        import mx.core.mx_internal;
        use namespace mx_internal;
        public class FilterDatagrid extends DataGrid
            public function FilterDatagrid()
                super();
                headerClass = DataGridFilterHeader;
                addEventListener("filterEvent",onFilterChange);
            override public function set dataProvider(value:Object):void
                if(dataProvider)
                    resetFiltres();
                super.dataProvider = value;
                resetFiltres(filterFunction);
            private function  onFilterChange(event:Event):void
                if(dataProvider)
                    (dataProvider as ICollectionView).refresh();
                selectedIndex = 0;
            private function resetFiltres(inFilterFunction:Function = null):void
                if(dataProvider)
                    (dataProvider as ICollectionView).filterFunction = inFilterFunction;
                    (dataProvider as ICollectionView).refresh();
                if(inFilterFunction == null)
                    var iLen:int= columnCount;
                    for(var i:int=0;i<iLen;i++)
                        var dgc:DataGridColumn = columns[i] as DataGridColumn;
                        if(dgc is DataGridFilterColumn)
                            DataGridFilterColumn(dgc).filterText = "";
                selectedIndex = 0;
            private function filterFunction(inObject:Object):Boolean
                var iLen:int= columnCount;
                for(var i:int=0;i<iLen;i++)
                    var dgc:DataGridColumn = columns[i] as DataGridColumn;
                    var dField:String = dgc.dataField;
                    if(dgc is DataGridFilterColumn == false)
                        continue;
                    var srchStr:String =  DataGridFilterColumn(dgc).filterText;
                    if(srchStr == "")
                        continue;
                    var dataStr:String = dgc.itemToLabel(inObject);
                    var regex:RegExp = new RegExp("^"+srchStr, "i");
                    // if search string exists and
                    // does not match the data in the row
                    if(regex.exec(dataStr)==null)
                        return false;
                return true;
    If all this wrapper class stuff "Extends" the DataGrid, why wouldnt "headerHeight" be available as an attribute in my MXML/grid? When I try to set it explicitly in my dataGrid MXML, the compiler says "Cannot resolve attribute 'headerHeight'". I guess this doesnt really "extend" it? Im confused.

  • Acrobat Pro 9 TextBox Text Sizing problems

    I have recently installed Pro9 in my computer, previously I had Ver 6.
    Before Adobe Acrobat Pro 9, I could insert a TextBox in any PDF file and format the text right on the spot (i.e. size, color, style).
    Now with the new Pro 9, I can not edit the TextBox font. In order to change it I have to go another application and then do the changes there, then cut and paste into the PDF TextBox.
    Is anyone else having this problem or is just my application? do you have any suggestions?
    Thanks

    Hi ,
    This seems to be an issue specific to the file you are using . Does it happen for any file with tables ?
    If possible can you please share the file converting which you encountered such behavior . Please also mention your OS ,version of Acrobat and MSOffice version .
    Thanks,
    Apoorv

  • AS2 component sizing problem

    I experiencing a problem with the AS2 (V2) components named
    Datagrid and List. Is there a way to resize the using actionscript
    just to display more datas instead of scaling or stretching to the
    new size but still displaying the same amount of visible data.
    See? when change their size in action script, they scale or
    stretch, but I want to them to keep their aspect and offer to view
    more items at once.
    Any help will be appreciated

    Don't use _width or _height to change the size if that's what
    you're doing.
    myGrid.setSize(width, height);
    as an example if your Datagrid is called myGrid.

  • Sizing problem in JEditorPane

    I am tryying to set the size of JEditorPane using setSize(int w, int h) method, but it isn' working. The pane is rendered as just about a single character height even though I have given higher values (about 500) for height. Any idea what could be wrong?

    Hi,
    Refer these links:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2016a0b1-1780-2b10-97bd-be3ac62214c7
    /people/boris.zarske/blog/2007/06/13/sizing-a-system-for-the-system-landscape-directory-of-sap-netweaver
    /people/william.li/blog/2008/03/07/step-by-step-guide-in-processing-high-volume-messages-using-pi-71s-message-packaging
    http://help.sap.com/saphelp_nwpi71/helpdata/en/46/79e8e13872275ae10000000a11466f/frameset.htm
    Regards,
    Nithiyanandam

  • IPhoto Printing - sizing problems

    After many hours of frustration I am about to give up on iPhoto 7.1 printing. The Print Settings dialog does not match the choices of settings or paper sizes of my printer. I enter a custom size [tedious to have to do when it is a standard photo paper size such as "L"], enter, then when I add a border the paper size reverts to A4. If I don't add a border or otherwise customize the picture, then go to "print" on checking the advanced print options the paper size does not match that set in the "Print Settings" dialog. Even if the preview looks right the print size does not match. I called into my local Apple store and tried this at the Genius Bar - they found the same issue on their Mac and after an hour of head scratching they could not figure it out. Any thoughts? This should be dead easy - I am back to adding borders in PS and printing from Aperture; not what I want to do for snapshots.

    Daniel:
    Welcome to the Apple Discussions. Can you provide a little more info regarding the paper sizes available, printer type, etc. Not familiar with paper size "\L\". What language is you Mac set up for? What sizes are you trying to print? Are you cropping the images to the paper size selected beforehand?
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • JDialog sizing problems

    First of all, just let me say I have read everything there is available on layout managers and how pack() and validate() work.
    My problem is simply that my JDialog appears far longer than its components, and I can't see why.
    I've created screenshots of the desired appearance and the actual appearance:
    http://www.komododave.co.uk/gallery/main.php?g2_itemId=167
    The first 'undesired' screenshot shows what the JDialog looks like upon instantiation. The second shows what it looks like once you manually shrink it in the Y direction by more than about 10 pixels.
    I don't understand how the maximum size can exceed the Dimension I set with 'dialog.setMaximumSize(...', since I'm using BoxLayout for the JDialog and that respects a given maximum size.
    The constructor creating the JDialog is shown here:
              public AbstractSelectionDialog(Vector<String> argVector, String title,
                        String message) {
                   Vector<String> vector = argVector;
                   // create new modal JDialog
                   final JDialog dialog = new JDialog(Silk.getFrame(), title, true);
                   // set boxlayout for dialog frame
                   dialog.getContentPane().setLayout(new BoxLayout(dialog.getContentPane(),
                             BoxLayout.Y_AXIS));
                   // set default close operation
                   dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
                   // create ButtonGroup to enforce exclusive collection choice
                   final ButtonGroup buttonGroup = new ButtonGroup();
                   // initialise other components
                   // use fake space for label rather than use another HorizontalGlue
                   JLabel label = new JLabel("   " + message);
                   // panel containing collection selection
                   JPanel selectionPanel = new JPanel();
                   // run initialiser methods
                   JPanel buttonPanel = (JPanel) createButtons(buttonGroup, dialog);
                   AbstractButton selection[] = createSelection(vector, buttonGroup,
                             selectionPanel);
                   // scrollPane containing collection panel
                   JScrollPane scrollPane = new JScrollPane(selectionPanel,
                             JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
                             JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
                   // panel containing scroll pane
                   JPanel scrollPanel = new JPanel();
                   scrollPanel.setLayout(new BoxLayout(scrollPanel, BoxLayout.X_AXIS));
                   selectionPanel.setLayout(new GridLayout(vector.size(), 1));
                   // assemble component structure
                   scrollPanel.add(Box.createHorizontalGlue());
                   scrollPanel.add(scrollPane);
                   scrollPanel.add(Box.createHorizontalGlue());
                   dialog.add(label);
                   dialog.add(scrollPanel);
                   dialog.add(buttonPanel);
                   // set all components to be left-justified
                   label.setAlignmentX(0.0F);
                   scrollPanel.setAlignmentX(0.0F);
                   selectionPanel.setAlignmentX(0.0F);
                   buttonPanel.setAlignmentX(0.0F);
                   // set higher-level component sizes
                   Silk.setSizeAttributes(label, 300, 30, true);
                   selectionPanel.setMaximumSize(new Dimension(250, 400));
                   scrollPane.setMinimumSize(new Dimension(250, 50));
                   scrollPane.setMaximumSize(new Dimension(250, 400));
                   dialog.setMinimumSize(new Dimension(300, 200));
                   dialog.setMaximumSize(new Dimension(300, 500));
                   dialog.pack();
                   // set components to be opaque
                   label.setOpaque(true);
                   scrollPane.setOpaque(true);
                   selectionPanel.setOpaque(true);
                   // display dialog frame
                   //dialog.setResizable(false);
                   dialog.setVisible(true);
              }The 'createButtons' method it uses is here:
         public JPanel createButtons(ButtonGroup bg, JDialog jd) {
                   final ButtonGroup buttonGroup = bg;
                   final JDialog dialog = jd;
                   // confirmation buttons
                   JButton okBtn = new JButton();
                   JButton cancelBtn = new JButton();
                   JButton newBtn = new JButton();
                   // panel containing OK and CANCEL buttons
                   JPanel bothPanel = new JPanel();
                   // panel containing NEW COLLECTION button
                   JPanel newPanel = new JPanel();
                   // panel to contain all other button panels
                   JPanel confPanel = new JPanel();
                   confPanel.setLayout(new BoxLayout(confPanel, BoxLayout.X_AXIS));
                   newPanel.setLayout(new BoxLayout(newPanel, BoxLayout.X_AXIS));
                   bothPanel.setLayout(new BoxLayout(bothPanel, BoxLayout.Y_AXIS));
                   // definition of button Actions
                   okBtn.setAction(new AbstractAction() {
                        public void actionPerformed(ActionEvent ae) {
                             Actions.addScript(buttonGroup.getSelection()
                                       .getActionCommand(), null);
                             dialog.dispose();
                   cancelBtn.setAction(new AbstractAction() {
                        public void actionPerformed(ActionEvent ae) {
                             dialog.dispose();
                   newBtn.setAction(new AbstractAction() {
                        public void actionPerformed(ActionEvent ae) {
                             dialog.dispose();
                             new Actions.NewCollectionAction().actionPerformed(ae);
                             new Actions.NewScriptAction().actionPerformed(ae);
                   // override action-set button text
                   okBtn.setText("Ok");
                   cancelBtn.setText("Cancel");
                   newBtn.setText("Add New Collection");
                   // set button sizes
                   Silk.setSizeAttributes(okBtn, 115, 30, true);
                   Silk.setSizeAttributes(cancelBtn, 115, 30, true);
                   Silk.setSizeAttributes(newBtn, 250, 35, true);
                   // set opaque buttons
                   confPanel.setOpaque(true);
                   okBtn.setOpaque(true);
                   cancelBtn.setOpaque(true);
                   // assemble components
                   confPanel.add(Box.createHorizontalGlue());
                   confPanel.add(okBtn);
                   confPanel.add(Box.createRigidArea(new Dimension(20, 0)));
                   confPanel.add(cancelBtn);
                   confPanel.add(Box.createHorizontalGlue());
                   newPanel.add(Box.createHorizontalGlue());
                   newPanel.add(newBtn);
                   newPanel.add(Box.createHorizontalGlue());
                   bothPanel.add(Box.createRigidArea(new Dimension(0, 10)));
                   bothPanel.add(confPanel);
                   bothPanel.add(Box.createRigidArea(new Dimension(0, 5)));
                   bothPanel.add(newPanel);
                   bothPanel.add(Box.createRigidArea(new Dimension(0, 10)));
                   bothPanel.setMaximumSize(new Dimension(300, 100));
                   return bothPanel;
              }And the createSelection() method it uses is defined here:
         public AbstractButton[] createSelection(Vector<String> argVector,
                        ButtonGroup buttonGroup, JPanel selectionPanel) {
                   Vector<String> vector = argVector;
                   JRadioButton selection[] = new JRadioButton[vector.size()];
                   for (int i = 0; i < vector.size(); i++)
                        selection[i] = new JRadioButton(vector.get(i));
                   AbstractButton current;
                   for (byte i = 0; i < selection.length; i++) {
                        current = selection;
                        // set action command string to later identify button that's
                        // selected
                        current.setActionCommand(vector.get(i));
                        // fix button's size
                        Silk.setSizeAttributes(current, 250, 30, true);
                        // set button's colour
                        current.setBackground(Color.WHITE);
                        // add button to buttongroup
                        buttonGroup.add(current);
                        // add button to appropriate JPanel
                        selectionPanel.add(current);
                   // ensure one button is selected to prevent pressing OK with no
                   // selection
                   selection[0].setSelected(true);
                   return selection;
    Please help if you can.
    Thank you.
    - Dave

    Yeah sorry camickr, I need to get into the habit of posting SSCCEs.
    Here it is in SSCCE form:
    import java.awt.Color;
    import java.awt.Component;
    import java.awt.Dimension;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import javax.swing.AbstractAction;
    import javax.swing.AbstractButton;
    import javax.swing.Box;
    import javax.swing.BoxLayout;
    import javax.swing.ButtonGroup;
    import javax.swing.JButton;
    import javax.swing.JDialog;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JRadioButton;
    import javax.swing.JScrollPane;
    import java.util.Vector;
    public class Testing {
         // prevent instantiation
         private Testing() {
         public interface SelectionDialog {
              // produces a component containing all dialog buttons
              public Component createButtons(ButtonGroup bg, JDialog jd);
              // produces an array of the selection buttons to be used
              public abstract AbstractButton[] createSelection(
                        Vector<String> selectionVector, ButtonGroup buttonGroup,
                        JPanel selectionPanel);
         abstract static class AbstractSelectionDialog implements SelectionDialog {
              public AbstractSelectionDialog() {
                   Vector<String> vector = new Vector<String>();
                   String title = "Broken dialog box";
                   String message = "Why is the maximum size exceedable, hmm?";
                   /* for sscce */
                   vector.add("choice 1");
                   vector.add("choice 2");
                   vector.add("choice 3");
                   vector.add("choice 4");
                   vector.add("choice 5");
                   vector.add("choice 6");
                   vector.add("choice 7");
                   vector.add("choice 8");
                   vector.add("choice 9");
                   vector.add("choice 10");
                   vector.add("choice 11");
                   vector.add("choice 12");
                   vector.add("choice 13");
                   vector.add("choice 14");
                   vector.add("choice 15");
                   vector.add("choice 16");
                   vector.add("choice 17");
                   vector.add("choice 18");
                   // create new modal JDialog
                   final JDialog dialog = new JDialog(Silk.getFrame(), title, true);
                   // set boxlayout for dialog frame
                   dialog.getContentPane().setLayout(new BoxLayout(dialog.getContentPane(),
                             BoxLayout.Y_AXIS));
                   // set default close operation
                   dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
                   // create ButtonGroup to enforce exclusive collection choice
                   final ButtonGroup buttonGroup = new ButtonGroup();
                   // initialise other components
                   // use fake space for label rather than use another HorizontalGlue
                   JLabel label = new JLabel("   " + message);
                   // panel containing collection selection
                   JPanel selectionPanel = new JPanel();
                   // run initialiser methods
                   JPanel buttonPanel = (JPanel) createButtons(buttonGroup, dialog);
                   AbstractButton selection[] = createSelection(vector, buttonGroup,
                             selectionPanel);
                   // scrollPane containing collection panel
                   JScrollPane scrollPane = new JScrollPane(selectionPanel,
                             JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
                             JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
                   // panel containing scroll pane
                   JPanel scrollPanel = new JPanel();
                   scrollPanel.setLayout(new BoxLayout(scrollPanel, BoxLayout.X_AXIS));
                   selectionPanel.setLayout(new GridLayout(vector.size(), 1));
                   // assemble component structure
                   scrollPanel.add(Box.createHorizontalGlue());
                   scrollPanel.add(scrollPane);
                   scrollPanel.add(Box.createHorizontalGlue());
                   dialog.add(label);
                   dialog.add(scrollPanel);
                   dialog.add(buttonPanel);
                   // set all components to be left-justified
                   label.setAlignmentX(0.0F);
                   scrollPanel.setAlignmentX(0.0F);
                   selectionPanel.setAlignmentX(0.0F);
                   buttonPanel.setAlignmentX(0.0F);
                   // set higher-level component sizes
                   Silk.setSizeAttributes(label, 300, 30, true);
                   selectionPanel.setMaximumSize(new Dimension(250, 400));
                   scrollPane.setMinimumSize(new Dimension(250, 50));
                   scrollPane.setMaximumSize(new Dimension(250, 400));
                   dialog.setMinimumSize(new Dimension(300, 200));
                   dialog.setMaximumSize(new Dimension(300, 500));
                   dialog.pack();
                   // set components to be opaque
                   label.setOpaque(true);
                   scrollPane.setOpaque(true);
                   selectionPanel.setOpaque(true);
                   // display dialog frame
                   // dialog.setResizable(false);
                   dialog.setVisible(true);
         protected static class ChooseCollectionDialog extends
                   AbstractSelectionDialog implements SelectionDialog {
              public ChooseCollectionDialog() {
                   super();
              public JPanel createButtons(ButtonGroup bg, JDialog jd) {
                   final ButtonGroup buttonGroup = bg;
                   final JDialog dialog = jd;
                   // confirmation buttons
                   JButton okBtn = new JButton();
                   JButton cancelBtn = new JButton();
                   JButton newBtn = new JButton();
                   // panel containing OK and CANCEL buttons
                   JPanel bothPanel = new JPanel();
                   // panel containing NEW COLLECTION button
                   JPanel newPanel = new JPanel();
                   // panel to contain all other button panels
                   JPanel confPanel = new JPanel();
                   confPanel.setLayout(new BoxLayout(confPanel, BoxLayout.X_AXIS));
                   newPanel.setLayout(new BoxLayout(newPanel, BoxLayout.X_AXIS));
                   bothPanel.setLayout(new BoxLayout(bothPanel, BoxLayout.Y_AXIS));
                   // definition of button Actions
                   okBtn.setAction(new AbstractAction() {
                        public void actionPerformed(ActionEvent ae) {
                             dialog.dispose();
                   cancelBtn.setAction(new AbstractAction() {
                        public void actionPerformed(ActionEvent ae) {
                             dialog.dispose();
                   newBtn.setAction(new AbstractAction() {
                        public void actionPerformed(ActionEvent ae) {
                   // override action-set button text
                   okBtn.setText("Ok");
                   cancelBtn.setText("Cancel");
                   newBtn.setText("Add New Collection");
                   // set button sizes
                   Silk.setSizeAttributes(okBtn, 115, 30, true);
                   Silk.setSizeAttributes(cancelBtn, 115, 30, true);
                   Silk.setSizeAttributes(newBtn, 250, 30, true);
                   // set opaque buttons
                   confPanel.setOpaque(true);
                   okBtn.setOpaque(true);
                   cancelBtn.setOpaque(true);
                   // assemble components
                   confPanel.add(Box.createHorizontalGlue());
                   confPanel.add(okBtn);
                   confPanel.add(Box.createRigidArea(new Dimension(20, 0)));
                   confPanel.add(cancelBtn);
                   confPanel.add(Box.createHorizontalGlue());
                   newPanel.add(Box.createHorizontalGlue());
                   newPanel.add(newBtn);
                   newPanel.add(Box.createHorizontalGlue());
                   bothPanel.add(Box.createRigidArea(new Dimension(0, 10)));
                   bothPanel.add(confPanel);
                   bothPanel.add(Box.createRigidArea(new Dimension(0, 5)));
                   bothPanel.add(newPanel);
                   bothPanel.add(Box.createRigidArea(new Dimension(0, 10)));
                   bothPanel.setMaximumSize(new Dimension(300, 100));
                   return bothPanel;
              public AbstractButton[] createSelection(Vector<String> argVector,
                        ButtonGroup buttonGroup, JPanel selectionPanel) {
                   Vector<String> vector = argVector;
                   JRadioButton selection[] = new JRadioButton[vector.size()];
                   for (int i = 0; i < vector.size(); i++)
                        selection[i] = new JRadioButton(vector.get(i));
                   AbstractButton current;
                   for (byte i = 0; i < selection.length; i++) {
                        current = selection;
                        // set action command string to later identify button that's
                        // selected
                        current.setActionCommand(vector.get(i));
                        // fix button's size
                        Silk.setSizeAttributes(current, 250, 30, true);
                        // set button's colour
                        current.setBackground(Color.WHITE);
                        // add button to buttongroup
                        buttonGroup.add(current);
                        // add button to appropriate JPanel
                        selectionPanel.add(current);
                   // ensure one button is selected to prevent pressing OK with no
                   // selection
                   selection[0].setSelected(true);
                   return selection;
         public static void main(String args[]) {
              javax.swing.SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        new ChooseCollectionDialog();
    I considered that the GridLayout might be a problem, but surely the fact that it's ultimately contained in a BoxLayout (which [i]does respect maximum size) means the maximum size still shouldn't be exceedable?
    Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Photoshop to illustrator sizing problem

    Hello All,
    This should be fairly simple, but I haven't had this problem before. I have a photo that I need to increase the size of the canvass and add a black vignette around,  then update this file in illustrator where it is placed. Every time I change the canvas size in photoshop and update in illustrator the photoshop image shrinks instead of getting bigger  (I have not changed the dpi or anything else except the canvas size). I've adjusted many images in photoshop and brought them into illustrator with no problem.  This is very strange....anyone have any ideas?
    Thanks!
    H

    You can scale an image to whatever size you want in Illustrator. If you take an 8x10 image and scale it down 50%, no matter what you do with the image in photoshop, the graphic element in illustrator will stay as a 4x5 dimension. It's not often one would want the parameters they have designed in one piece of software to be affected by what they do to the elements in another piece of software!
    Instead of simply updating the link to the image that is already placed in illustrator, you should place the image again (File-Place), and it will come in at 100% of it's (new) size,  same as any other image.

  • Sizing problems on export

    I am new to editing so I am probably doing something really wrong, and I need some help.
    I am editing in FCE and my sequence preset is set to DV NTSC 32 kHz Anamorphic. I'm exporting using QuickTimeConversion H.264 and the size is set to NTSC 720x480 16:9. The final export looks perfect when I view it on my desktop.
    I then upload the file to my server, and type in the direct path, which is here:
    http://www.landonsea.com/download/Visa_China3.mov and when I view the video at the link above, it looks perfect on my end.
    Problem: When other people view the video, the aspect ratio is different for them. Everyone else seems to see it much narrower then I am seeing it. Thus squishing the logo that is on the title screen.
    Is this because I'm just uploading the .mov straight to the web? What better way would there be to post my videos after exporting for clients to view?
    Problem #2: The size of the video after I export seems to be different then 720480. It's more like 854x457. Why is this?

    I just realized something - The size as to which people are viewing the video is correct (720x480). But when I view the video, it's at 854x457. Why would this be???

  • ITunes Window Re-Sizing Problem!!

    Just curious if anyone can help out...
    So I recently made the switch from an iMac to a MacBook Pro and transferred all my files/setting/etc. from the iMac to the laptop...
    Only problem is with iTunes!! When I open up the program the window seems to be formatted for my 24" iMac and I can't resize it since the lower right corner (where I'd normally use to re-size) is off the screen!!
    Any suggestions or help is greatly appreciated! Thanks!

    Figured it out...
    If anyone is wondering...hold down the 'Option' key and click on the Green button...it automatically optimizes the window sizes.

  • PGA target sizing problems

    Hi,
    there is somithing strange at mt pga size,
    when im quering the select from v$parameter where name like '%pga%'*
    it results that the size is 2528M
    but when i SELECT FROM V$PGASTAT;* the aggregate PGA target parameter value is *23552M*
    aggregate PGA target parameter     24696061952*
    aggregate PGA auto target     22027751424*
    global memory bound     1073741824*
    total PGA inuse     264313856*
    total PGA allocated     549178368*
    maximum PGA allocated     11695941632*
    total freeable PGA memory     152305664*
    process count     112*
    max processes count     151*
    PGA memory freed back to OS     1762389131264*
    total PGA used for auto workareas     42818560*
    maximum PGA used for auto workareas     8992131072*
    total PGA used for manual workareas     0*
    maximum PGA used for manual workareas     10506240*
    over allocation count     0*
    bytes processed     251448016746496*
    extra bytes read/written     832811437056*
    cache hit percentage     99.66*
    recompute count (total)     927028*
    i changed the pga_aggregate_target using alter system ... scope=both; but nothing changed.
    what can be the problem?? is there anything like flush pga?
    My oracle version:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    "CORE     11.1.0.7.0     Production"
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    memory_max_target=55G
    memory_target=45G
    sga_target=0
    sga_max_size=55G
    pga_aggregate_target=2528M

    Hi,
    Refer to the follow link:
    http://www.oracle-base.com/articles/11g/AutomaticMemoryManagement_11gR1.php
    The SGA and PGA parameters will thus act as minimum buffer sizes within AMM (same as db_buffer_cache, shared_pool_size, large_pool_size and java_pool_size in 10g with ASMM).
    Regards,
    Thierry
    Edited by: Urgent-IT on Jan 10, 2011 1:16 PM

  • Export version : sizing problems

    For sending print files to a lab, I usually click "Export Version" and set the dimensions in cm and at 300dpi. I then have a couple of photoshop actions to create a border & keyline.
    Recently, since Aperture 2, these actions havn't been working.
    This is because, although the versions are supposed to export at 300 dpi, when opened in Photoshop they actually show 72dpi. (they do have the correct number of pixels).
    Similarly, if I open them in Preview, and try to print, it thinks the dimensions are enormous, because it is set to 72dpi.
    I've tried creating a new export size, but it still always does 72dpi.
    has anyone experienced this problem yet?
    It's just a bit of a bore to have to write new photoshop actions because of this glitch.
    adrian

    I just realized something - The size as to which people are viewing the video is correct (720x480). But when I view the video, it's at 854x457. Why would this be???

  • Loadmovie sizing problems

    when I cal the swf's I place them into a movie clip that's
    the same size (pixel X pixel) as the blank movie clip I'm using.
    When they get called into the clip though, they go full size,
    it's rather strange. I need to know how to keep them at their
    original size, or to get them to stay to the size of the blank
    movie clip. Either way's fine, as the swf's I need to load and the
    blank clip are same size.
    Any help would be sweet....

    DavidG21 wrote:
    how come when i set up a title in live type using the animated live fonts, the size comes out too small (and different from how i set it in live type) when its fully rendered and in my movie?
    You're doing something wrong at the import stage.
    If you have not altered the default project and rendering settings in LT, the movie will be normal sized and using the Animation codec.
    You do not need to render the movie in LT, try importing the .ipr project file directly to your timeline. If it's still the wrong size, you deliberately have changed your default project size. Put it back how it's supposed to be. See the manual, it's complicated.
    bogiesan

Maybe you are looking for

  • Hp LaserJet P3015 randomly miss prints random letters.

    Hi I wonk as a It technician in a College environment. We have a computer lab with 40 Dell OptiPlex 390's connected via a local area network to a Hp Laser Jet P3015. The students have to use a water mark during exams as a way to identify on witch com

  • Color Mgmt problem - changed behaviour CS3

    My (two) monitors are calibrated using Monaco calibrator. This seemed to work fine - when I boot up you can see the monitor calibration get applied to each, they then look different from uncalibrated 'before'appearance but now nicely matched. PS CS3

  • Providing F4 help for the same field on selection screen

    Hello Experts, My requirement is : There are 2 radio buttons and a parameter "p_file" on my selection scree. 1. rb_appl 2. rb_pres If the radio button rb_appl = 'X', I need to place the logic of F4 help of application server for the field p_file. Els

  • 'Track Size' in Behaviors Tab

    Hey guys, I just installed FCS2, and I've been reading up on some of the tracking procedures. In the behaviors tab after adding 'Analyze Motion' to my source footage, I don't have the 'Track Size' parameter. In video tutorials, I've found it directly

  • Customize Error Message Page - Oracle Portal

    Hi, Please how i can customize Error Message Page ? or just the page not found ? tks carlo