layout

Cross-browser three column layout

Lets say I have one row with three columns - some buttons on left and right side and fluid middle width. If the contents of the middle column reaches over into the area of the middle column, the overflow should be hidden. This solution works well on Firefox but the output of Opera and IE6 is much different. <div style="width:/fluid/"...

Custom scroll layout with fisheye in WPF

I know Windows Forms quite good but I'm new to WPF. I'd like to create application similar to RSS reader - in main window every note will be displayed in Post-it like frame and all notes should be chained and scrollable up and down. I also want to include kind of fisheye view - single note will be displayed full size in the centre of t...

c# GUI layout manager

Hello, Which GUI layout manager is recommend these days? I saw SmartLayouts (looked nice to work with) and the devexpress extralayout control, but not quit sure about this one. Are there other players on the marked? What experience do you all have with these controls? Thanks ...

size the height of a flex component to fill the space available on stage

Im trying to create a layout in flex using mxml, the layout contains a Canvas component and a Box. The layout should always be such that the Box sits at the bottom edge of the application and has a fixed height, whereas the Canvas fills the remaining stage area and does not overlap with the Box. My MXML is as follows; <mx:Module xmlns:...

Placing the right content into the right place

Hello, I'm in the proccess of creating my own web profilo and personal website. I have a layout and a design already done. Now I have no idea where to place my content and how. I have a layout like this: Menu Header Box 1 | Box 2 | Submenu In the header I currently have "about me" information but I'm not sure it's the right p...

How to keep an unordered list centered within the screen??

I have the following unordered list within a div: <div id="footer"> <ul> <li>Blog</li> <li>|</li> <li>About Us</li> <li>|</li> <li>Privacy Policy</li> <li>|</li> <li>Copyright</li> <li>|</li> <li>Contact Us</li> <li>|</li> <li>Press Inquiries</li> </ul> </div> I want this footer text to stay centered i...

WPF ListBox Width / MaxWidth

I have a databound ListBox with a DataTemplate setup. The DataTemplate contains a Grid control with two column widths of Auto and *. I would like this column to always fill the ListBoxItem and never extend past the LisBox control to make the horizontal scrollbar visible. I am able to bind the MaxWidth to the DataTemplate's grid using:...

Why have my images got extra spacing?

Can anyone tell me what is causing the space below the images? There seems to be extra padding in the divs with the red border relating to the images. I cant find this spacing in firebug at all. Baffled. ...

Java - Layout Manager Selection

Is there a simply layout manager I can use in a JPanel to create something akin to a bar chart? FlowLayout almost meets this need. The added component orientation needs to be left to right (default for FlowLayout), but they need to "rest" on the bottom of the panel with excess space at the top (not available in FlowLayout). Also, the com...

Magento My Account Layout XML Problem

Hi there, I'm having issues getting the customer.xml layout file to work properly for the customer's "my account" pages. The navigation links and the previously ordered items that are usually on the left hand side of the page won't show up on the page, but if I change the reference name to "content" in the xml file, it shows up (except...

web design PSD to html -> more direct ways?

At work I see one colleague designing a site in Photoshop/Fireworks, I see another taking this data, slicing it up and using Dreamweaver to rebuild the same from scratch. It seems like too much mucking around! I know that Photoshop can output a tables based HTML, and Fireworks will create divs with absolute positioning; neither appear...

How to cope with different lengths of labels– dynamic layout

I have to enable all the text in a winforms application to be replaced; it is an old application and is in “maintenance”. The application was written in .NET v1.1 and later bits of it in .NET v2 therefore it does not use any layout controls. The problem I have is that I need to make the UI cope when a string is longer then the default...

Customer: Website is not user friendly? Are there common rules or standards to do this?

We developed an asp.net website for one of our customer. We followed our rules and standards while building website. While showing it for customer, he said: it's not user friendly. Are there common rules/standards for developing user friendly website? ...

Magento Custom Module, Fatal error: Call to a member function setFormAction()

When I hit my module on this url http://localhost/xxx/index.php/TradeEnquiry I get this error Fatal error: Call to a member function setFormAction() on a non-object in C:\wamp\www\stockdisplays\app\code\local\Stock\Tradeenquiry\controllers\IndexController.php on line 55 Line 55 is this: $this->getLayout()->getBlock('tradeen...

Why is JFrame layout not the one I set?

If I set a layout on a JFrame with setLayout and then retrieve it with getLayout then I get a different LayoutManager. What is going on here?? public class Lay { public static void main(String[] args) { java.awt.EventQueue.invokeLater(new Runnable() { public void run() { java.awt.Container contain...

android LinearLayout

I want to lay two TextView to the left, and one button to the right inside a linear layout, is this possible? The following is my code where I had to hardcode the leftMargin of the button, this is inflexible. Is it possible to layout children that flows in different directions? <LinearLayout android:id="@+id/widget43" android:layout_...

Force WPF ListView to update DesiredSize before being rendered

Hi, I have a WPF ListView with "Auto" column widths. After rendering, the column widths correctly match content, that is ok. I need to determine the correct (rendered) DesiredSize of the ListView right after assigning to ItemsSource, prior to rendering. The problem is that calling Measure() breaks the Auto width behavior - it resizes t...

Magento: Including a module template into the checkout process

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...

How to get the glyph size of a font?

Under Solaris 8, CDE, I want to write a script that displays two or more applications on a screen, with a 5% margin. The method depends on the -geometry argument, which we're ok with. This needs to be able to be resolution independent, and that's turning out to be a problem. Some of the applications (dtterm/xterm), measure the -geometry...

Logic in Rails Layout?

I think I'm approaching this the wrong way, which is why I can't seem to figure out an easy solution. I'm relatively new to Rails, so bear with me. I have a layout, "store," that contains all of the common visual elements for the other controllers. In this layout, I need to dynamically create the sidebar with data from two models, Produ...