layout

how to remove the borders in JQuery Layout?

Hello I am using jquery layout plugin from http://layout.jquery-dev.net/ . my options are following: <script> $(document).ready(function(){ // create page layout pageLayout = $('body').layout( {applyDemoStyles: true, spacing_open:0, spacing_closed: 0, slidable: false, togglerLength_closed: 0 }); pageLayou...

Changing the height and width regarding your screen Size

How to change the size of height and width according to the screen size? ...

How to put a gallery into a widget in the home screen?

I am trying to create a gallery inside a widget in the home screen ....as i am new to android please do give me guidelines and the source code ... ...

how to get width in pixels of view with android:layout_width="wrap_content"?

I have view, which have layout_width="wrap_content". If i use view.getWidth() in code, it returns 0. :-( How can I convert width of view "wrap_content" to pixels? ...

Marquee in android

In my android application i need to scroll a marquee text continuously. in my Xml i have this code: <TextView android:id="@+id/widget28" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:singleLine="true" android:ellipsize="ma...

Can I force a specific layout orientation, but have an opposite keyboard orientation? Android

I understand how to force a specific orientation per activity in the android manifest. I would like to know if it is possible to allow the keyboard to change orientation even though the activity(the layout really) must remain unchanged. ...

How do I get Visual Studio 2010 to open in the same layout/state it was in before I closed it?

This is a simple question, but one that I can't seem to find an answer to. At work I have VS 2010 on a Windows 7 machine with 3 monitors. I also have nvidia's 'nView' and UltraMon to utilize my 3 monitors. What happens is when I open VS 2010 it opens as not maximized, but is fit to one monitor. This compacts everything in the VS window...

gtk: expand widget as if it had some text in it

I have a GTK widget, in this case, a TreeView. It starts off pretty small and compressed, as there's no text in it besides the columns names. As I add things, it grows horizontally to cover the text and vertically to cover the extra rows. If I then take those away, it retains its expanded size. It's kind of annoying for your window to a...

How to use minWidth, minHeight of a DevExpress LayoutControl ?

I have started to use DevExpress LayoutControl a bit. It feels powerful but I don't get it as I want. I want to set a minwidth and minheight of components as you can't have a dialog real small and it still look good. At the same time I want to let the user have arbitrary big size and let the components have equal share of the width and h...

Flex List auto height

Is it possible for a Flex List to adjust its height automatically for the number of rows it's displaying? The problem I'm having is that the List renders taller than the number rows. The number of rows is dynamic so I'd like the List to automatically adjust its height based on its content. I've tried setting height="100%" which doesn't h...

How do I force footnotes to the very bottom of the page when the page is not full?

In my thesis, I'm finding footnotes get placed just below the lowest text on the page. This means that the footnotes won't necessarily be placed at the end of the text box (of height \textheight) but on a half-full page will be quite a long way from the "foot" of the page. Is it possible to make the footnotes go all the way to the botto...

10,000 foot overview question on SQL Server query composition

I've just migrated from Access where I would "write" SQL constantly and quickly using their GUI layout. I'm very new to SQL Server and am puzzled why is there no query GUI in SQL Server. Is it just that much more powerful that a GUI wouldn't be able to address the majority of queries? Or is it like a purist thing where once one is no ...

LinearLayout text wrap problem when having two buttons of same size plus one stretched in the center

Looks like there's a plenty of questions about centering, same size etc, but so far I didn't find the exactly my case so I dare to ask :) What I need is a layout of three buttons like this: [ previous ][*select*] [ next ] where [previous] and [next] buttons are of the same size (i.e. in this case, size of the [previous] button as i...

How to make ScrollView with a RelativeLayout with multiple child layouts fill the screen?

I have a layout that has just a ScrollView visible. It has a relative layout as its child. This layout has several other layouts (mainly text views) as its children. When the text is not big enough, the scroll view does not expand itself to fit the whole screen. Instead, it shows a gap at the bottom where the background shows. I tried se...

In a RelativeLayout how to prevent objects from piling up on eachother?

I'm starting to use RelativeLayout more and more but there are some things I keep running into. Say I have a status textview that I want top and center. Then I have a bunch of other objects below it like images and a table layout. I want the stuff below the status text view to respect the status textview's personal space and not draw...

pop-up type view (z-index?) - android

I want to add a new view to my scene that will contain content that will change programatically throughout the course of my application. When it does change, it needs to pop up on the screen for 3 seconds (or a click) then disappear. This view will change in size according to its content WRAP_CONTENT, but ideally I'd like it centered h...

Failed to set a Button below a MapView

Part of my Layout is shown below, but the Button shows up above the MapView and NOT as expected "below" the map. How can I fix this? <RelativeLayout android:id="@android:id/tabcontent" android:layout_width="fill_parent" android:layout_height="fill_parent"> <com.google.android.maps.MapView android:id="@+id/ma...

build an image viewer with card layout?

i got the program to run with labels but i cant get it to use images. im a beginner and this is all i can come up with so far. it runs but i dont understand implementing images into this code. import java.awt.*; import java.awt.event.*; import javax.swing.*; public class CardLayoutExample extends JFrame implements KeyListener { priv...

Algorithm for footnote layout with columns

I have implemented a basic page layout algorithm for footnote placement. Basically: Layout a line of body text. If it contains footnote references, lay out footnotes line by line. Go to 1. At every step, I check to see if the total height (body text + footnote text + gap) exceeds page height. If it does, I remove the most recently l...

CSS looks bad in Opera and IE; where should I start?

I have just completed my website, and it looks good in FF, Safari and Chrome. Opera looks alright, but not as good as FF. IE looks very bad. Is there any application for checking bad CSS and just fix it? If not, what is the easiest way to cross-browser adjust a website? Below is only one of the many problems I have with appearance... ...