View remaining content of a full ocuupied window after resizing

2009-02-05 Thread aragorn
I have created a webpage which fits itself to the size of the browser window at start. Whenevr it resizes, I want to get a scrollbar which will help me navigate the entire page. I tried using CSS overflow property but that doesnt work as in i am not able to view all the contents. The scrollbar

Get remaining height of a panel or window

2009-02-05 Thread aragorn
Imagine I create a containerPanel which contains 2 different panels- consider A and B. One of these contained panels, say A, changes its dimensions at runtime so I have to reset the other panel B's size accordingly. Is there any way to get the current height of that panel A. What is the

how to listen to ESC key for popup

2009-01-15 Thread aragorn
My application displays a popup whenevr a particular button is clicked. Now i can hide the popup whenever the user clicks the mouse outside of it using the default popup-panel property provided by GWT. Apart from that I also need to listen to keyboard so that if the user hits ESC on the keyboard

set fixed size for popup and enable scrolling within it

2009-01-15 Thread aragorn
I have a popuppanel which wraps a flowpanel within itself. Now i want this popup to occupy only some portion of the screen. In case the flowpanel exceeds the mentioned limits, the popup should display a scrollbar. I tried setting this using CSS by usinf overflow:auto but it doesnt work. If u know

GWT increases panel size

2008-12-23 Thread aragorn
Hey i just noticed a strange behavior in GWT. When you create a GWT project and run it in hosted mode and then open it in browser, the size of the output is visibly different. GWT increases the panel dimensions in the browser. I created a project having a panel at the extreme left with width

Re: vertical alignment doesnt work while horizontal alignment does

2008-12-15 Thread aragorn
. The above code will work well in css only if u specify it in pixels explicitly which is not really favorable. Your code does exactly solve my problem but i need to solve it using css. Thanks and regards Aragorn. On Dec 15, 5:30 pm, gregor greg.power...@googlemail.com wrote: Hi Aragorn, This is what I

Re: can we disable the default scrollbar in HorizontalSplitPanel

2008-12-15 Thread aragorn
Thanks again Gregor But here again i need to use CSS for all positioning and layout. No positioning or layout is supposed to be performed in the actual code. On Dec 15, 6:09 pm, gregor greg.power...@googlemail.com wrote: Hi Aragorn, In this case I had to explicitly size the left component

can we disable the default scrollbar in HorizontalSplitPanel

2008-12-14 Thread aragorn
I am using a horizontalSplitPanel to divide my window into two parts- left part has fixed width while the right one occupies the entire remaining space. I want to hide the fact that i have used SplitPanel by removing the default scrollbars the appear whenever the inner panels go out of size and

vertical alignment doesnt work while horizontal alignment does

2008-12-14 Thread aragorn
I am creating a vertical panel which contains 3 panels in it. now i want the topmost panel to always remain at the topmost region touching the top of the window. Similarly the bottommost panel should remain at the bottom touching the lowest part of the window. the middle panel should occupy the

Re: can we disable the default scrollbar in HorizontalSplitPanel

2008-12-14 Thread aragorn
the user to able to move the splitter) why use HSP? Why not use a 2 cell HorizontalPanel with a fixed left cell size and the right 100% width? On Dec 14, 10:32 am, aragorn sagar5...@gmail.com wrote: I am using a horizontalSplitPanel to divide my window into two parts- left part has fixed width

Re: vertical alignment doesnt work while horizontal alignment does

2008-12-14 Thread aragorn
and the middle one 100% which will minimize the height of top and bottom depending on contents and middle will fill out the rest. Or you can give a hard pixel height value to top and bottom and 100% to middle. On Dec 14, 10:23 am, aragorn sagar5...@gmail.com wrote: I am creating a vertical