resize

Listening to another window resize events in C#

Hi all I am implementing a small application (observer) that needs to "attach" itself to the bottom of another window (observed). The latter is not a window inside the application. At this moment I solved by getting the hWnd of the window and querying periodically in a thread the location of the observed window, moving the observer wi...

ImageView changes frame/bounds...

I have been trying to find this issue here, but no topic seems to fit... I have a UINavigationController that pushes different kinds of UIViews containing images. When the controller pushes a new view, it the navigation bar is moved onto the screen and it appears that the image subsequently is being 'squelched' a bit - or it 'moves in fr...

Move Image or Div Up As Window Resizes?

Hi, I have an image in my html with a class of "stretch". Currently, with css, this image re-sizes as the window re-sizes to be 100% of the screen width. I would also like it to move upwards as the window is being re-sized. I'm assuming this can be done with jQuery but I am not quite sure. Basically the "top" css value just needs to ...

Autoresize textbox control vertically

In a C# form, i have a panel anchored all sides, and inside, a textbox, anchored top/left/right. When text gets loaded into the textbox, i want it to auto expand itself vertically so that i don't need to scroll the textbox (scroll the panel at most, if there is more text that doesn't fit the panel). is there any way to do this with a te...

Looking for a good Dynamic Imaging Solution

I work for a small E-Commerce shop and we are looking for a process that will handle resizing our product images dynamically. Currently our designers take high resolution photos, either provided by the manufactures or created in house, and alter them to fit various pages on our site. The designers are constantly resizing, cropping, alte...

WPF Moving Element problem

Hello, I am probably over-doing a very simple problem, but this is what I have a the moment: I have several buttons and a listbox of items in which the user can select and interact with. My application also moves those elements in accordance to the application width/height, such as follows: listBox1.Margin = new Thickness(this.ActualW...

How to i disable the _moz_resizing?

I am using nicEdit editor and i have added my own custom image resizing script to it. But i want to disable the default _moz_resizing that appears in firefox. I wanted to have finer control over the image being resized. ( Eg: Allow only the image to resize and inherit the width of the parent container. ) So i wrote a custom script. B...

Dojo StackContainer children are not resizing on browser maximise/restore

Hi. I have the following nested layout in a dojo 1.4 app: BorderContainer 1 --> Stack Container 1 -->-->BorderContainer 2 -->-->BorderContainer 3 The StackContainer is sized with width and height 100%. When I resize the browser window using maximise/restore, the StackContainer correctly resizes to the center region of it's parent Bo...

would have only saved the resized images

I want it to only saves the resized images so have tried to do so it deletes the original image again after it has been uploaded but can not because it says the image is being used by another process please help. and can not simply remove where it stores the original because it uses it to resize i Use this code to save the fils string ...

How to change the button fontsize without changing button size (in android) ?

I need to have a grid (created by program, not by xml) of equally sized buttons. They display text in different sizes. The problem is that when I change the text size to a smaller size, then the button automatically resizes to be smaller than the others. Thanks, Note: the grid is created adding *TableRow*s of buttons to a TableLayou...

Creating Thumbnails in Build Phase of iPhone App Xcode project?

Hey All, I have a group of png files in my bundle; but I also want smaller versions of them to be used at my app as well. Right now I am just resizing them all manually and putting them in the bundle as well: so i might have Graphic_1.png and Graphic_1-thumbnail.png. Instead, is there anyway to do something like: at build time, take al...

Resizing a container when child's visibility is changed?

When I set the visible property to false for a child in a container, how can I get the container to resize? In the example bellow, when clicking on "Toggle", "containerB" is hidden, but the main container's scrollable area is not resized. (I do not want to scroll through a lot of empty space.) <mx:Application xmlns:mx="http://www.adobe....

UIPopoverController w/ UINavigationController Subview contentSizeForViewInPopover doesnt work on Parent

I have a UIPopoverController with a subclass UINavigationController. Both the parent and child views are UITableviews. When i call parent view originally with contentSizeForViewInPopover = (320,480) it works great. When i click into the child view i resize the popover to contentSizeForViewInPopover = (320,780) When return back to the...

VB.Net: Resizing ListBoxView Column When Form Resizes

How can I have a single column resize with the form so that the ListView columns continue to fill the whole form? ...

Resize image with blue dots like in copy/Paste Function?

Hello, I want to add a resize function to my app which works like the integrated copy feature on the iPhone. When the user opens the view he should see the image with the four blue dots which enable him to resize it. Is there an available example for this? Or has anyone the keywords for this functionality, which i can use for my further...

PyQT4 QWebView not resizing correctly

I have a QWebview in a grid layout, along with other widgets. When the user resizes the window, the QWebview doesn't resize, but the other widgets do. How can I make the QWebview resize correctly? ...

How to resize window using WinAPI

I'm want resize window using WinAPI. I use WinAPI function SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int x, int y, int cx, int cy, uint uFlags); Window is resized, but window content is not redrawed. If I resize this window using mouse, content redraws. How to resize window using WinAPI with content redrawing? ...

Library to resize image in .net

Is there a good library to resize an image in .NET with good quality? I'm not pleased with the quality of resized images that GDI+ produces. It does not matter if the library is free or at a cost. ...

Android: How to resize a custom view programmatically?

Hi all! I am coding a custom view, extended from RelativeLayout, and I want to resize it programmatically, How can I do? the custom view Class is something like: public ActiveSlideView(Context context, AttributeSet attr){ super(context, attr); LayoutInflater inflater = (LayoutInflater)context.getSystemService(Context.L...

How do I resize table view after resizing it's footer?

I have a UITableView with header & footer added with code following the pattern shown in Apple's recipes example so the code for the footer is... if (tableFooterView == nil) { [[NSBundle mainBundle] loadNibNamed:@"DetailFooterView" owner:self options:nil]; self.tableView.tableFooterView = tableFooterView; } The footer NIB contains n...