expand

Automatically expanding all the children of an NSOutlineView?

I'm writing a wizard with template categories and I'm contemplating using an nsoutlineview to present the user with a hierarchical list of possible templates. However I can't seem to find a way to automatically recursively expand all of my NSOutlineView's items. I tried [templatesOutline expandItem:nil expandChildren:YES]; ... but t...

How to expand window contents when scrollbar is not visible in wpf?

I have a scrollbar in wpf around a ItemsControl, which is only visible when the list is longer than the window size. However, when it is hidden, there is a blank white space where the scrollbar should be. How can I remove this space and "collapse" the scrollbar instead? <ScrollViewer VerticalScrollBarVisibility="Auto" Hor...

[autoconf] how get fully expanded variables out of configure?

hi all i created a configure.ac file like this: AC_INIT() set the purpose of this is to print every available environment variable the configure script creates using 'set' so i do: user@host:~$ autoconf user@host:~$ ./configure which prints a bunch of variables like build= cache_file=/dev/null IFS=' ' LANG=C LANGUAGE=C d...

jquery - Collapsing / Expanding divs?

Trying to create collapsible / expandable divs using jQuery, but it's not working for me at all... Each h3 should expand/collapse the div beneath it, and I'm not sure why this isn't working... Granted, is a heavily nested div, but I thought that the script below would find the uforms class regardless of how much other markup is on the...

How to expand JTree nodes (in advance), but keep them invisible

Hi, I seems to me that when i call JTree.expandPath( path ) That by default all its parents are expanded as well. But what i actually want to do is, set up specific invisible children to be expanded in advance. So that when a node is expanded that its complete sub-tree pops-out. I've found that internally in JTree expandedState...

Need CSS sidebar height to expand with content.

I have a two column layout, with a gray sidebar on the right. I need the sidebar's height to expand when the height of the left column is increased (due to content being dynamically expanded). I can make the sidebar fit a static page, but I cannot get it to increase in size with the rest of the page. Did some Googling, but couldn't find ...

ASP.Net TreeView Expand/Collapse All does not work when node icons are present

I've used the following js code to expand/collapse all nodes of an ASP.Net TreeView control: // handle tree - this doesn't seem to work when the tree contains node images function TreeviewExpandCollapseAll(treeViewId, expandAll) { var displayState = (expandAll == true ? "none" : "block"); var treeView = document.getElementById(t...

rich:datatable and expandable column with internet explorer

I created a simple solution for expandable columns/rows with rich:datatable and rich:column, which is similar to: http://stackoverflow.com/questions/358840 The facelets code is (simplified) as follows: <rich:dataTable id="detailtable" value="#{bean.model}" var="row" columns="2"> <rich:column id="detail-check"> <...

Filling the parent with Qt widgets

I'd like to create an application's main window in qt4 designer. When I add a layout element to the centralwidget, that element stays in the middle of the window and does not move when the window is resized. How can I make it "fill" the whole area (and resize its children properly)? All children widgets of my layout are expanding proper...

Jquery solution hide/show easing expandable effect?

Hi does anyone know an effective jquery fix that does something like the sidebar effect on this website. I suppose its like an easing expandable effect? http://wordpress.digitalnature.ro/mystique/ Thanks judi ...

Zend Studio for Eclispse Expand All feature

Hello, is there a way to select a folder and somehow expand all the child folders of the selected folder? It would be very useful. The issue that I imagine is that because in Zend Studio php files are expandable also so they can show their classes namespaces methods and etc if there is a way to expand a folder and all its subfolders it ...

PHP Convert to int

Hi, Im not sure what this type of number is '1.3122278540256E+18' but how can i expand it into an integer? Thanks!! ...

Increasing height of a div while dynamically loading content...

I have a div which contains an unordered list... After some user actions i load the div with a longer list i.e. containing more list items than the previous one. I use jquery's higher level ajax functions to do this. The problem is when i load it through ajax the list elements overflow the div's bottom portion and some of them get's di...

Speed up expand/collapse all nodes of a JTree

Hi! I have a JTree with about 100000 nodes or more. Now I want to expand the whole tree. To do so I use the solution I found here. My problem is that expanding such a large tree takes like 60 seconds or more, which is not very convenient. Does anyone have any suggestions how I could speed up expansion? Thanks in advance... ...

CSS table - Expand input box the entire length without wrapping to new line

I have a form with elements structured as so: <div> <label>Name</label> <input type="text" name="name" /> </div> <div> <label>Address</label> <input type="text" name="address" /> </div> The way I want it to look is, the label is positioned next to the input box and the input box expands to fit the entire container. If I s...

Jquery: Unmasking/Revealing Corner

Hi, I am working on this site: http://waterwing.waterwing.ca/ And as you see the top right corner, when you hover over it, will expand. I need to change this effect to an extent. It will need to slowly reveal/unmask the rest of that darker trangle when you hover as opposed to expanding it. This site has a good example: http://www.so...

Create a text box with an auto-expanding width?

How would I go about creating a textbox with an auto-expanding width to fit it's content? I keep finding plenty of info on height based expansions but not much on width. I'd also like it to apply to every textbox on the page and not just specific ones. ...

Visual C# Express 2008

hi, when coding in Visual C# Express 2008 you can expand/collapse code segments using the +/- symbols on the left hand corner of the text-editor. These appear automatically when a function is created. Is their anyway i can manually add a expand/collapse point to a code segment. ...

Expand collapse of table rows in Datatable JSF

Hi, I have been trying to achieve this functionality of expand/collapse of table rows using core JSF and also I have to preserve the sorting. Is there a way in core JSF where I can achieve this functionality? ...

Qt, making UI that shrinks and expands

I'm trying to learn how to create the layout of my Qt Symbian application so that it will expand/shrink and fit into the screen size of different devices. In my default ui I have added a QTabWidget with five tabs that I want to fit into the screen of the device. I have two problems: How can I make the tabs to shrink to always fit into...