resize

resize groupbox with sleep between iteration show up after loop ends

I make new project and simplified it to check if this bug is real, and this is my code: private void button1_Click(object sender, EventArgs e) { for (int i = 0; i < 10; i++) { groupBox1.Height += 1; Thread.Sleep(100); } } private void button2_Click(object sender, EventArgs ...

Increase space for /root in Ubuntu Wubi

Hi, I have ubuntu installed inside Windows 7 through Wubi. I need to increase the size of /root or root.disk. How can I do this? wubi-add-virtual-disk does not work since root.disk is already present. THanks, SM ...

jQuery UI - Resize - Only one handle with aspect ratio

Hi there, I'm using jQuery UI to make an image resizable like this .resizable({ handles: 's,e,se' }); And i would like the se handle to keep aspect ratio, not the other one. I've tried like this: .resizable({ handles: 's,e' }).resizable({ handles: 'se', aspectRatio:true }); But it's ...

Using Jquery Fancybox resize() function within an Iframe?

Hi, I am a beginner with Jquery and I am using Fancybox (type: iframe) within my PHP application. Within the iframe, there is a form, once the user has filled & submitted the form, the Fancybox should resize so as to accomodate the data which will be relayed back once the formdata has been processed. And I would also like the main pag...

jquery: unbind a loaded function

Hi, I have a function which will resize the image background when the page is loaded, $(document).ready(function(){ loadBackground(); }); and I want to 'unload' or 'remove' this loaded function when I click on a button so that I can load this function anew instead of loading it on top of the page, $('.get-image').click(function(){ ...

Iphone Navigation Bar not resize correctly

Hi. i have an application that must run on portrait and landscape. All is working, but i have this issue: i have the Navigation Controller in this way http://img225.imageshack.us/i/schermata20100913a23511.png/ immediately under it there is another view(fixed static position, overlaying the rear view) in the image, it contains the n...

Is it possible to prevent a flex application from being resized at runtime?

From what I can gather, the resize property of a Flex application is set in the XML config file: <!--Whether the user can resize the window. Optional. Default true.--> <!--<resizable></resizable>--> However, if I set this attribute to true, is there a way to turn this off dynamically at runtime? For example, my application has two ...

why is my std::string being cut off?

I initialize a string as follows: std::string myString = "'The quick brown fox jumps over the lazy dog' is an English-language pangram (a phrase that contains all of the letters of the alphabet)"; and the myString ends up being cut off like this: 'The quick brown fox jumps over the lazy dog' is an English-language pangram (a p...

YUI Resize -- handles not showing

Hi, I am really new to YUI and have been struggling with this for days now.. I have this piece of code where detailsPanel is HTMLDivElement var resizeDetails = new YAHOO.util.Resize(detailsPanel, { handles: ['t'], maxHeight: 150 }); When I examine this in Firebug there is no resize handle on top. I'm sure I'm missing somethi...

Parallelizing GDI+ Image Resizing .net

I've tried to parallelize the resizing of jpegs using .Net. All my tries failed, because the Graphics.DrawImage-func seems to lock while active. Try the following snipped: Sub Main() Dim files As String() = IO.Directory.GetFiles("D:\TEMP") Dim imgs(25) As Image For i As Integer = 0 To 25 imgs(i) = Image.FromFile(files(...

iPhone Callout Pin resize view for detail display

Hi, When the user click on a annotation, I display the default callout view with a title, subtitle and a right info button. When the user click on the info button, I would like the callout view to resize itself and display a detail view controller. Basically, I would like the same effect with an animation as the Google Maps applicatio...

Jquery SlideToggle Adding whitespace to bottom of chrome document

Hi I am using jquery to slidetoggle some divs inside an iframe. In IE, Firefox it is working perfectly. The divs are sliding open and closed and i am using the following code inside the slidetoggle callback to get the height of the iframe content and then shrink it back to where it should be I am calling from within the slidetoggle c...

Animate jquery ui dialog when content expands or contracts while staying centered

I have a jquery ui dialog popup, and then inside are buttons to show/hide content. If one button is clicked, when the content expands... I simply call: var position = $(selector).dialog( "option", "position" ); $(selector).dialog( "option", "position", 'center' ); To recenter the dialog on the screen. The problem or question I have ...

I want qt window to resize proportional

Just as the title said, when I resize the window, if I make it widen , I want the window's height resize proportional to make the window has the same ratio. I just do the logic in paintEvent, but it doesn't work fine, can some guys have any solution? I don't think do resizing in resizeEvent is a great way, the best result is that window...

After .load, div won't change height, but after second it will

Hi everyone! Let's get straight to the code: $(".btn-slide").live("click", function(e){ if (e.preventDefault) { e.preventDefault(); } else { e.returnValue = false; } //deo za dobavljanje odgovarajuce stranice link = $(this).attr("href"); if($('#post-content').hasClass("active")){ $("#post-content").slideT...

google chrome drag textfield

Im making a website, in one of my pages im using a textarea, but when im look in google chrome i can drag the textarea very big. is there a way to disable this? THNX! Stefan ...

How to know in Flex when the user has completed resizing the browser window

I need to do some updates to components after a user has resized the browser window. Is there a good solution to determine when a user has completed resizing? I wasn't able to find any flex events that would cover this case. ...

Div resizes when using jQuery UI tabs

Hi folks, I hope we can find a way to fix the problem I'm experiencing. Problem: One of my divs (id='main_map' in the map.php page) does not display with the height and width specified in my css. However, when it first loads the page/tab, the div has the right size but not when I click on the tab (map tab). I'm using jquery-ui.js and ...

TinyMCE - image re-size handles disappear after re-size

After resizing an image in TinyMCE in Fire Fox, the re-size handles disappear. Is there a way to fix this? ...

Split pane using CSS3 Resize property

Hello, I've been trying to do split pane resizing using the CSS3 property. Here is the code: <style> div.left, div.right {float: left; outline: solid 1px #ccc; resize: both; overflow: auto;} div.left {width: 20%} div.right {width: 80%} </style> <div class="left"> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. </div>...