height

Set row height from the height of an image loaded from a plist.

I have a UITableView that displays single large images in each cell. The names of the images are stored in a plist. I would like to adjust the hight of each cell to accommodate the height of the image. Does anyone know of a way to get the height for an image and use it to set the row height? I'm having trouble finding this one and rea...

Flash 8 Actionscript - Stage.height

I am building a complete site using OOP AS2. I want to be able to change the size of the flash window (the stage) according to the "page" that the script is currently showing. In other words, different pages will have different hieghts and I will need the browser scrollbar to act accordingly. Must javascript be used? ...

Dynamic SharePoint web part width and height

I am trying to dynamically adjust the width and height of a web part in a SharePoint web part page so that it fills up the entire available space. It appears that there is no way to choose a percentage for width and height from the web part property editor window in SharePoint. Also, trying to dynamically set it on the web part instance ...

How to get Body element height dynamically using JQuery

I need to get the body element height and width, when i resize the browser windows Please help me to solve this problem using JQuery ...

jQuery web page height

Let's say that a web page is twice the height of the browser window (thus there's a scroll bar). How do I retrieve the height of the web page in jQuery? ...

UITableView UINavigationController Tabbar height

Hi, I use a UIViewController, that is managed by a TabbarController. I added a UINavigationcontroller with a Tableview as a rootView. Somehowe the height of the scrollable area of the tableview is some pixel to large. Do you have some hints? I found people having similar problems but no good solution. I took a look at Apples elements ...

Can I get TComboBoxEx to be the same Height as TComboBox?

In Delphi, all the TEdit and TComboBox controls are 21 pixels high by default. In the case of TComboBox, this size is absolute and trying to stretch it to something bigger doesn't work. In the case of TComboBoxEx though, the default height is 22 pixels, which makes it stand out a little on any form where you use it. Now according to the ...

Setting a WPF control to expand to fill available space, and no more

How can I set up a WPF control to fill the available space in its parent's container, but not expand the parent? The following snippet describes the layout I am attempting. I would like the Grid to stretch to accommodate the Expander, and I would like the ListBox only to fill the Grid. I want the ListBox's scroll bar to appear when the ...

How to dynamically change the height of a div

How do I dynamically change the height of a div. Why does this not work: var priceBarElement = $("priceBar"); priceBarElement.style.height = request.responseText+"px"; Which I hope to use to change the priceBar div which is given by this line further down. <div id="priceBar" style="width:28px;margin-top:20px;background:#F00"></di...

How can I set exact height of listbox in winforms (C#)?

Hello, I've been having some difficulties with setting height of listbox. Code like this... listbox1.Height = some_number; ... works only for some numbers. It seems that height of listbox may be only multiplication of height of its element. Is there a way how to "override" this behaviour? Thank you for help! ...

How to make height of a dijit Accordionpane dynamic

I can't figure out how to tell the accordioncontainer to set height of its accordion pane to auto so that the height of the pane is dynamic depending on its content. In the following code I am adding two panes to an accordioncontainer. One has height of 10px and another has 90px but in both cases the height of the accordion pane is cal...

CSS: Set Div height to 100% - Pixels

I have a header on my page which is just over 100px (111px to be exact) The div below it needs to extend to the bottom of the viewport, as if i had set the bottom to 0px. The problem lies in the fact that i cannot specify top and bottom in ie6 (bug). I can either specify top: 111px or bottom: 0px, but i still need the height to be corre...

WPF UserControl TreeView Height

I have a user control which contains a StackPanel and TreeView. All controls have the Height="Auto" When I use the Cusotm control on a window and set Height, say Height=800 The STack Panel grows to this height, But the TreeView does not auto heigh adjust. UserControl: <UserControl x:Class="WPFDataBinding.ucCompanyTreeView" xmlns="h...

100% 2 Column Height CSS Problem!

Hi all, I'm using this layout to create a 2 column fluid web page. What I can't seem to do is make it so that both the columns in the layout have a height of 100% therefore pushing the footer to the bottom of the page! Whats the best way to achieve this effect? Thanks in advance! ...

jQuery problem: onClick animate marginTop -= 50px, height +=50px

Hello people, I have hard time understanding and creating a proper function using jQuery. I have 2 main areas in my site. The first is the content area that appears over the other area I named panel. All I want is this panel when I click on a specific link to move a bit upper and to resize to the size of the movement. It should repres...

How can I chronologically stack different height divs in two columns?

I have two columns and want to stack divs of different heights in order of appearance. The divs are dynamically created. I have tried to do this by floating the first story to the left and the second to the right, but their still seem to be some anomalies. Have a look at this demo, it should explain it all. http://dl.getdropbox.com/...

Opera Scrolls Page to Invisible Elements

I'm working on a simple game engine in Javascript (crazy, I know.) Screenshot from Opera: http://img406.imageshack.us/img406/5818/gamek.jpg Although it looks like a tile engine, it's actually object-based; each row or column of grey blocks is a single <div>, positioned relative to the viewing area (box with red border). The viewing area ...

Sticky Footer CSS Problems

Hi all, I have been able to design my layout so that it has 2 columns and a width of 100%, you can see that here. Now I'm trying to implement a sticky footer (100%) height with this layout which also has the background in the right hand column flow down the footer and also with the border I have in the left hand column. Is there a way...

WPF Adjust Grid Height according to listview content

Hi to all, I have a listview with several rows, the problem is that even if the vertical scrollbar is visible, it doesnt work, I explain, it seems that because the grid height is Auto, then there is no maximum height and all the content is displayed, even if part of it is not visible, the only part-solution I've found is to set pixel he...

html - div, minimal size

Hello, how can i set minimal height for div? But it have to resize with new data. ...