resize

How to fix stage.stageWidth and stageHeight to be recognized on Firefox 3.5??

Hi all, Working on personal full flash site and I can't really figure out how to make MC's position on Stage aligned on Firefox browser. Everything goes fine using Safari. I have tried a method of set a timer every time it goes off (every 200 ms or so) it checks to see if stage.stageWidth > 0. If that is the case, do stop the timer an...

jQuery Colorbox Dynamic Resize

I using Colorbox for login form. And there's a signup link in the login form. I want to resize colorbox window when sign up page opened. main page: <a href="/login.php" class="colorbox_login">Click</a> to login. login page: <form method="post" action=""> ... </form> <a href="/signup.php">Sign up!</a> Help please ... ...

auto resize text (font size) when resizing window?

Hi, I have been trying(in vain) to build a page whose elements would resize as I changed the window size. I have it working in css for images no problem, but I can't seem to accomplish the same for text, and I am not sure it is even possible in CSS. And I can't seem to find a jquery script that accomplishes this. When a user resizes the...

jqGrid - how do I resize not just the TD but also TD inner DIV when TH (column) is resized?

I need to catch the event where the columns are resized. How do I do that? ...

How to implement wordwrap on jqGrid which works on IE7, IE8 and FF

How to implement wordwrap on jqGrid which works on IE7, IE8 and FF, while also having column-resize work (grid aligns correctly). Tried to innerwrap content on each td with a div of specific width (based on initial TH width), but colresize will not work on the divs I've inserted. jqGrid calculates the widths of the resized TH and adjace...

ScaleTransform transforms non-linearly

I am using scale transform to allow a user to resize a control. What happens though is that when you start to move the mouse the control jumps to a new size, and then scales oddly. The further you move your mouse from the starting location the larger the increase in size becomes. I expect its the way I calculate the scale to be applie...

iPhone script to move,resize & cut image

my application needs to get some thumbnails. i have found some topics about resizing images proportionally but i need to do more: the user must zoom,move and cut the photo selecting a square 106*160, that will be used as thumbnail. is there any type of protocol to do that or shall I start writing a custom script? thank you all. ...

How to resize a UIImageView to fit the underlying image without moving it?

I have a UIImageView whose frame, set before the image is loaded, is always too large for the image, so when I try to round the corners, for example, nothing happens. How can I resize the frame so it's the same size as the underlying image, while ensuring that the center point of the UIImageView does not change? ...

Resize Columnvector in .Oct file

Does anyone know the correct syntax to resize a ColumnVector in a compiled .Oct function written for Octave? The ColumnVector will typically be 10 to 50 elements in length and will be passed to a feval call in a loop. After evaluation, in the next loop iteration, the ColumnVector will need to be resized, filled with new data and again pa...

What event (if any) does QTextEdit fire when the size of its content changes?

As the title says, how can I receive notification whenever a multi-line QTextEdit changes the size of its content? (Note: *content size* is different from the control size, i.e. I want to know when lines were added or removed, or changed height because of a font change). ...

How to apply dynamically scale down and up into a thumbnail images size?

I'm working on one current project, I don't have any issues to load a SWF into a main SWF but I can't figure out how to apply dynamically the scale down and up into a thumbnail images size while using the Resize event handler to fit in any browsers sizes. I load SWF into a Loader object then add it into a container => currentMC. I want...

Resizing columns in adobe flex AdvancedDataGrid

Hi, I'm using an AdvancedDataGrid without the header row (AdvancedDataGrid.showHeaders="false"), my AdvancedDataGrid has 2 columns, where the first one will show a hierarchical data (tree). The tree may be very long and very deep or may contain a long string in the node label so the user will not be able to see the whole vale of the tree...

Can pdflatex (or any tex package) automatically rescale included images which have been reduced in size?

I'm writing my thesis in LaTeX, generating it with pdflatex. I have a large number of figures, many of which are bitmaps (as opposed to SVG) in PNG/JPEG format. I've generally created them to be fairly high resolution (say 1600x1200-ish) to ensure that whatever size they end up in the document, they'll be at least 300dpi when printed. A...

C# resize all elements in form when resizing form

I have this image as the background of the form: http://img811.imageshack.us/img811/3347/31886905.jpg So my form looks like this: http://img823.imageshack.us/i/cisto.jpg/ When i resize it it looks like this: http://img820.imageshack.us/i/cistoumanjeno.jpg/ Now what I need to do is to put listeners on every rextangle like on the ...

Java - How to force resize JCheckBox to prevent clicking the empty space ?

When i create a JCheckBox in my Swing application i leave some extra space after its label, so if the JCheckBox label is for example 100 pixels width, i make the JCheckBox 120 pixels for safety. The problem as at runtime, it's not nice that a user can click on the empty space after the JCheckBox label and it can be actually clicked, lik...

Convert Windows Form OnPaint to equivalent WPF shapes

I have an existing OnPaint method which draws some shapes: protected override void OnPaintBackground(PaintEventArgs e) { Graphics g = e.Graphics; g.CompositingQuality = CompositingQuality.HighQuality; Brush greenBrush = new SolidBrush(Color.FromArgb(73,172,113)); Brush blueBrush = new SolidBrush...

UIWebView is zooming when I resize it. Can I tell it to stop doing that?

I'm using a UIWebView to display formatted text. It works fine until I start resizing it. When I do it starts zooming and the font size gets too big. Is there anyway to tell it not to zoom or reset the zoom? ...

Using jQuery To Get Size of Viewport

How do I use jQuery to determine the size of the browser viewport, and to redetect this if the page is resized? I need to make an IFRAME size into this space (coming in a little on each margin). For those who don't know, the browser viewport is not the size of the document/page. It is the visible size of your window before the scroll. ...

Components are not longer resizable after moving

Hi guys My question relates to swing programming. I want to enlarge a component (component x) by removing it from its parent panel (component a) and adding it in one of component a's parent (component b). Before that, I call setVisible(false) on all components in b. After that I want to make this back by removing it from b and adding on...

iframe resizing with scrollheight in chrome/safari

I'm trying to resize (make bigger or smaller) an iframe based on it's contents. After a click on each page a method is called which does the resizing. In Chrome I can make the iframe bigger, but not smaller. document.body.scrollHeight is always the biggest value. So if one big page sets #iframe.height = '620px', and someone clicks on ...