Resize a container size at runtime in WD ABAP
Hi all,
I have some queries in WD ABAP.
1) If I want to resize(stretch) a container at runtime is there any GUI element or something else to do so.
2) Also when I hit enter at runtime how to handle this even.
Please suggest.
Thanks
Sanket sethi
Hi Sanket
If I want to resize(stretch) a container at runtime is there any GUI element or something else to do so
There is no such UI element which can stretch the container. But you can set the width and height property of the container with two string type attribute and in some event handler, just set the value in these attribute according to the size you want.
Every Input field has ONENTER event, just write the code in that method.
I hope it helps.
Regards
Arjun
Edited by: Arjun on Jan 22, 2009 11:57 AM
Similar Messages
-
Is there a plug in to resize the canvas size in Illustrator CS6? Not the artboard, the canvas size
Reckon that’s what he must mean
Are you sure, Steve?
Kurt may agree. -
Increasing JVM memory size at runtime
I want to increase the JVM memory size at runtime.
I found out that I can do this with oracle.aurora.vm.OracleRuntime.setMaxMemorySize(...)
Which JAR do I have to put on the classpath to be able to acces OracleRuntime???
What would be the proper implementation to incerase the memory size?aurora.zip
-
How to force a responsive Edge animation to re-evaluate its container size?
I have an Edge animation stage embedded in a relatively complex page, inside a container div whose width is set by media queries and which may or may not be faded out by $.fadeOut. I've figured out how to trigger playback, but the stage doesn't seem to be updating its estimate of the container's width regularly. Specifically, the stage will scale itself to its min-width (disappearing if there is no min-width) and get stuck there in a specific case when the container's container has been hidden then shown again. And even when the stage is visible and on screen, if I make the browser thinner then wider, it seems to scale itself down but never back up. These weird problems would both be explained if the stage wasn't consistently re-evaluating how large its container was.
In that case - is there a way to force the stage to re-evaluate its container size using Javascript? Wasn't able to find anything in the documentation about this.
Thanks!Hi, Chi-
Funny you should mention this... I actually just posted a blog post about something very similar.
https://blogs.adobe.com/edge/2013/09/05/floral-matchmaker-tutorial-3-hiding-and-showing-th e-game-board/
You can put your responsive div in an iframe set to a certain % of your main page.
-Elaine -
How do I stop text from resizing to the size of the browser window
Hello there,
I am using a DW CS3 template that has a sidebar div and a
main content div - the text in the main content div keeps resizing
to the size of the browser window - I don't want the text to resize
if I make the browser window smaller - I want it to remain the
same. I am trying to float the text right and input a width but
this is not working for me. What am I doing wrong?
HELP!
Many thanks!>>What am I doing wrong?
Not giving us a link to the uploaded page so we can see the
page, how it
behaves and the actual code.
Until we see that you are unlikely to get a definitive
answer. The problem
is unlikely as you state it because text itself is never
dependant on the
browser viewport size.
Walt
"Fun Leprechaun" <[email protected]> wrote
in message
news:g9f7rq$ie4$[email protected]..
> Hello there,
>
> I am using a DW CS3 template that has a sidebar div and
a main content
> div -
> the text in the main content div keeps resizing to the
size of the browser
> window - I don't want the text to resize if I make the
browser window
> smaller -
> I want it to remain the same. I am trying to float the
text right and
> input a
> width but this is not working for me. What am I doing
wrong?
>
> HELP!
>
> Many thanks!
> -
Increasing the Frame size at runtime
hi
Iam using a JFrame and i have two JPanel on it.Iam getting the input from the user through the controls which is placed on the panel.I have two buttons namely "Calculate" and "Clear" on the Frame.When the user presses the "Calculate" button Iam doing some calculations based on the input given by the user and i want to display the output of the calculations on the bottom of the Frame by increasing the Frame size at runtime.How can i do it?.Suggest me also about the Layout to be used.
thanksIn the frame i want the controls to appear as
Panel1
Panel2
Button1 Button2 Button3
When i use BorderLayout for the Frame it appears as
Panel1
Button1 Panel2 Button2
Button3
Note:Iam using NetBeans IDE for developing the GUI.I do not know which property of
the controls to be changed so as to place the controls in NORTH,SOUTH etc
can u suggest me some other Layout so that my Frame will appear as mentioned above.I looked into the Layout Manager but iam not getting much ideas in this regard.Please help me... -
Data package/container size
We are using MI and I have a little question about data packages sizes and container sizes.
If I use data packaging and the size very small, I read at help.sap.com that MI is sending 20 containers.
But how much data is sent by MI. What is the size of 1 container?
I ask this question because we have a little problem with the sizes of the data packages/containers.
So the major question is: What is the size of a container which is sent from MI to the Middleware (SAP WAS)?
How can I see the data I sent from MI to the middleware (SAP WAS) and how can I see if the packages are full ore not.
I hope someone can help me. Thanks in advance.
Kind regards,
Bart ElshoutHi Thomas,
Do you know anything about a "Fragment Bit" which is set with sending data from SAP MI client to SAP WAS (middleware)?
The data is sent with a "Don't fragment bit" and one of our switches/routers or something in the network has to fragment our data, but the bit is set. So the MI client receives an error message (Unexpected end of file from server).
We want to set something in the SAP MI client which sais this datapacket may be fragmented so it can pass the network switches/routers/etc.
Can someone help us with this problem?
Thanks in advance and kind regards,
Bart Elshout -
Increasing user's JVM size at runtime, applet
hi guys
i need to increase the user's JVM heap size at runtime in my applet. dont worry this is an internal work thing so security issues with modifying JVM need not be considered.
what is the best way to achieve this? as soon as the applet is opened i want the JVM heap to increase and then continue with my processing.
thanks in advance!i need to increase the user's JVM heap size at
runtime in my applet.
as soon as the
applet is opened i want the JVM heap to increase and
then continue with my processing.You seem to be aware that this can be done statically using the
Java control panel. Your applet or any kind of Java application cannot
do this after it has been started. If you tell us why you want to do this
and why the static solution isn't good, perhaps someone can
propose a better way of achieving your goals. -
Ur temprory tablespace full . how u resize or increase size of file .
ur temprory tablespace full . how u resize or increase size of file .u have no more space .how u slove
Answers in your duplicated thread: Some inter view Questions Please give prefect answer help me
You can get all the answers at http://tahiti.oracle.com.
You understimate job recruiters, a simple crosscheck is enough to discard people with experience from people who memorize 'interview answers'.
Don't expect to get a job just because you memorize answers for 'job interviews', get real life experience. -
** Not able to access Runtime Constants in ABAP XSL
Hi friends,
We have written one ABAP XSLT program. (XSLT program runs in ABAP Engine). This program is for the interface Mapping in XI. Source Interface occurrence is 1 and target interface occurrence is 0..unbounded. ie. We use Message Split to send source messages to multiple target messages. For this we have written one ABAP XSLT program. To find Value mappings we use 'SenderService' Runtime Constant to determine Sender Service (for Source Agency) at runtime. But the problem is, inside template the constant $SenderService did not have the value. I have given below the coding
<xsl:param name = 'SenderService'/>
<xsl:template match="/">
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:employeeDemographicsRequest xmlns:ns1="http://aprilbiztec.com">
<!-- here we are $SenderService did not receive the value -->
Friends, Could you kindly help me to solve this problem ? (ie how to access Runtime Constants in ABAP XSLT when use message Split)
Thanks in advance.
Kind Regards
Jeagthees P.
Note :
1) In normal ABAP XSLT, we are able to access Runtime Constant.
2) For the same scenario, if we use normal XSLT ie. JAVA XSLT, we are able to access Runtime Constant.Hi,
As far as I know you cannot access Runtime constants if there is a message split.
Regards,
Kumar -
Resize docking container at runtime
Hi container addicts,
My report has a selection screen. Below I create a docking container (with SALV grid) docked at bottom with calculated extension that the select-options are still visible.
The customer wants a toggle button to extend the control to the full screen area and make it small again to have the selections visible.
Will I have to destroy the container and then recreate container and grid with different size or can I re-size the container at run time dynamically?
Thanks for useful hints.
Regards,
ClemensThank you Rich,
this works fine. Obviously the extension is measured in something like points or pixels.
I tied a dynamic solution regarding the actual screen size with constants for the selection screen area (mc_rows_selection_area. = 4) and estimated pixels per row mc_graph_units_per_row = 12.
It works approximately, but not too exact. Are you aware of any methods to determine the full screen size (without standard tool bar) in the kind of units we need for SET_EXTENSION method?
* provide dynamic screen space
IF sy-srows <= mc_rows_selection_area.
lv_srows = mc_rows_selection_area.
ELSE.
lv_srows = sy-srows - mc_rows_selection_area.
ENDIF.
* extension in pixels(?) as n pixels per row
lv_extension = mc_graph_units_per_row * lv_srows.
set_docking_extension( lv_extension ).
Thanks a lot.
Regards,
Clemens -
How to have automatic resizing of container when JInternalFrame resizes?
Is there a good way for the automatic resizing of its container when a JInternalFrame is resized?
The intent is to have the JTree below, automatically resize. for example,
if you type newlines into the JTextArea contained in JInternalFrames.
(Tried adding the JInternalFrames to a JDesktopPane, but it did not display them. I wonder if it is inefficient to have a JDesktopPane for each tree node).
Is there any way to know if a JInternalFrame is resizing? Perhaps then one can reload the tree as:
treeModel.reload()thanks,
Anil
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.util.EventObject;
import javax.swing.BorderFactory;
import javax.swing.Box;
import javax.swing.JDesktopPane;
import javax.swing.JFrame;
import javax.swing.JInternalFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTabbedPane;
import javax.swing.JTextArea;
import javax.swing.JToggleButton;
import javax.swing.JTree;
import javax.swing.UnsupportedLookAndFeelException;
import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.DefaultTreeCellEditor;
import javax.swing.tree.DefaultTreeCellRenderer;
import javax.swing.tree.DefaultTreeModel;
import javax.swing.tree.TreeSelectionModel;
public class TreeFrames extends JPanel {
AnilTreeCellRenderer3 atcr;
AnilTreeCellEditor4 atce;
DefaultTreeModel treeModel;
JTree tree;
public TreeFrames() {
super(new BorderLayout());
treeModel = new DefaultTreeModel(null);
tree = new JTree(treeModel);
tree.setEditable(true);
tree.getSelectionModel().setSelectionMode(
TreeSelectionModel.SINGLE_TREE_SELECTION);
tree.setShowsRootHandles(true);
tree.setCellRenderer(atcr = new AnilTreeCellRenderer3());
tree.setCellEditor(atce = new AnilTreeCellEditor4(tree, atcr));
JScrollPane scrollPane = new JScrollPane(tree);
add(scrollPane,BorderLayout.CENTER);
public void setRootNode(DefaultMutableTreeNode node) {
treeModel.setRoot(node);
treeModel.reload();
public static void main(String[] args) throws ClassNotFoundException,
InstantiationException, IllegalAccessException, UnsupportedLookAndFeelException{
TreeFrames tb = new TreeFrames();
tb.setPreferredSize(new Dimension(800,600));
JFrame frame = new JFrame("Tree Windows UI Failed");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setContentPane(tb);
frame.setSize(800, 600);
frame.pack();
frame.setVisible(true);
tb.populate();
private void populate() {
TextAreaNode3 r = new TextAreaNode3(this);
setRootNode(r);
r.gNode.addFrame();
r.gNode.addFrame();
TextAreaNode3 a = new TextAreaNode3(this);
a.gNode.addFrame();
treeModel.insertNodeInto(a, r, r.getChildCount());
treeModel.reload();
class AnilTreeCellRenderer3 extends DefaultTreeCellRenderer{
TreeFrames panel;
DefaultMutableTreeNode currentNode;
public AnilTreeCellRenderer3() {
super();
public Component getTreeCellRendererComponent
(JTree tree, Object value, boolean selected, boolean expanded,
boolean leaf, int row, boolean hasFocus){
TextAreaNode3 currentNode = (TextAreaNode3)value;
NodeGUI4 gNode = (NodeGUI4) currentNode.gNode;
return gNode.hBox;
class AnilTreeCellEditor4 extends DefaultTreeCellEditor{
DefaultTreeCellRenderer rend;
public AnilTreeCellEditor4(JTree tree, DefaultTreeCellRenderer r){
super(tree, r);
rend = r;
public Component getTreeCellEditorComponent(JTree tree, Object value,
boolean isSelected, boolean expanded, boolean leaf, int row){
return rend.getTreeCellRendererComponent(tree, value, isSelected, expanded,
leaf, row, true);
public boolean isCellEditable(EventObject event){
return true;
* this is done to keep gui separate from model - as in MVC.
* not necessary.
* @author juwo
class NodeGUI4 {
JPanel notes = new JPanel();
final TreeFrames view;
Box hBox = Box.createHorizontalBox();
final JTextArea textArea = new JTextArea( 1, 5 );
NodeGUI4( TreeFrames view_ ) {
this.view = view_;
hBox.add( textArea );
textArea.setBorder( BorderFactory.createMatteBorder( 0, 0, 1, 0, Color.GREEN )
hBox.add(notes);
hBox.setBorder( BorderFactory.createMatteBorder( 5, 5, 5, 5, Color.CYAN ) );
void addFrame() {
MyInternalFrame frame = new MyInternalFrame();
frame.add(new JTextArea(1,5));
frame.setVisible(true); //necessary as of 1.3
notes.add(frame);
try {
frame.setSelected(true);
} catch (java.beans.PropertyVetoException e) {}
class TextAreaNode3 extends DefaultMutableTreeNode {
NodeGUI4 gNode;
TextAreaNode3(TreeFrames view_t) {
gNode = new NodeGUI4(view_t);
class MyInternalFrame extends JInternalFrame {
static int openFrameCount = 0;
static final int xOffset = 0, yOffset = 0;
public MyInternalFrame() {
super("Document #" + (++openFrameCount),
true, //resizable
true, //closable
true, //maximizable
true);//iconifiable
//...Create the GUI and put it in the window...
//...Then set the window size or call pack...
setSize(300,300);
//Set the window's location.
setLocation(xOffset*openFrameCount, yOffset*openFrameCount);
this.putClientProperty("JInternalFrame.isPalette", Boolean.TRUE);
}I think this does what you want; it's basically the same technique as we used before.
It also suffers from an interesting bug: if I type in the text area inside the internal frame, the editor resizes nicely
with the node below it staying visible; if I type in the text area next to the panel, the editor will resize over the node
below it. I didn't dig into it further to see the cause.
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Insets;
import java.awt.Rectangle;
import java.awt.event.ComponentAdapter;
import java.awt.event.ComponentEvent;
import java.util.EventObject;
import javax.swing.BorderFactory;
import javax.swing.Box;
import javax.swing.JFrame;
import javax.swing.JInternalFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.JTree;
import javax.swing.UnsupportedLookAndFeelException;
import javax.swing.event.DocumentEvent;
import javax.swing.event.DocumentListener;
import javax.swing.plaf.basic.BasicTreeUI;
import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.DefaultTreeCellEditor;
import javax.swing.tree.DefaultTreeCellRenderer;
import javax.swing.tree.DefaultTreeModel;
import javax.swing.tree.TreePath;
import javax.swing.tree.TreeSelectionModel;
public class TreeFrames extends JPanel {
AnilTreeCellRenderer3 atcr;
AnilTreeCellEditor4 atce;
DefaultTreeModel treeModel;
JTree tree;
public TreeFrames() {
super( new BorderLayout() );
treeModel = new DefaultTreeModel( null );
tree = new JTree( treeModel );
tree.setUI( new TextAreaTreeUI() );
tree.setEditable( true );
tree.getSelectionModel().setSelectionMode( TreeSelectionModel.SINGLE_TREE_SELECTION );
tree.setShowsRootHandles( true );
tree.setCellRenderer( atcr = new AnilTreeCellRenderer3() );
tree.setCellEditor( atce = new AnilTreeCellEditor4( tree, atcr ) );
JScrollPane scrollPane = new JScrollPane( tree );
add( scrollPane, BorderLayout.CENTER );
public void setRootNode( DefaultMutableTreeNode node ) {
treeModel.setRoot( node );
treeModel.reload();
public static void main( String[] args ) throws ClassNotFoundException, InstantiationException,
IllegalAccessException, UnsupportedLookAndFeelException {
TreeFrames tb = new TreeFrames();
tb.setPreferredSize( new Dimension( 800, 600 ) );
JFrame frame = new JFrame( "Tree Windows UI Failed" );
frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
frame.setContentPane( tb );
frame.setSize( 800, 600 );
frame.pack();
frame.setVisible( true );
tb.populate();
private void populate() {
TextAreaNode3 r = new TextAreaNode3( this );
setRootNode( r );
r.gNode.addFrame();
r.gNode.addFrame();
TextAreaNode3 a = new TextAreaNode3( this );
a.gNode.addFrame();
treeModel.insertNodeInto( a, r, r.getChildCount() );
treeModel.reload();
private static class AnilTreeCellRenderer3 extends DefaultTreeCellRenderer {
TreeFrames panel;
DefaultMutableTreeNode currentNode;
public AnilTreeCellRenderer3() {
super();
public Component getTreeCellRendererComponent( JTree tree, Object value, boolean selected, boolean expanded,
boolean leaf, int row, boolean hasFocus ) {
TextAreaNode3 currentNode = (TextAreaNode3) value;
NodeGUI4 gNode = (NodeGUI4) currentNode.gNode;
return gNode.hBox;
private static class AnilTreeCellEditor4 extends DefaultTreeCellEditor {
DefaultTreeCellRenderer rend;
public AnilTreeCellEditor4( JTree tree, DefaultTreeCellRenderer r ) {
super( tree, r );
rend = r;
public Component getTreeCellEditorComponent( JTree tree, Object value, boolean isSelected, boolean expanded,
boolean leaf, int row ) {
return rend.getTreeCellRendererComponent( tree, value, isSelected, expanded, leaf, row, true );
public boolean isCellEditable( EventObject event ) {
return true;
* this is done to keep gui separate from model - as in MVC. not necessary.
* @author juwo
private static class NodeGUI4 {
JPanel notes = new JPanel();
final TreeFrames view;
Box hBox = Box.createHorizontalBox();
final JTextArea textArea = new JTextArea( 1, 5 );
NodeGUI4( TreeFrames view_ ) {
this.view = view_;
hBox.add( textArea );
textArea.setBorder( BorderFactory.createMatteBorder( 0, 0, 1, 0, Color.GREEN ) );
hBox.add( notes );
hBox.setBorder( BorderFactory.createMatteBorder( 5, 5, 5, 5, Color.CYAN ) );
DocumentListener dl = new DocumentListener() {
public void insertUpdate( DocumentEvent de ) {
resizeEditor();
public void removeUpdate( DocumentEvent de ) {
resizeEditor();
public void changedUpdate( DocumentEvent de ) {
textArea.getDocument().addDocumentListener( dl );
void addFrame() {
MyInternalFrame frame = new MyInternalFrame();
frame.getContentPane().add( new JTextArea( 1, 5 ) );
frame.setVisible( true ); // necessary as of 1.3
notes.add( frame );
try {
frame.setSelected( true );
} catch ( java.beans.PropertyVetoException e ) {
frame.addComponentListener( new ComponentAdapter() {
public void componentResized( ComponentEvent e ) {
resizeEditor();
private void resizeEditor() {
TreePath path = view.tree.getEditingPath();
if ( path != null ) {
Rectangle nodeBounds = ( (BasicTreeUI) view.tree.getUI() ).getPathBounds( view.tree, path );
Dimension editorSize = getEditorPreferredSize();
hBox.setBounds( nodeBounds.x, nodeBounds.y,
editorSize.width, editorSize.height );
hBox.validate();
Rectangle visRect = view.tree.getVisibleRect();
view.tree.paintImmediately( nodeBounds.x, nodeBounds.y,
visRect.width + visRect.x - nodeBounds.x,
editorSize.height );
( (TextAreaTreeUI) view.tree.getUI() ).resizeTree( path );
private Dimension getEditorPreferredSize() {
Insets insets = hBox.getInsets();
Dimension boxSize = hBox.getPreferredSize();
Dimension taSize = textArea.getPreferredSize();
Dimension nSize = notes.getPreferredSize();
int height = taSize.height + nSize.height + insets.top
+ insets.bottom;
int width = taSize.width + nSize.width;
if ( width < boxSize.width )
width += insets.right + insets.left + 3; // 3 for cursor
return new Dimension( width, height );
private static class TextAreaNode3 extends DefaultMutableTreeNode {
NodeGUI4 gNode;
TextAreaNode3( TreeFrames view_t ) {
gNode = new NodeGUI4( view_t );
private static class MyInternalFrame extends JInternalFrame {
static int openFrameCount = 0;
static final int xOffset = 0, yOffset = 0;
public MyInternalFrame() {
super( "Document #" + ( ++openFrameCount ), true, // resizable
true, // closable
true, // maximizable
true );// iconifiable
// ...Create the GUI and put it in the window...
// ...Then set the window size or call pack...
setSize( 300, 300 );
// Set the window's location.
setLocation( xOffset * openFrameCount, yOffset * openFrameCount );
this.putClientProperty( "JInternalFrame.isPalette", Boolean.TRUE );
private class TextAreaTreeUI extends BasicTreeUI {
public void resizeTree( TreePath path ) {
treeState.invalidatePathBounds(path);
updateSize();
} -
Setting the Line size at runtime
Hi All,
I am printing a classical report. Usually we set the
Page width statically ie by using Line-Size.
But I need a way to change this value at runtime.
Is there a way out to this problem?
Thanks & Regards,
Abhijeet.Hi Abhijeet,
You cannot change the width of individual pages within a list level. You can only change the width of all pages of a new list level. To do so, use the NEW-PAGE statement:
Syntax
NEW-PAGE LINE-SIZE <width>.
All list levels starting from the new page have a width of <width> instead of the one specified in the REPORT statement. If you set <width> to 0, the system uses the width of the standard list .
If you set <width> to SY-SCOLS, you can adapt the width of the new list level to the window width, even if the window is smaller than the standard window. The SY-SCOLS system field contains the number of characters of a line of the current window.
Within a list level, that is, if the next page is not the beginning of a new list level, the system ignores the LINE-SIZE option.
Regards,
vidya. -
Get parent container size in renderer?
Hi,
I'm trying to add a variable number of same-sized Canvas
squares to the HorizontalList below:
<mx:HBox width="100%" height="50%" >
<mx:HorizontalList height="100%" width="60%"
dataProvider="{myData}"
itemRenderer="renderers.Topic" >
</mx:HorizontalList>
<mx:Canvas height="100%" width="40%" >
</mx:Canvas>
</mx:HBox>
I want the squares to be proportional such that as the app is
resized, the squares also grow or shrink in size. My item renderer
gets the size of the parent HorizontalList (via
BaseListData.owner.width) in order to calculate the dimensions of
each canvas square; as the app is resized, the size of the parent
changes and my square's dimensions are recalculated. However, it
seems that the size of the parent container isn't know until I
render some content but I can't render content until I know the
amount of real estate available in the parent. I missing something
basic here, right?
Thanks, GarryTurn it around. Instead of having the item renderer calculate
its width based on it's parent's width, have the HorizontalList set
the size of its children in updateDisplayList(). -
Controlling scrollbars and container sizes
We are having this exact problem. This is a pretty crazy
problem. It seems like inner containers are not "pushing" the outer
containers out far enough. The only resolution that I can find is
to set a bunch of static sizes for containers, but then we lose the
flexibility. Any ideas? The scrollbars are ridiculous cause they
are constantly getting cut off by the browser or are there when
they shouldn't be. Is there a better way for apps with multiple
layers that are larger than the normal height of a screen?Thanks Jake,
Reducing containers is surely a good thing. Unfortunately the
application I'm working on is pretty large and at places there are
easily between 5 and 10 nested containers. I'm not using
AbsoluteLayout though and mostly a combination of HBox/VBox/Forms.
One problem I ran into is with the use of HDividedBox, which
when resizing caused its children to contain double scrollbars. The
child would have a scrollbar and one of the child's children would
have a scrollbar. If you get small enough then the parent also has
a scrollbar. It ain't a pretty picture.
Sofar I've found that HDividedBox has a problem with resizing
a child component if that child is a container holding more
components/containers. Its difficult to debug but my impression is
that when the layout manager pass takes place, the child
container's size hasn't been updated yet. As a result the deeper
level is set larger than it should, causing an extra scrollbar.
My workaround (bit hack) that helped somewhat is to catch the
resize event in the HDividedBox child and set its minWidth to be
the max of the measuredMinWidth of the child's children. This only
affects how HDividedBox resizes its child, and isn't a general
solution unfortunately.
For those interested:
eg:
quote:
function onResize(event:Event):void
if ((child1 != null) && (child2 != null))
this.minWidth = Math.max( child1.measuredMinWidth,
child2.measuredMinWidth);
Maybe you are looking for
-
Tax Code in Scheduling agreement
Hello In PO i can find the Tax code entry in Invoice tab at item level.. then where shall i find thisTax code entry in Scheduling agreement? sapman
-
What steps do I take when i receive an error message on downloading a previous order?
(complete girl) I purchased an adobe acrobat xpro in 2011, but I am getting an error message when I attempt to download it to my computer?
-
Is there anything like a "PC Suite" (Nokia) for the iphone which will allow typing text msg's on the PC ??? I chekced the internet and found some doubtful chinese software for it ! Isn't there anything from apple ???
-
My bridge keeps reading Bridge encountered a problem and is unable tro read the cache Please try purging central cache in the Preformace cache. before it was reading low memory purge cache which I thought I did and now this wont stop coming up and I
-
Where Can the Preference Settings to place in the .INI File Found
I can not find a lot of the settings that are found on the drop down list under the Menu item Edit - Preferences. Specifically I am looking for the setting to stop Acrobat asking clients to update. I know it can be done manually. I deliver Acrobat ov