resize

resize Frame with jQuery

Hi, I'm searching for a possibility to resize frames (not iFrame) by jQuery. unfortunatly I can't find any hint how to do it. I'm truly grateful for any hint. ...

(SOLVED) GridBagLayout manager and resizing controls

I'm not sure if GridBagLayoutManager is the only layout manager that does this, but here is my problem. I have 4 controls layed out horizontally in a GridBagLayout. To keep things simple for this example, each control get's an equal 1/4 of the form, and each control resizes with the same ratio as the other controls. The four controls are...

Updating the region behind a resized window

We have a fairly complex GUI, so when certain windows are resized their Redraw() is set to false till the operation is completed. The problem with this is that if the OS "Show window content while dragging" setting is checked, when decreasing the window's size the windows behind it are not repainted. This means I have to force the repain...

WPF ListView grows wider in response to resizing column, but does not shrink back.

In the following .NET 3.5 XAML, if you drag the column width of the 'Day' column wider, the ListView nicely grows to account for this. If you then drag the column width narrower, however, the table stays the same size as it was. This same problem exists vertically, too. If some of your columns have word wrap, the table will get tall...

Dynamically Resizing Gridview using JQuery not working in IE6

jQuery("#divID").width(); When I resize the div using the mouse it works fine in other browsers but not IE6. For some reason the width doesn't update unless I refresh the page. Anyone experience this problem with IE6? Any solutions out there? Thanks ...

What's a good JS library for making things resizable?

I'd like to make a textarea resizable. I tried out jQuery UI's "resizable" functionality, but, much as I love jQuery, the resizable thing isn't quite there yet. I want the textarea to resize heightwise only, via a handle at the bottom-center. jQuery lets you resize heightwise only, but evidently doesn't let you place a handle anywhere ot...

Resizing a char[x] to char[y] at runtime

OK, I hope I explain this one correctly. I have a struct: typedef struct _MyData { char Data[256]; int Index; } MyData; Now, I run into a problem. Most of the time MyData.Data is OK with 256, but in some cases I need to expand the amount of chars it can hold to different sizes. I can't use a pointer. Is there any way to resize ...

std::vector resize downward

the C++ standard seems to make no statement regarding side-effects on capacity by either resize(n), with n < size(), or clear(). It does make a statement about amortized cost of push_back and pop_back - O(1) I can envision an implementation that does the usual sort of capacity changes ala CLRS Algorithms (eg double when enlarging, ha...

codeigniter photo thumb create and upload...

hi friends... it gives blank screen :/ it uploads first image, thats fine. than it call _create_thumbnail and it gives blank screen at line "$this->image_lib->resize()" :/ any idea what can be the problem? Thanks!! /** * ================================================================== * Upload photo * * Thumb = 210px - 16...

Blend 3 - Canvas Resize

Hi ppl.. I'm using Blend 3 for a SILVERLIGHT APP. How can I use a Canvas to resize automatically and adapted to the browser (100% width and height).. I think it could be done using C# because I want to have the objects inside to move freely around the browser, but don't know howto... Help would be appreciated! snippet XAML: <Grid x:Na...

resize loaded SWF to fit in canvas

Hello, a .fla is 500 x 300. Inside, content moves OUT of the 500 x 300 stage so that it appears like it hides or moves off of the screen. .fla complied... loaded into Flex via SWFLoader: <mx:Conainer width="500" height="300"> <mx:SWFLoader width="100%" height="100%" /> </mx:Conainer> Loaded .swf file shows outside of the 500 x...

Resizing a WinForms textbox control based on MaxLength

I've got a situation (a key-based search) where I'm going to have multiple inputs of varying, but constrained, length. So I'm building a common control to use for each input, and this control has a TextBox for use when the input type is free-form text. In that case I'd like the length of the TextBox to reflect the constraint placed on th...

PHP : pulling an image and modifying its output

Hello guys, I'd like to use a resizing script for my images (Timthumb). I'm trying to pull from the database the first image contained in a post, and add to it the path to the script, as well as some extra instructions : <?php $content = $post->post_content; preg_match_all('/src=\"https?:\/\/[\S\w]+\"/i', $content, $matches, PREG_...

Resizing JPanel to prepare for printing without removing it from its original position

In my program I frequently need to print various JComponents (generally JPanels) and I like them to be full-page. The way I do it now is by using the following code: g2d.scale(pf.getImageableWidth()/componentToPrint.getWidth(), pf.getImageableHeight()/componentToPrint.getHeight()); but this often stretches or otherwise deforms whatev...

Downscale/resize?

Hey! How do i resize/downscale the images that gets uploaded with my upload script down to 350x100 if they are over 350x100? My script: $allowed_filetypes = array('.png','.PNG'); $filename = $_FILES['strUpload']['name']; $ext = substr($filename, strpos($filename,'.'), strlen($filename)-1); if(in_array($ext,$allowed_filetypes)) { ...

javascript REST client - issue with window.resize event

Hi, I'm building a web javascript frontend to a Geo Mapping REST api. The backend recently changed from using DWR to REST to avoid cross-domain issues with browsers. The issue is that in both IE6 and IE7 the resize event is not triggered anymore if there is a REST call made while the application loads. If the server calls made during ...

Resize an image with .NET without losing EXIF data

Hello, What is the best way to resize images using .NET, without losing the EXIF data? I'm okay with using .NET 2 System.Drawing.* classes, WPF classes, or open-source libraries. The only easy way I found to handle this all for now is to use the Graphics.FromImage (.NET 2) to perform the resizing and to re-write the EXIF data with an ...

ExtJs Combobox Resize Problem on IE6

A Combobox in the following constellation (extremely pruned code) has problems resizing in IE6. A little debugging revealed that it doesn't receive an event when trying to shrink the west region via splitter. Ext.onReady(function(){ var grid = new Ext.Viewport({ layout: 'border' ,items: [{ region: 'west' ,wid...

Qt QFileDialog QSizePolicy of sidebar

With a QFileDialog I'm trying to change the size of the side bar in a QFileDialog. I want it to have a larger width. I was looking at dir(QtGui.QFileDialog) which shows a plethora of functions/methods and dir(QtGui.QSizePolicy) which seemed like the right choice. I've not been able to manipulate the size of the side bar though. print 's...

[Java2D] Resize problems

Hi gentlemens (and ladys) I am currently creating an Eclipse View that has to contribute an Eclipse RCP app' and which must be nice (and only this one, I don't need an eclipse skin or something like that because my eclipse RCP app must look the same as a regular eclipse app), I must integrate translucent png, mouving gradients and contr...