Re: GWT 3rd party framework for Grid layout

2023-07-12 Thread vinod kumar
is arranging those components. on the dashboard user can move the components and arrange and re-size them. actually i am looking a 3rd party framework for arranging layout functionality in a grid manner. following link https://codesandbox.io/s/draggable-resizable-dashboard-zf3hx components we can

Re: GWT 3rd party framework for Grid layout

2023-07-12 Thread Rafat J. Al-Barouki
You can check domino UI https://github.com/DominoKit/domino-ui Best regards, Rafat Al-Barouki Co-Founder Dominokit On Wed, Jul 12, 2023, 10:12 AM vinod kumar wrote: > Hi All, > > I am looking for a 3rd party framework which provides Grid layout option > where we can arrange th

Re: GWT 3rd party framework for Grid layout

2023-07-12 Thread 'eric73' via GWT Users
provides Grid layout option > where we can arrange the components(table, graph etc...) in a column or row > format (eg: https://codesandbox.io/s/draggable-resizable-dashboard-zf3hx). > Please share such framework details. > > Thanks, > Vinod > -- You received this mess

GWT 3rd party framework for Grid layout

2023-07-12 Thread vinod kumar
Hi All, I am looking for a 3rd party framework which provides Grid layout option where we can arrange the components(table, graph etc...) in a column or row format (eg: https://codesandbox.io/s/draggable-resizable-dashboard-zf3hx). Please share such framework details. Thanks, Vinod -- You

GWT Material Tutorial #3 - Style and Layout

2016-09-06 Thread mark kevin ringor
*https://www.youtube.com/watch?v=79owqV8PPhQ* <https://www.youtube.com/watch?v=79owqV8PPhQ> GWT Material Tutorial #3 - Style and Layout On this tutorial you will learn how to upgrade your gwt material version to 1.6.0 and the main topic which will be Style and Layout. You will lea

Re: Public and war folders in the maven project layout (tbroyer plugin)?

2016-09-01 Thread Thomas Broyer
On Thursday, September 1, 2016 at 11:33:53 AM UTC+2, Bruno Salmon wrote: > > Hi, > > The GWT documentation > <http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html#DevGuideHostPage> > > describes the project layout using Eclipse, but I have a

Public and war folders in the maven project layout (tbroyer plugin)?

2016-09-01 Thread Bruno Salmon
Hi, The GWT documentation <http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html#DevGuideHostPage> describes the project layout using Eclipse, but I have a couple of questions when transposing it into the maven project layout (using the tbroyer plugin): - where is the

Re: Layout principles for UIBinder with Polymer elements

2016-01-06 Thread vadim
Thank you for response N Troncoso, I have figured out that none of my assumptions were true. If I don't give width/heights as parameters for DockLayoutPanel it is still present in document DOM, but not visible. The reason for that is somehow depends from the widget I put into it. For example:

Re: Layout principles for UIBinder with Polymer elements

2016-01-06 Thread vadim
I am using UIBinder and MVP to construct View. View ui.xml file is very simple (with DockLayoutPanel on the top): .panelHeight { height: 300px; } Empty Not empty DockLayoutPanel is not a part of

Re: Layout principles for UIBinder with Polymer elements

2016-01-06 Thread vadim
DockLayoutPanel does not implement AcceptsOneWidget interface and thus can not be passed to ActivityManager as parameter for activityManager.setDisplay(appWidget). Without ActivityManager display function widget is not shown. It seems tricky. -- You received this message because you are

Re: Layout principles for UIBinder with Polymer elements

2016-01-06 Thread Frank
This look to me because one of the parent panels of the docklayout is not a layout panel. When one of the parent panel is not a layoutpanel the height gets broken. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from

Re: Layout principles for UIBinder with Polymer elements

2016-01-06 Thread N Troncoso
What is your DockLayoutPanel in? You should be putting it in a RootLayoutPanel, or some other LayoutPanel. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Layout principles for UIBinder with Polymer elements

2016-01-06 Thread Thomas Broyer
On Wednesday, January 6, 2016 at 2:55:02 PM UTC+1, va...@ant.ee wrote: > > DockLayoutPanel does not implement AcceptsOneWidget interface and thus can > not be passed to ActivityManager as parameter for > activityManager.setDisplay(appWidget). Without ActivityManager display > function widget

Re: Layout principles for UIBinder with Polymer elements

2016-01-06 Thread vadim
Thank you, Thomas. Your advice helped again. Now I know the main UI layout building principle -- do not mix *Panels with *LayoutPanels! :) On Wednesday, January 6, 2016 at 6:12:48 PM UTC+2, Thomas Broyer wrote: > > > Use SimpleLayoutPanel instead of SimplePanel, and RootLayoutPane

Re: Layout principles for UIBinder with Polymer elements

2016-01-05 Thread N Troncoso
The DockLayoutPanel is designed to take up the whole screen. You only have to define the size of the north/south/east/west panels (or don't give them a size for them to not appear). The center takes up the rest of the available space. As for Polymer, look at the catalog for the elements you

Layout principles for UIBinder with Polymer elements

2015-12-28 Thread vadim
Hello all, After a number of experiments I have decided to build UI using UIBuilder and Polymer elements library. Tutorials went well and I have build my own interface mixing standard GWT DockLayotPanel (for widget placement) and paper/iron elements from the library. I am not very

Re: Understanding the Layout System

2015-12-22 Thread Ümit Seren
children (the other LayoutPanels require a unbroken chain all the way up to the RootLayoutPanel). Put if you are already thinking about switching out LayoutPanels with FlexBox for app layout then I would go all the way and try to stay away from widgets as much as possible and maybe look

Re: Understanding the Layout System

2015-12-21 Thread N Troncoso
-tables widgets (or writing my own) otherwise? Supposedly these old widgets don't play well in standards mode, so it'd be nice to get away from them. I guess your FlexBox suggestion at least solves the issue of building a proper layout, but if I forgo LayoutPanels altogether, I'm stuck

Re: Understanding the Layout System

2015-12-21 Thread N Troncoso
-tables widgets (or writing my own) otherwise? Supposedly these old widgets don't play well in standards mode, so it'd be nice to get away from them. I guess your FlexBox suggestion at least solves the issue of building a proper layout, but if I forgo LayoutPanels altogether, I'm stuck

Re: Understanding the Layout System

2015-12-21 Thread Jens
straight CSS with either absolute/fixed positioning or, if you only support IE 10+, with the new FlexBox layout system. LayoutPanels create a bunch of div elements that IMHO are literally useless. Also they are kind of slow on window resize as they propagate the resize event to all children

Understanding the Layout System

2015-12-21 Thread N Troncoso
hat I read, these panels do not work with dynamic sized content. So what's the deal here? I can see the RootLayoutPanel and DockLayoutPanel being used to set up the basic layout of the app. But what of the rest of these panels like the TabLayoutPanel and StackLayoutPanel? Unless I'm us

GWT 2.7 Layout Question

2015-09-29 Thread Ed
Hi, Trying to create a HorizontalPanel with an East and West side. Using the followint code the layout on the West side appears fine whil the East side it right justified. Any suggestions on how to handle this? HorizontalPanel REPORTSVP = new HorizontalPanel(); REPORTSVP.setSize(&quo

Re: GWT 2.7 Layout Question

2015-09-29 Thread Jens
Just check the HTML + CSS in your browser dev tools and then fix whatever is causing the right alignment? The above code should generate something pretty similar to: http://jsfiddle.net/wng1rs6a/1/ -- J. -- You received this message because you are subscribed to the Google Groups "GWT

Re: GWT 2.7 Layout Question

2015-09-29 Thread Ed
Thank You Jens! Ed On Tue, Sep 29, 2015 at 3:22 PM, Jens wrote: > Just check the HTML + CSS in your browser dev tools and then fix whatever > is causing the right alignment? > > The above code should generate something pretty similar to: >

Building a simple layout.

2015-09-04 Thread Stefan Falk
I'm searching for a way to implement this very simple static layout [1] using the UiBinder. It seems not to be possible using just a HTMLPanel which throws a parsing exception if I do something like: but how can I create such a static layout as described in my SO question [1]? I've been

Re: (Gwt Bootstrap) Split Layout Panel has an issue when I use that in a BootStrap container

2015-08-31 Thread Ümit Seren
AFAIK Container does not implement ProvidesResize which will cause an issue when you embed a LayoutPanel in it. I would also recommend against combining responsive Bootstrap Panels with LayoutPanels. But if you really want to do it, then you can try to put your SplitLayoutPanel inside a

Re: (Gwt Bootstrap) Split Layout Panel has an issue when I use that in a BootStrap container

2015-08-31 Thread Dhinakar
This is my code .blueColor { background-color: #87CEEB; } .greenColor { background-color: #9ACD32; } .redColor { background-color: red; } .yellowColor { background-color: yellow; } .tanColor { background-color: tan; }

Re: (Gwt Bootstrap) Split Layout Panel has an issue when I use that in a BootStrap container

2015-08-30 Thread Jens
You better ask the Bootstrap guys. But I am pretty sure it is just a CSS issue that you can probably easily solve by using your browsers DevTools to figure out whats wrong. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

(Gwt Bootstrap) Split Layout Panel has an issue when I use that in a BootStrap container

2015-08-30 Thread Thomas Broyer
Does the container implements ProvidesResize? Otherwise, are you sizing the SplitLayoutPanel explicitly? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to

(Gwt Bootstrap) Split Layout Panel has an issue when I use that in a BootStrap container

2015-08-30 Thread Dhinakar
I can see only the North dragger visible when I add the SplitLayoutPanel in the bootstrap container. Is there any alternative solution to resolve the problem? I need to have east and west panels with draggers for the application I am building in bootstrap. Is there any solution for that? --

Re: Using UI binder vs. GWT-Java code to do the layout

2015-02-08 Thread Blake
Thank you very much for your replies and feedback. You are very helpful and appreciated. Blake On Sunday, February 8, 2015 at 11:46:18 AM UTC-6, Jens wrote: One of the features of GWT is its abstraction over the browser so that the GWT-Java layout code may act differently depending

Re: Using UI binder vs. GWT-Java code to do the layout

2015-02-08 Thread Jens
One of the features of GWT is its abstraction over the browser so that the GWT-Java layout code may act differently depending on the browser brand and version. If we use GWT as a JavaScript replacement only, don't we lose that benefit? That benefit gets less and less important as HTML

Using UI binder vs. GWT-Java code to do the layout

2015-02-08 Thread Blake McBride
for JavaScript only. So one would write an app in GWT-Java, HTML, and CSS. One of the features of GWT is its abstraction over the browser so that the GWT-Java layout code may act differently depending on the browser brand and version. If we use GWT as a JavaScript replacement only, don't we lose that benefit

Re: Why Table Layout in GWT?

2014-12-12 Thread Joel Handwell
Is deprecation considered to be scheduled on those table layout widgets? On Tuesday, December 9, 2014 4:35:59 AM UTC-5, Thomas Broyer wrote: On Tuesday, December 9, 2014 8:20:41 AM UTC+1, Mohammed Sameen wrote: Hi, Why *table *layout is used in GWT?Why not *div *layout? Only old

Re: Why Table Layout in GWT?

2014-12-12 Thread Gilberto
Ok, I won't start another table vs. tableless layout war. There are a lot of resources about it on the web. My point here is simple: if the developer wants to use table layout, for whatever reason, at least the table should behave as expected according to the W3C recomendations, which states

Re: Why Table Layout in GWT?

2014-12-09 Thread Thomas Broyer
On Tuesday, December 9, 2014 8:20:41 AM UTC+1, Mohammed Sameen wrote: Hi, Why *table *layout is used in GWT?Why not *div *layout? Only old widgets use table layout, and they do so because at the time they were written (years ago) it was the only reliable way of laying out things cross

Re: Why Table Layout in GWT?

2014-12-09 Thread Ltearno
Sometimes table layout is just the only option... If you are really annoyed seeing table elements, you can use a div with a display attribute to table for example... ( div style=display:table ) Le mardi 9 décembre 2014 10:35:59 UTC+1, Thomas Broyer a écrit : On Tuesday, December 9, 2014 8

[gwt-contrib] Re: Why Table Layout in GWT?

2014-12-09 Thread Thomas Broyer
Answered in https://groups.google.com/d/topic/google-web-toolkit/CO7-WtcYsEg Locking this thread now; please answer on the one linked above. On Tuesday, December 9, 2014 7:15:24 AM UTC+1, Mohammed wrote: Hi, Why *table *layout is used in GWT?Why not *div *layout? -- You received

Why Table Layout in GWT?

2014-12-08 Thread Mohammed Sameen
Hi, Why *table *layout is used in GWT?Why not *div *layout? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com

[gwt-contrib] Table Layout in GWT?

2014-12-08 Thread Mohammed
Hi, Why *table *layout is used in GWT?Why not *div *layout?Please give some suggestion? -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit

[gwt-contrib] Why Table Layout in GWT?

2014-12-08 Thread Mohammed
Hi, Why *table *layout is used in GWT?Why not *div *layout? -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr

Which GWT Layout Panel is perfect for building Mobile Friendly Website?

2014-09-21 Thread Tom
in any other pages except the home page. So, my question is: Is there any Gwt Layout panel that can help me to achieve that Simple Design for Mobile Friendly Website? The only 1 I can see is the TabLayoutPanel, but the headers are always appear in all pages. What about StackLayoutPanel? How

Re: Which GWT Layout Panel is perfect for building Mobile Friendly Website?

2014-09-21 Thread Thad Humphries
these buttons in any other pages except the home page. So, my question is: Is there any Gwt Layout panel that can help me to achieve that Simple Design for Mobile Friendly Website? The only 1 I can see is the TabLayoutPanel, but the headers are always appear in all pages. What about

GWTDesigner in UIBinder mode Opening layout xml file with SmartGWT widgets

2014-06-04 Thread tekwojenski
to open a layout with SmartGWT widgets I get this problem below. I used the uibinding-smartgwt-1.0.4 wrappers to make SmartGWT controls available to the Designer, and my SmartGWT code sample compiles and runs correctly. What is the future vision of GWTDesigner to support 3rd party controls

Re: layout panel problem, invisible panels

2014-05-21 Thread dimitri . graf
Thank you Zak for your advice, this custom HeaderLayoutPanel works perfectly for me. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: layout panel problem, invisible panels

2014-03-07 Thread Segun Razaq Sobulo
Had a similar issue and ran into this thread. ContentWidgetView of GWT showcase actually does something similar however instead of extending HeaderPanel it simply wraps the content portion of the header panel in a simplelayoutpanel then makes a similar setsize(100%,100%) call in the

General Tips / Layout Guidance

2014-02-10 Thread Steven Wallace
containers/windows within a main portal that may contain whatever content). The main portal layout may be fully built using GWT widgets, however, it may also be a mixture of widgets and standard html via htmlpanels (the point is, the exact design of the outer part of the portal is likely

Re: Layout with nested SplitLayoutPanel

2013-12-18 Thread Magnus
Hi Patrick, thank you very much! This works! I did several things differently: I used this.getOffsetWidth/Height instead of this.getParent().getOffsetWidth/Height And I also used setHeigth instead of setWidgetSize So for now I have a working solution. One thing is noticeable: The widget, the

Re: Layout with nested SplitLayoutPanel

2013-12-18 Thread Patrick Tucker
I didn't look that close at it but maybe you should use the parent element's client width and height instead? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: Layout with nested SplitLayoutPanel

2013-12-18 Thread Patrick Tucker
Also, you might want to put the resize in a timer or deferred command when called from onResize(). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Layout with nested SplitLayoutPanel

2013-12-17 Thread Patrick Tucker
I took your PortalPanel class above and added it to the page using RootLayoutPanel.get().add(Widget) This is what it took to get your widgets sizing properly: public void resetSplitters () { // parent height int ph = this.getParent().getOffsetHeight(); // parent width int pw =

Re: Layout with nested SplitLayoutPanel

2013-12-16 Thread Magnus
Hi Patrick, nothing happens. What am I doing wrong? Magnus - public class PortalPanel extends Composite implements RequiresResize { private static PortalPanelUiBinder uiBinder = GWT.create (PortalPanelUiBinder.class); @UiField SplitLayoutPanel slp_Outer; @UiField SplitLayoutPanel

Re: Layout with nested SplitLayoutPanel

2013-12-16 Thread Juan Pablo Gardella
Try add a docklayoutPanel outside. 2013/12/16 Magnus alpineblas...@gmail.com Hi Patrick, nothing happens. What am I doing wrong? Magnus - public class PortalPanel extends Composite implements RequiresResize { private static PortalPanelUiBinder uiBinder = GWT.create

Re: Layout with nested SplitLayoutPanel

2013-12-16 Thread Patrick Tucker
I'm pretty sure your problem is above PortalPanel. I will try to put all of the pieces together tonight. On Monday, December 16, 2013 11:49:50 AM UTC-5, Magnus wrote: Hi Patrick, nothing happens. What am I doing wrong? Magnus - public class PortalPanel extends Composite implements

Re: Layout with nested SplitLayoutPanel

2013-12-15 Thread Patrick Tucker
To move the splitter, you have to change the size of its associated widget. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Layout with nested SplitLayoutPanel

2013-12-14 Thread Magnus
public void resetSplitters () { int ys = this.getOffsetHeight (); Window.alert (h: + ys); // - 0 } @Override protected void onLoad() { super.onLoad (); resetSplitters (); } -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: Layout with nested SplitLayoutPanel

2013-12-14 Thread Magnus
Hi, I found that implementing RequiresResize and overriding onResize produces a non zero width/height. So this could be a solution for the right place to reposition the splitters. But there is no method to actually reposition the splitters. I found that this has been addressed in several

Re: Layout with nested SplitLayoutPanel

2013-12-13 Thread Magnus
Hi Patrick, thanks, but it didn't help. I call the resize method from within onAttach, but the value is still 0 (see below). Magnus public void resetSplitters () { int ys = this.getOffsetHeight (); Window.alert (h: + ys); } @Override protected void onAttach() {

Re: Layout with nested SplitLayoutPanel

2013-12-13 Thread Thad Humphries
Just a hunch--I've not tried this--maybe you should instead override onLoad(). From the Javadocs: onAttach: It is strongly recommended that you override onLoad()http://localhost/~thad/gwt/doc/javadoc/com/google/gwt/user/client/ui/Widget.html#onLoad() or

Re: Layout with nested SplitLayoutPanel

2013-12-13 Thread Magnus
Hi Thad, I have also tried to override onLoad, but getIOffsetHeight returns 0... Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Layout with nested SplitLayoutPanel

2013-12-12 Thread Magnus
Hi, as happened so often: While preparing a minimal code example I found the problem myself: My SplitLayoutPanel was not inserted into the surrounding DockLayoutPanel directly. There was a ScrollPanel between, so that the south part of my SplitLayoutPanel was sized to 0. I don't know why, but

Re: Layout with nested SplitLayoutPanel

2013-12-12 Thread Patrick Tucker
That is what I was going to recommend but I haven't had time to sit down and look at all the code you provided. Glad you were able to figure it out though. Instead of resizing in your constructor, try overriding onAttach and call the resize function in there. Make sure you call

Re: Layout with nested SplitLayoutPanel

2013-12-08 Thread Magnus
Hi Patrick, I cannot resize the panel yet, because even if I do not change any sizes, it is not displayed correctly. If I create the panel based on the UIBinder code below and add it to the center of a surrounding DockLayoutPanel, the bottom part main is not visible. When inspecting it with

Re: Layout with nested SplitLayoutPanel

2013-12-08 Thread Patrick Tucker
Can you provide code for the java side? Also, I'm pretty sure SplitLayoutPanel only works in pixels. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Layout with nested SplitLayoutPanel

2013-12-08 Thread Magnus
Hi Patrick! Can you provide code for the java side? It's a little bit difficult to extract the relevant code... The root panel is a class called Display derived from DockLayoutPanel. There is one method called setClient that sets the current client panel. All client panels are derived from a

Re: Layout with nested SplitLayoutPanel

2013-12-07 Thread Patrick Tucker
If its parent is already attached, you can just ask it how wide it is. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Layout with nested SplitLayoutPanel

2013-12-07 Thread Patrick Tucker
Pleasr provide some code. You just have to make sure the parent and its parents are added before you ask. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Layout with nested SplitLayoutPanel

2013-12-06 Thread Patrick Tucker
SplitLayoutPanel does not do percentages so you will have to calculate the center in pixels. On Friday, December 6, 2013 12:31:17 AM UTC-5, Magnus wrote: Hi, I would like a panel with split bars like this: +++ ||

Re: Layout with nested SplitLayoutPanel

2013-12-06 Thread Magnus
Hi, this means, I cannot do it in a declarative way? So whenever the form is displayed, compute the pixel values and set them manually? But I remember that when fetching the sizes of a panel on creation / within the constructor the size values often are 0. How can I compute them? How would

Layout with nested SplitLayoutPanel

2013-12-05 Thread Magnus
Hi, I would like a panel with split bars like this: +++ ||| | west | east | ||| +++ |

Re: liquid layout with UIBinder

2013-11-21 Thread Jens
... g:VerticalPanel !-- label should be *above* the TextArea -- g:Label text=Name:/ g:TextArea/ /g:VerticalPanel /g:layer Because VerticalPanel uses table and this element should not be used for layout tasks (table should be used to present tabular data). If you use

liquid layout with UIBinder

2013-11-20 Thread Magnus
Hello, I would like to make a liquid layout like this: Name: [ TextBox ] Description: [ ] [ TextArea ] [ ] The TextArea should always occupy all of the remaining space. In addition

Re: liquid layout with UIBinder

2013-11-20 Thread Jens
You can use LayoutPanel directly in UiBinder. g:LayoutPanel g:layer //can be configured using top, left, right, bottom, width, height properties . /g:layer /g:LayoutPanel -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: liquid layout with UIBinder

2013-11-20 Thread Magnus
Hi Jens, ok, like this?: g:LayoutPanel g:layer top=0 height=20px ... g:Label text=Name:/ /g:layer g:layer top=21 height=20px ... g:TextArea/ /g:layer g:layer top=41 height=20px ... g:Label text=Description:/ /g:layer g:layer top=61 bottom=0 ... g:TextArea/

Re: liquid layout with UIBinder

2013-11-20 Thread Jens
the height of the header widget on the fly so you don't have to set it manually. You could also use VerticalPanel (although you would then use tables for layout which is bad practice): g:VerticalPanel g:FlowPanel g:Label text=Name:/ g:TextArea / g:Label text=Description

Re: liquid layout with UIBinder

2013-11-20 Thread Magnus
Hi Jens, your first example is not clear to me: g:layer top=0 height=60px ... g:FlowPanel g:Label text=Name:/ g:TextArea/ g:Label text=Description:/ /g:FlowPanel /g:layer You put a label, a TextArea and another label in one FlowPanel? This would place them all

Re: To add checkbox , and text box to the horizontal layout in Dynamic Form

2013-10-25 Thread chly5281750
you can use ToolStrip instead of Dynamic Form use .addFormItem(Item); 在 2009年9月30日星期三UTC+8下午8时44分49秒,Vishal写道: Hi , I just want to know how to add a checkbox and a textbox in the same row in Dynamic Form. I mean it is not showing with proper alignment. Please tell how to use that. So for

Proper Project Layout and CSS practices

2013-08-12 Thread Bob Spero
When creating a GWT project the CSS is associated with the entry point from the wizard. Is the proper framework to have a CSS file for every class that is a UI entry point or composite? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: UIBinder layout problem

2013-07-17 Thread Thomas Broyer
On Tuesday, July 16, 2013 6:39:58 PM UTC+2, Jens wrote: HorizontalPanel and VerticalPanel distribute their cells equally if you don't specify anything. E.g. a VerticalPanel with two children will result in two 50% height cells. That's how HTML tables work in general if you do not specify

UIBinder layout problem

2013-07-16 Thread Magnus
Hi, what's wrong with this layout? https://lh4.googleusercontent.com/-bLZzj4QULVM/UeVzCjeoNqI/AE8/t10njo2JHmA/s1600/Layout.png There should be no vertical gap between the label List and the ListBox. In addition, the buttons in the HorizontalPanel at the bottom should not be spread

Re: UIBinder layout problem

2013-07-16 Thread Jens
HorizontalPanel and VerticalPanel distribute their cells equally if you don't specify anything. E.g. a VerticalPanel with two children will result in two 50% height cells. That's how HTML tables work in general if you do not specify sizes. To define the width/height of a cell use g:cell

Re: UIBinder layout problem

2013-07-16 Thread Heru Tambayonk
-- Sent via Nokia Email --Original message-- From: Magnus alpineblas...@gmail.com To: google-web-toolkit@googlegroups.com Date: Tuesday, July 16, 2013 9:23:56 AM GMT-0700 Subject: UIBinder layout problem Hi, what's wrong with this layout? https://lh4.googleusercontent.com

Re: tabular layout with UIBinder?

2013-07-15 Thread Magnus
Hi Thomas, thank you! To understand it right: Why isn't it possible to declare a FlexTable in GWT Designer, with 2 rows and 3 cells? It works with Grid but it doesn't with FlexTable. GWT Designer lets me insert a FlexTable, but it won't let me put widgets into the FlexTable. And concerning

Re: tabular layout with UIBinder?

2013-07-15 Thread Thomas Broyer
On Monday, July 15, 2013 6:33:56 PM UTC+2, Magnus wrote: Hi Thomas, thank you! To understand it right: Why isn't it possible to declare a FlexTable in GWT Designer, with 2 rows and 3 cells? It works with Grid but it doesn't with FlexTable. GWT Designer lets me insert a FlexTable, but

tabular layout with UIBinder?

2013-07-13 Thread Magnus
Hi, I want to use a tabular layout using UIBinder. It should look contain two rows, the first one with two columns containing dropdown lists, and the second one containing a textfield that spans the two columns of the first row (colspan=2): [dropdownlist] [dropdownlist] [ textfield

Re: tabular layout with UIBinder?

2013-07-13 Thread Thomas Broyer
(depending on context), and Labels with divs or spans, or even better labels or just nothing. (BTW, why did you enclose your Grid into an HTMLPanel?) On Saturday, July 13, 2013 3:19:45 PM UTC+2, Magnus wrote: Hi, I want to use a tabular layout using UIBinder. It should look contain two rows

Re: tabular layout with UIBinder?

2013-07-13 Thread Magnus
Hi Thomas! Am Samstag, 13. Juli 2013 16:17:54 UTC+2 schrieb Thomas Broyer: But in your case, why not simply go with a table (or even divs with a bunch of CSS)? You might also want to replace your VerticalPanels with just divs, FlowPanels if you absolutely needs widgets, or just nothing

Re: tabular layout with UIBinder?

2013-07-13 Thread Thomas Broyer
On Saturday, July 13, 2013 11:44:16 PM UTC+2, Magnus wrote: Hi Thomas! Am Samstag, 13. Juli 2013 16:17:54 UTC+2 schrieb Thomas Broyer: But in your case, why not simply go with a table (or even divs with a bunch of CSS)? You might also want to replace your VerticalPanels with just divs,

Re: layout panel problem, invisible panels

2013-07-11 Thread Thomas Broyer
the wrong widget or your CSS can be done better in header and footer. Put differently: GWT is either size from the inner out (old widgets, mostly use intrinsic sizing) or size from the outer in (layout panels, size always explicit), and HeaderPanel bridges them: header and footer are sized from

Re: layout panel problem, invisible panels

2013-07-10 Thread Thomas Broyer
%) works because the contentContainer’s dimensions are always set in px. Also, remember that this needs to be added to a LayoutPanel for it to fill all available space. Looking at HeaderPanel, it looks like it should use a Layout and put the content widget into a Layer, just like

Re: layout panel problem, invisible panels

2013-07-10 Thread Patrick Tucker
What's the harm in making it implement ProvidesResize and correctly notify all children? I've seen this topic so many times and have had to work around it on many projects myself. On Wednesday, July 10, 2013 5:19:23 AM UTC-4, Thomas Broyer wrote: The reason HeaderPanel doesn't implement

Re: layout panel problem, invisible panels

2013-07-10 Thread Thomas Broyer
The goal of HeaderPanel is to let the header and footer use their intrinsic size, so they shouldn't be RequiresResize widgets. Note that I don't disagree making HeaderPanel implement ProvidesResize. Patches welcome ;-) On Wednesday, July 10, 2013 4:00:24 PM UTC+2, Patrick Tucker wrote: What's

Re: layout panel problem, invisible panels

2013-07-10 Thread Patrick Tucker
That is what is so nice about it. But generally we end up wanting to know about the resize to modify elements that are inside of the child widget either to reposition or resize them. It is actually an easy fix, unfortunately the new review system isn't me friendly. If anyone wants to take

Re: layout panel problem, invisible panels

2013-07-10 Thread Jens
But generally we end up wanting to know about the resize to modify elements that are inside of the child widget either to reposition or resize them. Hmm, just a guess, but if you have this desire then you probably use the wrong widget or your CSS can be done better in header and footer.

Re: layout panel problem, invisible panels

2013-07-10 Thread Patrick Tucker
We use them a lot for things that aren't page headers and footers. But yes if I was displaying a title and a logout link or something like that in the header and needed to modify them on resize that would be a bad plan. On Wednesday, July 10, 2013 12:39:22 PM UTC-4, Jens wrote: But

Re: layout panel problem, invisible panels

2013-07-09 Thread Zak Linder
I do not use UiBinder, but I have come across this problem as well, and have found a solution that works for me. The problem is that HeaderPanel only sets the size of the contentContainer, it does nothing with the contentContainer’s child widget (HeaderPanel#getContentWidget()). Aiden’s

Style GWT-Tree to a non hierarchal Layout

2013-06-28 Thread Dominic Warzok
Hi together, I found a lot of threads to this problem but it seems there is no solution. But maybe somone of you have a fix for my problem. We use a tree for our navigation. So there ist not so much space for the hirachal layout of the tree. It is possible to remove this? With firebug I

Re: Style GWT-Tree to a non hierarchal Layout

2013-06-28 Thread Jens
Well its kind of hardcoded inside Tree/TreeItem. You can subclass TreeItem and override TreeItem.insertItem(int beforeIndex, TreeItem item) to eliminate the margin. The margin is currently set in TreeItem.insertItem() line 575. The 3px padding seems to be set by the TreeItem as base padding

layout problem with UIBinder

2013-06-19 Thread Magnus
Hi, assume the following UIBinder layout: ui:style /ui:style g:HTMLPanel g:VerticalPanel width=100% height=100% g:HorizontalSplitPanel height=/ g:HorizontalPanel height=20px width=100% verticalAlignment=ALIGN_BOTTOM g:Button text=Button1/g:Button g:Button text=Button2/g:Button

Smartgwt - layout - setimage

2013-04-29 Thread Csaba Juhasz
Hey! I put on the surface of a VLayout and was a HLayout cent. I copied the project-em \ war \ images \ icons directory containing a file-hatter.jpg. After that, I would have the following method to this picture layout on display, but the following error message is shown: HLayout

  1   2   3   4   5   6   7   >