Questions tagged [layoutpanels]
15 questions
12
votes
2 answers
How to Reuse Existing Layouting Code for new Panel Class?
tl;dr: I want to reuse the existing layouting logic of a pre-defined WPF panel for a custom WPF panel class. This question contains four different attempts to solve this, each with different downsides and thus a different point of failure. Also, a…

O. R. Mapper
- 20,083
- 9
- 69
- 114
3
votes
4 answers
GWT TabLayoutPanel ie7 first tab collapsed
I have a TabLayoutPanel that I access from ie7. The first time I view the tab it is collapsed ~32px x 32px. If I select the second tab, the content area fills, and I can go back to the first tab and it looks correct. I am using and all the…

Matthew Sowders
- 1,640
- 1
- 19
- 32
3
votes
3 answers
Centering a panel in GWT using the layoutpanel system
On the GWT developer site there is an example showing a panel that is in the middle of a page. Is this possible to have a fixed with panel in the middle of a page using the GWT…

benstpierre
- 32,833
- 51
- 177
- 288
3
votes
1 answer
GwtChosen not playing well with GWT LayoutPanel and RootLayoutPanel
I am using GwtChosen 1.1.0 and GwtQuery 1.3.3. It seems to play nice only with RootPanel widgets and not RootLayoutPanel widgets.
Is being not usable with RootLayoutPanel a known limitation with GwtChosen?
Sample Code and screenshots below. Notice…

appbootup
- 9,537
- 3
- 33
- 65
2
votes
1 answer
Overwrite overflow:hidden from LayoutPanel's Layer
is there any way to overwrite overflow:hidden from LayoutPanel's Layer?
This is what I have:

user_1357
- 7,766
- 13
- 63
- 106
1
vote
2 answers
Middle center alignment in GWT LayoutPanels (Alignment.MIDDLE_CENTER equivalent)
How to place LayoutPanel in the middle center of parent LayoutPanel (RootLayoutPanel, screen, browser page)? Assuming the inner panel is of fixed size, outer panel is flexible and does resize (with the browser window).
In Vaadin it is one line…

Espinosa
- 2,491
- 24
- 28
1
vote
1 answer
Adding forms to flowlayoutpanel
I have an app that I need to be able to add child forms to a Main form. I can add the child forms to the main form at runtime easy enough, but when I resize the main form, the child forms do not resize accordingly.
I was wondering if adding the…

BladeHal
- 683
- 1
- 8
- 26
1
vote
2 answers
bugs about using DataGrid wrapped by StackLayoutPanel
I tried to use DataGrid and put it in the stacklayoutpanel.At the time when I provide the data for the ListDataProvider, the CellTable is not visible in the browser because it's on a non active tab (although it's visible in the DOM tree). After…

Joey
- 2,732
- 11
- 43
- 63
0
votes
0 answers
JLabel resizes image
When I set an image of 72 px width and 108 px height it gets bigger in a JLabel, being of 135 px by 167 px.
I need it to set multiple images in tiles in a scroll pane.
Here is the code:
public class TileViewPanel extends JPanel {
//Panels and…
0
votes
2 answers
GWT - DataGrid table with Filter in the same view / panel
I'm trying to add a DataGrid on my view.
I know that a DataGrid can only stay in a Layout Panel, because of the ProvidesResize and RequiresResize interfaces.
The thing is, I want to add a filter on top of the DataGrid Table, and the filter can't…
user3426416
0
votes
0 answers
How did Jquery Mobile make an un-closable panel in their docs?
On this JQM GitHub page, someone asks about keeping two panels open simultaneously. Whenever this question is asked on the web, the usual answer is that this is basically impossible with JQM and is generally not desirable anyway, and here is no…

Lenoxus
- 545
- 1
- 4
- 19
0
votes
1 answer
Panels Vs LayoutPanles in GWT
I'm a newbie to GWT.And i wonder when to use panels and when to use layout panels.I'm really confused.Can anyone provide a legit use case , where we need to use panels instead of layout panels and vice versa?.Thanks.

Karthik207
- 493
- 9
- 27
0
votes
1 answer
LayoutPanel with right alignment
I'm using a layout panel with some layers. One of the layers is quite simple but I want it to have a float: right on the element. But this is actually not working because subwidgets are styled with style="postition: absolute; left: 0px; ..." which…

Dennis Ich
- 3,585
- 6
- 27
- 44
0
votes
1 answer
Why we need to use layout panels in GWT when we are already having CSS for layouting?
Why we need to use layout panels in GWT when we are already having CSS for layouting?
e.g in gwt we use layoutpanel to layout StackLayoutPanel
layoutpanel.setWidgetLeftWidth(stackpanel, 5, Unit.PCT, 30, Unit.EM);

Mani
- 508
- 1
- 7
- 18
0
votes
0 answers
GWT ScrollPanel in SplitLayoutPanel
I have a scrollPanel in SplitLayoutPanel which I want to fill with log messages as user progresses in doing some of the activities the application is supposed to do. It just an attempt to provide the user the logger console on UI page to see whats…

Vaishali Kulkarni
- 511
- 6
- 5