layout

flex VideoDisplay child always to be the same size as the VideoDisplay

i have a VideoDisplay <mx:VideoDisplay id="myVideo" width="100%" height="100%"> </mx:VideoDisplay> and i put the video like this: video = new Video(); video.attachNetStream(ns); myVideo.addChild(video); and i want to make the child inside VideoDisplay to resize with him to make his size 100%/100% (size of the child) cuz vid...

Can I use MiGLayout with C++?

I wonder if there is a C++ port if MiGLayout or if there is a way that I can use MiGLayout with C++. ...

IE6 breaks cached design

I have a design which loads nicely in IE6, but as soon as I reload it 1-2 times, it all of a sudden collapses. When I upload an updated version, it recovers from it, and breaks after a few reloads. On a sidenote: I can't test the site on a "real" IE6, I'm using the IEtester found here: IE Tester Maybe it's a problem with this program? ...

How do I make a div expand to the width of the page with css?

I have a page with a couple of divs, sort of like this: <div id="div_one">blah blah blah</div> <div id="div_two">blah blah blah</div> I want them to be centered horizontally, one after the other and for the second to expand to the width of the page. ...

What is the maximum practical height and width for a Web application?

Suppose I want to make a Web application which uses a fixed width and height, and I want the interface to fit on screen for common screen resolutions. Assume the application will only be used on laptops and workstations (and not on mobile devices), and it will be used by IT professionals. What is the largest possible size I can make th...

How to have Width and Height reflect ScaleTransform and how to ScaleTransform by setting Height and Width?

I have an issue with regards to using a ScaleTransform on a Canvas in Silverlight, the Canvas scales correctly, however the Height and Width values always remain the same. e.g. a 100x100 Canvas scaled so it appears 200x200 is still 100x100 with regards to the Height and Width values, how can these be updated to reflect the new size. A...

WPF layout on a Window

I have a couple of listboxes on a WPF Windows, with Height="Auto" Width="Auto" set on the form The form sizes perfectly on different resolutions, but the problem is that when I press the maximise button a thick "Black L" is visible while the form resizes. I have seen this on quite a few WPF applications, but not had to solve the proble...

(Android) How do I prevent an EditText from resizing itself when the user is typing?

I have an EditText and a button set next to each other on the same horizontal line. It looks great, except when the user enters a lot of text, the EditText is resized, and the button is squished. I have both EditText and Button set to layout_width="wrap_content". "fill_parent" messes up the layout, and I don't want to use absolute siz...

Are fluid websites worth making anymore?

Hey guys, I'm making a website now and I am trying to decide if I should make it fluid or not. Fixed width websites are much easier to make and also much easier to make them appear consistent. To be honest though, I personally prefer looking at fluid websites that stretch to the full width of my monitor. My question comes from the fact...

Problems with displaying XML-based layout and adding text dynamically

Hi, I have a LinearLayout defined in XML that I want to use repeatedly to display elements of a list. The XML-layout looks like this: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wr...

flex spacing inside vbox , hbox

children inside hbox and vbox have spacing between them, how do you remove this empty space i need to have 0 space between child elements of a hbox or vbox ...

flex vbox child elements to take 100% of width without indicating width="100%"

is it possible to make the child elements of a vbox to occupy 100% of the width without indicating width=100% for each element ? ...

How to prevent scrollbar from repositioning web page?

I have a website with center-aligned DIV. Now, some pages need scrolling, some don't. When move from one type to another, the appearance of a scrollbar moves the page a few pixels to the side. Is there any way to avoid this without explicitly showing the scrollbars on each page? ...

css custom checkbox layout

Hi, What I'm trying to accomplish is simple : change the layout of the browser checkboxes via CSS. Is it possible? Or do I need to use javascript for that? And how? Thanks in advance! ...

Dojo/Dijit Layout - tried to add a banner at the top of an existing layout

Please look at these two attempts: http://3wcloud-com-provisioning-qa.appspot.com/testDijitLayout?menuStyle=dijitTest1 http://3wcloud-com-provisioning-qa.appspot.com/testDijitLayout?menuStyle=dijitTest2 Test1 doesn't show the body, but the header is correct. Test2 shows the body, but the heading/banner is behind the dojo components. ...

Creating custom layouts in BlackBerry

I want to create a RichTextField at the bottom half of the screen, while I paint my own custom graphics at the top half of the screen. Is that possible in BlackBerry? It tried defining a LayoutManager and trying to position the RichTextField at the bottom of the screen but the RichTextField, scroll through the entire screen. This is the ...

Swing Overlapping components

I have two AWT components in a Frame, Panel A and Panel B. I would like panel A to be sized to the height width of the frame (and maintain that size on frame resize), but I would like panel B to overlap A. B will be at a fixed position (0,0 to make it easier) with a fixed height and width. I'm not sure what kind of layout manager I would...

Setting background and font colors for RichTextField, TextField

How do we set the background and font colors in a RichTextField? I tried to override the paint() method in addition to what has been described here, but when I scroll down in, the background gets erased or reset to a white background ...

Editing table layouts in jQuery

So I'm building a CMS and for a given page, I want to let the client layout the page (not the site layout, the page layout, i.e. the content; headline, text, imageboxes, more links and such) with the given elements. Since table layouts are easy to understand for a client, I'm going to use that. Spare me the "always use CSS layouts" comme...

Removing space character between two image elements

There are 2 small images on a page: <a href="link.htm"><img src="image1.jpg" /></a> <a href="link2.htm"><img src="image2.jpg" /></a> When they appear on the page, they do not appear directly next to each other like I would expect, they appear with a space character between them. I sort of understand why this space is appearing (ther...