resize

Silverlight javascript problem - resizing a Silverlight application - cross browser issue

Hi, I'm currently writing a SilverLight application that primarily uses a DataGrid. The user can add or remove rows from the grid. The grid can get quite large so I need to resize the application dynamically every time a row is added/removed. Currenty I'm doing the following to resize the app dyamically. In the codebehind I'm using t...

ckfinder image resize

Hello, After selecting or uploading an image with the ckfinder, the user can change the width and height. I want it to automatically resize the image to the width and height the user sets. Is that possible? I thaught that the ajax image resizer would fix that but can't get it to work. Somebody has experience with an automatic width and...

UILabel automatic size and position

I want to draw a text with different colors and the only way that I've found for do it is to split every piece of string-color in differents UILabels, so currently now I have four UILabels one after another, lets say, label1, label2, label3 and label4. The problem with that is with the size and the position of every labels, I've not fou...

A generic error occurred in GDI+ when Saving Images in ASP.NET

I get the exception "A generic error occurred in GDI+" when calling destImage.Save() at the end of this function. This resizes an image uploaded to my ASP.NET app: public static void ResizeImageFile(string sourceFileName, string destinationFileName, int width, int height) { using (var sourceImage = Image.FromFile(sourceFileNam...

[iPhone] How to dynamically resize UITableViewCell height

I have the classical grouped UITableView with editable UITextViews inside every cell. This text views can be single or multi-lined, and I want the cell to increase its height as the user writes and the text starts a new line. My question is: do I need to reload the whole table just to increase the height of a cell? Isn't there any other...

QDockWidget behavior when changing its content

Hi folks, I'm facing a problem with one of my QDockWidget. I have several QWidget items in a QDockwidget that are sometimes visible sometimes not. I would like that my QDockWidget resizes itself depending on its content... Not only when QWidgets appear in it, but also when they disappear... So far, my QDockWidget resizes itself when ...

iPhone SDK Zoom/Resize Image with 2 fingers!! HELP

Help, i need to make an app that has got some images and you need to resize them on the screen!! But how can i resize them with 2 finger dragging? Help me please! Thanks ...

WinForms - action after resize event

Hi, Is it possible to perform a specific action after the resize event (of the user control), for example when mouse button is released? I need to manually resize an inner control and doing it on every single firing of the event would be quite, hmm, inefficient... ...

resizing UILabel's with on UITableView when change in orientation occurs

Hi... I've 3 UILabel's inside a custom UITableViewCell. The width of these UIlabels must change when the device changes it's orietation because the tableView's width changes. My problem was how could I resize the label when the device rotation happens. ...

C# Label Properties won't update upon resize

I recently started getting acquainted with Visual Studio 2010 and C# for an internship. C# doesn't include a built-in InputBox function, so I made my own form, with a text box, two buttons and a simple label. I have a function set up to allow the programmer to call the form in regular format (where the user enters input via the textbox)...

downsizing several hundred png files from png24 to png8

I have several hundred images that I ended up saving as a large file format (png24) so I'd like to downsize them all. Is there a quick way to do this rather than manually opening each one in photoshop and saving as a png8? Also, if I only have the png file and not the psd, can I still downsize the image from png24 to png8? Thanks. ...

How to set JPanel size?

I'm using Netbean's form creator and I'm trying out some things. I'm not sure if it's the layout manager, but when I create my own JPanel and add it to the main content pane of the my window, the size of the panel always maximizes inside the FrameView no matter what re-dimensioning methodology I use such as setSize or setPreferred size. ...

Resizing Page Elements based on Window size

Problem: My Client wants me to create a launch webpage for his product such that there should be no scroll on the page, be any browser or window dimensions. Doubt: Is this possible using CSS and Javascript? Some Early Diagnosis: This might be a little similar to this or this but the difference is that I want to resize the dimensions of...

Can Android's WebView automatically resize huge images?

In some web browsers, huge images are automatically resized to fit the screen. Is it possible to do the same in an Android WebView? The web page just contains the image, maybe adding some JavaScript could do the trick? Anybody has already done this? Note: I don't know the size of the image in advance. ...

Resizing image using as3

I am building a portfolio site which dynamically loads large hi-res images when the user clicks on a thumnail. However I'm having problems maintaining the original image's quality when resizing it to fit the current browser. Currently I'm just adjusting the width & height properties of the image to width to the stage proportionally whi...

How to resize controls to fit the browser window in C#, Silverlight 4

I have a tab control in my main page. When I have it in the Design view in Visual Studio, everything looks perfect, the tab control is set to fill the entire page. However when I run the program, and I have it in a maximized browser window, the tab control is still the same size as it originally was. In other words, the tab control do...

How to find an image in an post

I've never done anything like this, so I'm not really sure what kind of tools within PHP i need to make this happen. I'm making a list of "recent news items" (just headlines) that'll show up on the side of the site, and would like to be able to look for the first image in a news post (I assume it has something to do with looking for an...

How to design a flash based website when user has different screen size and different resolution ?

I am developing a flash based website using mxml. My monitor's resolution is 1280x768 and is widescreen. The problem is while it appears properly in my screen it doesn't appear properly in others. Which is the best approach to solve the problem ? I have 2 in mind. Let scrollbars take care of it : If the screen is 14 inch screen...

Simple way to resize a DIV with Javascript/Prototype

I have a div that floats at the bottom of the screen and want to let users vertically resize it (by grabbing a handle on the top of the div and pulling the div up or down). I am using Prototype.js, so it just has to be compatible with that, though if there is a simpler way of doing it than with yet another javascript library that would ...

How to customise a the size of the Master is the SPlitviewcontroller?

My master view is a typical table view. But, the cell content is just to the max 5 letters. I wanted to resize the master in my splitview. Is there a way for us to do it? ...