layout

WPF layout issue

Hello, I have an issue with how to organise the the screen layout for my data. I have a object A with properties A1 and A2 and may contain an Object B. Object B has properties B1, B2, B3 and a collection of 1 or more of object C. Object C contains properties C1, C2 and C3 I want the the layout to be A1 A2 or A1 A2 B1 B2 ...

Magento XML layout with custom modules

Hi, I'm trying to include a custom template into the checkout process on the shipping page. I want that template to adopt the functionality of its parent template so I can use any of the shipping variables within the template. However I can't get magento to load the template. Here is my XML (the header scripts are adding successfully...

Html layout and have the body content extend past the set width and remain on same line

I have a layout with header, footer, body content. It is a pretty standard layout. We have reports that sometimes extend past the hard coded width' But we need the left nav and the body content to the same line. With this HTML code below, if the width extends too far (say there is a content in the body that has more than 900+ width) ...

Magento Template Variables

Hi, Is it possible to pass a variable from a parent template to a child template. For example, if i wanted to put some repeated HTML in a separate template that was included within a foreach loop in its parent template <?php foreach ($items as $item) { echo $this->getChildHtml('item_info'); } ?> I would want to be able to access ...

Anchored control runs off the form by itself

I have a control I built with several input controls on it, some text boxes, a combo box and a list box among other things. One text box, a combo box, a list box and a couple of command buttons are anchored so that they resize with the form. The combo box is anchored to the left, top and right, the listbox is anchored on all four sides a...

Internet explorer 7 iframe is moving when clicking on link

I have a problem with an iframe, which moves the parent frame layout around when clicking on an anchor(or the javascript link which has an anchor, not sure) The whole iframe moves to the left of the page. demo on [removed, sorry], click on a link in the map. ...

multiple grid form layout

Hello: I have a time sheet type of presentation, which is currently using three (3) datagridview controls on a winform as follows: 1) projectGrid - rows are variable, with one for however many projects were worked on that week (typical is 1 to 5 for most users). 2) nonProjectGrid - four rows of fixed activities one can record time spe...

Simple CSS problem: Title text on upper left, Button on the upper right

I have a page where I need a piece of text to appear aligned to the upper left of an absolutely positioned element (a span, if it matters), and a button to appear aligned to the upper right of the same element. edit: Problem with this is even when I use float: right; and display: inline; the button still likes to drop the next line. Cu...

Dynamic Button Layout without hard coding positions

I would like to implement a view (it will actually be going into the footer of a UITableView) that implements 1-3 buttons. I would like the layout of these buttons (and the size of the buttons themselves) to change depending on which ones are showing. An example of almost the exact behavior I would want is at the bottom of the Info scree...

How does Web Design differ for SAAS over traditional websites?

Looking for guidance on how UI design differs for multitenant applications. Pointers to whitepapers and blog entries greatly appreciated. ...

Ruby on Rails - render layout

I'm trying to split up a web site into two sections. One which should use the application layout and one that should use the admin layout. In my application.rb I created a function as follows: def admin_layout if current_user.is_able_to('siteadmin') render :layout => 'admin' else render :layout => 'application' end end ...

How to make an Android SlidingDrawer slide out from the left?

I'm using a slidingDrawer in my application that has its handler placed at the bottom when in portrait mode. When the user switches to landscape mode (widescreen) I would like to have the handler located on the left. When I change the orientation from vertical to horizontal, the handler is placed on the right. I have defined my layout ...

three columns fluid layout

You can copy&paste the following markup and css to see the effect. The problem exists in the "footer" part. Now "column1" and "column3" are absolutely positioned. It works only when "column2" is highest. How to make the "footer" not interleave with column1~column3 under all conditions? markup: <body> <div id="mainwrap"> <div id="he...

Porting webkit layout engine

I want to port webkit based browser to my stack. Can anyone tell about the organisation of the webkit browser engine? Currently what i know is that it has cores for rendering html & parsing javascript. I would like to know more, like how the javascript and renderer cores interact with each other? ...

Letting a Java Swing program layout itself again

I always have trouble with Java layouts, but the main thing bugging me now is that when the content changes, in particular changes it sizes, it's not laid out again properly. Take the example below: package layouttest; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swi...

How to change orientation of Android SlidingDrawer by code ?

Hi I cant find a way to set the orientation on my SlidingDrawer when i change from landscape mode to portrait mode visa versa. Initially i set the orientation by xml to vertical. I need to change the orientation to horizontal when the phone is in landscape mode, so i get the handle on the left. Any ideas anybody? ...

SSRS Report Custom Prompt Layout

Is it possible with business intelligence development studio to create an SSRS report and easily customize the way that the prompt fields are laid out (mainly the location)? It looked like it defaults to grouping them horizontally, I would want to perhaps group the prompts into section. I'm just getting into using SSRS so my knowledge i...

How to make 2nd element get rest of the horizontal space

I want to make first input have the width 100% and second + image = 100% so that second input get the rest of the space (100%-img size) on the same line. Is it possible to do using CSS? <html><head><title>width test</title> <style type="text/css"> .t { width: 100%; table-layout:fixed; } .caption { text-align: left; wid...

CSS 3 Column float (2 fixed, 1 dynamic)

I'm designing a header which is made of 3 parts. The page must be fluid: min-width:940px; max-width:1200px; The first two parts of the header will be fixed size: left middle right <---------><---------><-----------------> 134px 183px (Fill the remaining space) I'd like the right part to change depending...

Is CSS layout really as delicate as it seems to be?

I have been experimenting with the Majestic template at freecsstemplates.org. So far so good; I really like the look (or to be more specific, my boss really likes the look). However, I am noticing that the CSS that drives this template seems very brittle; small changes can cause really radical breakage. In particular, if I reduce the...