height

Perspective correction by scaling factor in Matlab based on height or attitude

How do I compute the perspective correction by scaling factor in MATLAB based on height or attitude, i.e. assuming that when I am moving upwards, an area, say a square should shrink or expand if I were to descend. There are 2 scenarios for this: Case I: using imresize(), however how do I determine the scaling factor proportional to...

css layout height issue with grid like layout

So I have a large form and have grouped the like elements in fieldsets but all the fieldsets have different heights. I float the fieldsets to the left so any extra fieldsets will be pushed underneath (think the next row when reaching the edge of the screen). How do I get all the field sets to have the same height as the tallest fieldse...

Init grid row height doesn't work

Hi, this is my simple try-it application that create a grid with 2 rows. The 1st row's height is bound to a properties. The value I assigned to it only works at run-time. I tried to make it also work when design-time but I failed to do that (I used this thread to write my app). Please help me to see what I miss. Thank you! [Edit] The ...

Height of table needs to be same height as panel

In both IE8 and Firefox I am experiencing the following: I have a panel that is 30px in height, within this panel I have a single row table with 30px in height. When it displays on the browser window the table does not fill the height of the panel (there is a small amount of the panel showing on the top and bottom. How do I correct this...

c# - easy way to get maximum window x/y bounds?

I have a custom styled transparent window and i've seen a lot of issues handling min/max/resize behavior when you use transparency and "WindowStyle=None". When I tell my window to change it's windowstate to maximized it doesn't get it right so I want to override the logic there. It gets the width right but the height is all messed up an...

min-height 100% doesnt work on inner div

I have a div called "content" which I wish to at least take up the entire height of a window. So what I did was this: body { min-height:100%; height:auto !important; /* The following probably aren't relevant but I'll include them just in case */ min-width:600px; color: #fff; font-family:'lucida grande',verdana,helve...

CSS Relative-Absolute positioning and content height

I want to create a slideshow of images that are contained in a <ul>: <ul> <li><a href="images/01/large.jpg"><img src="images/01/default.jpg"></a></li> <li><a href="images/02/large.jpg"><img src="images/02/default.jpg"></a></li> <li><a href="images/03/large.jpg"><img src="images/03/default.jpg"></a></li> <li><a href="imag...

jQuery: get height of Element in pixels and not 'auto' in IE

Hi, I have got an HTML Element with content in it and height: "auto"; No I try to get its height with jQuery: height = $('#inhalt').css("height").replace("px", ""); In Safari and Firefox it works and gives me a number depending on the amount of text in the element. IE however returns "auto" which is right but obviously makes it h...

UINavigationController does not scale my main UITableView, if the NavigationBar titleitem has a height > 44 px

I have a UITabbarController where I show a UITableViewController. Now I have set a special titleView to replace content of the standard Navigation bar: self.navigationItem.titleView = titleView; My titleView is not only 44 px of height (as seems to be the standard), but it has a 70px height. This is properly displayed. The only problem...

CSS: DIV height problem on float set

Hi assume we have this code: <div id='upperDiv' style='min-height:200px;border: 1px solid #000000;'> <div id='rightDiv' style='float:right;width:75%;'> content1 </div> <div id='leftDiv' style='float:left;width:25%;'> content2 </div> </div> <div id='lowerDiv' style='height:50px;border: 1px solid #00000...

Jquery DIV element Scroll top and down ?

I have a div and some buttons. I have fixed the div with a particular height, and i have hidden the scrollbar. By clicking on a button I need scroll the div to the end of the line. for that I used $("#divid").height() & $("#divid").offset().height functions to get the entire height of the div but it returns what I have specified in the c...

Playable Heightmap

Hi, I have a game with infinity procedually generated terrain. I'm using 1/f noise for the height (I think this is perlin noise?). Anyway it looks nice, but its not very playable since it doesn't really have flat areas. Just decreasing the amplitude won't work since I still want a large variation in height. Does anyone know of a filter ...

problem with height in WebView

Hello, I have the next xml layout file: <ViewFlipper android:id="@+id/details" android:layout_width="fill_parent" android:layout_height="fill_parent"> <!-- ListView que define la lista de noticias --> <ListView android:id="@+id/list" android:cacheColorHint="@android:color/transparent" android...

changing EditText

When I change the layout_height of an EditText field in Android, the nice looking gradient becomes a hard gray line as you can see here: Is there a way to either fix or disable this gradient? thx Ben ...

IE7 DIV expands to fit TABLE, ignoring HEIGHT% directive

I'd really appreciate a hand getting my fixed-header table scrolling in IE7. In IE7, my tall data table is forcing its containing DIV to expand vertically, and preventing that DIV's scrollbar from showing. I'm using the excellent cross-browser (including IE7) scrolling, fixed-headers table layout solution from: http://www.sitepoint.co...

Height of 2-3-4 tree

I have a working snippet to use for a regular tree comprising nodes. Now I just need to fiddle with it to work for 2-3-4 trees, which should be easier, since each path is the same distance, since it's balanced, right? Methods I have at my disposal include getNextChild(), split(), and of course insert(). public int height() { return...

Height of a tree with only one node

According to Wikipedia, The height of a tree is the length of the path from the root to the deepest node in the tree. A (rooted) tree with only one node (the root) has a height of zero (or one). I dont get it-is it zero or one (or both)? ...