Re: How can we centralize the myInlineHTML inside myFlowPanel (GWT) y just using 1 FlowPanel 1 InlineHTML without using other extra Widgets?

2014-04-08 Thread joerg.hohwil...@googlemail.com
Hi Tom, this is not really a GWT specific question but rather an HTML+CSS issue. GWTs FlowPanel is just rendering a DIV tag. Whatever your inner HTML may be and how your CSS looks like will decide if it works as expected or not. Whenever I do such layouting, I copy the DOM-structure produced

Re: How can we centralize the myInlineHTML inside myFlowPanel (GWT) y just using 1 FlowPanel 1 InlineHTML without using other extra Widgets?

2014-04-08 Thread Tom
issue. GWTs FlowPanel is just rendering a DIV tag. Whatever your inner HTML may be and how your CSS looks like will decide if it works as expected or not. Whenever I do such layouting, I copy the DOM-structure produced with GWT into a plain HTML file and link my custom CSS to it. Then I can

How can we centralize the myInlineHTML inside myFlowPanel (GWT) y just using 1 FlowPanel 1 InlineHTML without using other extra Widgets?

2014-04-07 Thread Tom
I have just 1 FlowPanel 1 InlineHTML, the following code doesn't make InlineHTML go into the middle of FlowPanel. myFlowPanel.setWidth(100%); myFlowPanel.add(myInlineHTML); myFlowPanel.addStyleName(getView().getRes().css().textAlignCenterImportant()); //This is css .textAlignCenterImportant

Error repainting a FlowPanel on an onDrop event widget

2014-01-16 Thread David Martínez
Hi, I'm repainting all the content of a FlowPanel that have DraggableWidgetDockPanel. I don't know where the application return the error, because the error is internal of GWT libraries. The error is caused in this code: public static void loadArbre(HandlerManager eventBus

Re: Error repainting a FlowPanel on an onDrop event widget

2014-01-16 Thread David Martínez
Hi, Now I implemented the dragStart and dragStop in the DraggableWidgetDockPanel but the error continue: addDragStopHandler(new DragStopEvent.DragStopEventHandler() { @Override public void onDragStop(DragStopEvent event) {

Re: Error repainting a FlowPanel on an onDrop event widget

2014-01-16 Thread David Martínez
The event onDragStop don't arrive to execute. El dijous 16 de gener de 2014 11:45:51 UTC+1, David Martínez va escriure: Hi, Now I implemented the dragStart and dragStop in the DraggableWidgetDockPanel but the error continue: addDragStopHandler(new DragStopEvent.DragStopEventHandler() {

Re: Error repainting a FlowPanel on an onDrop event widget

2014-01-16 Thread David Martínez
I have the solution. I put the method that repaint de FlowPanel in the onDragStop event. addDragStopHandler(new DragStopEvent.DragStopEventHandler() { @Override public void onDragStop(DragStopEvent event) { GWT.log(AreesPanel

How to Centralise SimplePager within a Grid or FlowPanel (or any panels) in UiBinder?

2013-10-22 Thread Tom
I tried all ways to centralise a SimplePager in a FlowPanel, then in Grid, in HTMLPanel, DockLayoutPanel, in table, but none of them works, ex: g:Grid g:row styleName=optionalHeaderStyle g:customCell styleName=optionalFooCellStyle c:SimplePager ui:field=mySimplePager location

Re: How to make FlowPanel flow its children vertically like VerticalPanel?

2013-10-09 Thread David
If those children use display:block as style you will get what you need. Otherwise you will need to embed your widgets in a SimplePanel. David On Wed, Oct 9, 2013 at 7:21 AM, Tom henry...@gmail.com wrote: Google suggets use FlowPanel in replace of VerticalPanel since VerticalPanel does

Re: How to make FlowPanel flow its children vertically like VerticalPanel?

2013-10-09 Thread Tom
, 2013 at 7:21 AM, Tom henr...@gmail.com javascript:wrote: Google suggets use FlowPanel in replace of VerticalPanel since VerticalPanel does not work well in Standards Mode. So How to make FlowPanel flow its children vertically like VerticalPanel? -- You received this message because you

How to make FlowPanel flow its children vertically like VerticalPanel?

2013-10-08 Thread Tom
Google suggets use FlowPanel in replace of VerticalPanel since VerticalPanel does not work well in Standards Mode. So How to make FlowPanel flow its children vertically like VerticalPanel? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group

Re: Space between widgets in FlowPanel ?

2013-02-21 Thread Kris
This works... .textBoxMargin { margin-top:2px; margin-bottom:2px; margin-right:0px; margin-left:0px; } and apply that style to each textbox On Wednesday, February 20, 2013 6:51:42 PM UTC-8, Abraham Lin wrote: What you want is the margin property, not the padding property. --

Space between widgets in FlowPanel ?

2013-02-20 Thread Kris
Hi, How can I get spaces between widgets in FlowPanel ? I have google a while now, but couldn't find any solution, and can see a lot of other people have the same problem. I have a FlowPanel with text boxes.. and all are right on top of each other. -- You received this message because you

Re: Space between widgets in FlowPanel ?

2013-02-20 Thread Kristian Lind
And how.. I tried diff ways, nothing works.. do you have an example On Wed, Feb 20, 2013 at 11:03 AM, Andy Stevko andy.ste...@gmail.com wrote: padding the style? On Wed, Feb 20, 2013 at 10:44 AM, Kris kli...@gmail.com wrote: Hi, How can I get spaces between widgets in FlowPanel ? I have

Re: Space between widgets in FlowPanel ?

2013-02-20 Thread Kristian Lind
Here is a part of my code... FlowPanel txtBoxes = new FlowPanel(); txtBoxes.setWidth(100px); final TextBox name = new TextBox(); name.setVisibleLength(30); txtBoxes.add(name); name.setSize(200px, 10px); final TextBox media = new TextBox(); media.setVisibleLength(30); txtBoxes.add(media

Re: Space between widgets in FlowPanel ?

2013-02-20 Thread K vfdsdfbsdb
you just have to add [new Label( )] in between it. 2013/02/21 3:44 Kris kli...@gmail.com: Hi, How can I get spaces between widgets in FlowPanel ? I have google a while now, but couldn't find any solution, and can see a lot of other people have the same problem. I have a FlowPanel with text

Re: Space between widgets in FlowPanel ?

2013-02-20 Thread Kris
: 3px 3px 3px 3px; } On Wed, Feb 20, 2013 at 12:14 PM, Kristian Lind kli...@gmail.comjavascript: wrote: Here is a part of my code... FlowPanel txtBoxes = new FlowPanel(); txtBoxes.setWidth(100px); final TextBox name = new TextBox(); name.setVisibleLength(30); txtBoxes.add(name

Re: Space between widgets in FlowPanel ?

2013-02-20 Thread Kris
the new label did do anything either.. On Wednesday, February 20, 2013 2:51:22 PM UTC-8, hprc wrote: you just have to add [new Label( )] in between it. 2013/02/21 3:44 Kris kli...@gmail.com javascript:: Hi, How can I get spaces between widgets in FlowPanel ? I have google a while now

Re: Space between widgets in FlowPanel ?

2013-02-20 Thread Abraham Lin
What you want is the margin property, not the padding property. -- 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

How to replace FlowPanel with a Panel which ProvidesResize?

2013-02-06 Thread membersound
Hi, I have a simple FlowPanel which stacks some widgets: g:FlowPanel g:Label / g:CheckBox / g:MyCustomComposite / g:DataGrid / /g:FlowPanel As I want to also display a DataGrid, I need to change the FlowPanel to something that ProvidesResize (otherwise the datagrid does not show up

Re: How to replace FlowPanel with a Panel which ProvidesResize?

2013-02-06 Thread Thomas Broyer
On Wednesday, February 6, 2013 1:05:38 PM UTC+1, membersound wrote: Hi, I have a simple FlowPanel which stacks some widgets: g:FlowPanel g:Label / g:CheckBox / g:MyCustomComposite / g:DataGrid / /g:FlowPanel As I want to also display a DataGrid, I need to change the FlowPanel

Re: Vertical align elements in FlowPanel?

2012-12-29 Thread Kody
OK then I'll go for VerticalPanel. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to

Vertical align elements in FlowPanel?

2012-12-28 Thread membersound
Hi, how can I vertically center elements within a FlowPanel? I have several FocusPanels inside a FlowPanel, which means they are stacked on each other. One of the focuspanels has an image, which should be centered both horizontally and vertically within that focuspanel. But no matter what I

Re: Vertical align elements in FlowPanel?

2012-12-28 Thread Mike Dee
elements within a FlowPanel? I have several FocusPanels inside a FlowPanel, which means they are stacked on each other. One of the focuspanels has an image, which should be centered both horizontally and vertically within that focuspanel. But no matter what I tried, it is always placed at the top

Re: ToggleButton breaks flow of FlowPanel

2012-11-22 Thread Thad
On Wednesday, November 21, 2012 12:43:43 PM UTC-5, Thomas Broyer wrote: On Wednesday, November 21, 2012 6:15:09 PM UTC+1, Thad wrote: I've got a button panel layout for which I'm trying to use a FlowPanel: g:FlowPanel g:PushButton g:PushButton g:ToggleButton g:PushButton

ToggleButton breaks flow of FlowPanel

2012-11-21 Thread Thad
I've got a button panel layout for which I'm trying to use a FlowPanel: g:FlowPanel g:PushButton g:PushButton g:ToggleButton g:PushButton The problem is that even if I double down by giving the FlowPanel a style that includes block: inline-block, the ToggleButton breaks the flow

Re: FlowPanel problem.

2012-08-28 Thread Antoine Lever
cases, you can simply replace it with a DockLayoutPanel, but that requires that you specify its childrens' widths explicitly. The most common alternative is to use FlowPanel, and to use the float: left; CSS property on its children. And of course, you can continue to use HorizontalPanel

FlowPanel problem.

2012-08-24 Thread Antoine Lever
I want to add a number of DecoratorPanels horizontally until there's no more room and then move onto another row. I'm therefore trying to use a FlowPanel. No matter what I do, the DecoratorPanels appear vertically and not horizontally. What am I doing wrong? Please help! Thank you

Re: FlowPanel problem.

2012-08-24 Thread Alfredo Quiroga-Villamil
alternative is to use FlowPanel, and to use the float: left; CSS property on its children. And of course, you can continue to use HorizontalPanel itself, as long as you take the caveats above into account. Best regards, Alfredo On Thu, Aug 23, 2012 at 11:16 AM, Antoine Lever antoine.e.le

Re: SimplePager within FlowPanel

2012-08-11 Thread Magnus
Works! Thank you! Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/XNOHJCVmVOoJ. To post to this group, send email to

SimplePager within FlowPanel

2012-07-28 Thread Magnus
Hi, I have a FlowPanel with two elements: a ListBox and a SimplePager, and I add them in this order. The SimplePager is always below the ListBox, even if there is enough space right beside the ListBox. I want the elements to line up in a row, i. e. that the SimplePager is displayed right

Re: SimplePager within FlowPanel

2012-07-28 Thread Alfredo Quiroga-Villamil
().add(lp); A different approach can be using a HorizontalPanel. Best regards, Alfredo On Sat, Jul 28, 2012 at 8:31 PM, Magnus alpineblas...@googlemail.com wrote: Hi, I have a FlowPanel with two elements: a ListBox and a SimplePager, and I add them in this order. The SimplePager is always

How to horz. center a shrinkwrapped FlowPanel in a FlowPanel?

2012-07-18 Thread David Lee
I've had success centering a FlowPanel (lets call it contentPanel) in a FlowPanel (lets call it containerPanel). The container panel expands to 100%: .containerPanelStyle { width: 100%; height: 30px; background-color: purple; } Then we can center the contentPanel easily by using css to set

Re: How to horz. center a shrinkwrapped FlowPanel in a FlowPanel?

2012-07-18 Thread Jens
If you don't want to set the width through GWT, I guess your best chance will be text-align:center along with display:inline / display:inline-block See: http://jsfiddle.net/F2fPN/ I am not sure if this will work in every browser. You'll have to test it against your supported target browsers.

Re: How to horz. center a shrinkwrapped FlowPanel in a FlowPanel?

2012-07-18 Thread David Lee
Thanks for the reply Jens. The jsfiddle code does not solve my problem. You removed the float:left in the contentPanel, so I no longer get an auto-sizing FloatPanel. Tell me more about setting the width and margins through GWT. My question is: When, in the the timing of things, do I know that

Re: How to horz. center a shrinkwrapped FlowPanel in a FlowPanel?

2012-07-18 Thread Jens
The jsfiddle code does not solve my problem. You removed the float:left in the contentPanel, so I no longer get an auto-sizing FloatPanel. I modified the previous jsfiddle: http://jsfiddle.net/F2fPN/3/ Tell me more about setting the width and margins through GWT. My question is:

Re: How to horz. center a shrinkwrapped FlowPanel in a FlowPanel?

2012-07-18 Thread David Lee
Jens, I do not say this lightly. You rock. You have saved me from tremendous frustration. Thank you. David PS, If you find yourself in Boulder, CO in need of beer, I'm buying, and you must tell how you solved this. -- You received this message because you are subscribed to the Google Groups

Re: Custom Widget in FlowPanel seem not to work

2012-07-08 Thread AngeloSchneider
Hi Jens, thank you I figured I can use simply widget.setStylePrimaryName(someStyle); on the Widget that I'm using inside of my composite, it works marvelous! Thanx a lot for pointing me in the right direction. Angelo -- You received this message because you are subscribed to the Google

Re: Custom Widget in FlowPanel seem not to work

2012-07-07 Thread AngeloSchneider
What I mean is: I place multiple of my own Widgets into the FlowPanel. Then they don't flow from left to right but top down. I figured the reason is, that my own Widget uses a VerticalPanel, which is internal using an HTML table. So how do I make a Widget (via Composite) that is using an DIV

Re: Custom Widget in FlowPanel seem not to work

2012-07-07 Thread Jens
You can still use VerticalPanel but you have to tweak it a bit so that Flowpanel can layout your widgets from left to right: See (CSS class names represent the GWT widget): - http://jsfiddle.net/TBWTe/ (should work even in IE6) - http://jsfiddle.net/88v6K/ (should work in IE8 and above

Re: Custom Widget in FlowPanel seem not to work

2012-07-07 Thread AngeloSchneider
Thank you, the two links you gave me, that is what I want to achieve! But how do I do that with GWT and not HTML? I want to add a dynamic amount of those VerticalPanels into the surrounding panel. Especially I can not define a CSS style for all VerticalPanels ... because I don't know where

Custom Widget in FlowPanel seem not to work

2012-06-27 Thread AngeloSchneider
Hi everyone, I tried to build my own Widget (following this example: http://code.google.com/p/google-web-toolkit-doc-1-4/wiki/DevGuideCreatingCustomWidgets) However when I place the resulting Widget into a FlowPanel, it is layouted from top to down, like in a VerticalPanel. I'm using GWT SDK

Re: Custom Widget in FlowPanel seem not to work

2012-06-27 Thread Jens
However when I place the resulting Widget into a FlowPanel, it is layouted from top to down, like in a VerticalPanel. Your widget needs some CSS rules (probably display:inline) so it does not fill up the entire width of the FlowPanel. If there is no horizontal space available FlowPanel

Adding a DockLayoutPanel to a FlowPanel?

2012-06-04 Thread Brad Larson
Yeah, I know the subject sounds crazy. I'm working on a larger project (http://code.google.com/p/gerrit/), who's overall GWT UI is based on a top-level flow panel. Now I need to use a DockLayoutPanel for one of the pages. We have a lot of code in place assuming pages add and remove content from

Layout Problem of flowpanel and image

2012-01-30 Thread tong123123
I want to make the two image side by side and the label under the two image, I try to use the method mentioned in http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#Design which said use FlowPanel, and to use the float: left; CSS property on its children to simulate the effect

Challenge with DataGrid in ResizeLayoutPanel in FlowPanel

2011-12-14 Thread Aaron
the screen until almost half of the DataGrid is gone before the DataGrid scrollbars appear - seems like the DataGrid doesn't understand that it's not at the top of the FlowPanel it's inserted in. ResizeLayoutPanel seems to be working and calling onResize() on the DataGrid, but the DataGrid doesn't seem

alterate css sheets for FlowPanel CaptionPanel etc..

2011-09-12 Thread Elhanan
hi.. i've noticed here are not rules for these panels (and maybe others), has anyone created such rules? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

FlowPanel loads images one below another

2011-04-27 Thread Patssay
Hi, I am trying to use Flowpanel to display a bunch of images on the left part of the browser. As per my search , the css proprty float:left needs to be set for the children of the panel however this is not workoing. the panel still loads the images one below the other in a vertical manner. Could

Re: FlowPanel

2011-03-11 Thread John LaBanca
{ border-radius: 4px; // Rounded corners for chrome/safari. --moz-border-radius: 4px; // Used by firefox. } Thanks, John LaBanca jlaba...@google.com On Thu, Mar 10, 2011 at 7:00 PM, Luigi Iannone iann...@cs.manchester.ac.ukwrote: Hi, I have a FlowPanel to which I add a bunch of widgets If I

Re: FlowPanel

2011-03-11 Thread Brian Reilly
by firefox. } Thanks, John LaBanca jlaba...@google.com On Thu, Mar 10, 2011 at 7:00 PM, Luigi Iannone iann...@cs.manchester.ac.uk wrote: Hi, I have a FlowPanel to which I add a bunch of widgets If I fill it with several buttons and a textbox and I resize it, in particular, when I change

Re: FlowPanel

2011-03-11 Thread Luigi Iannone
a FlowPanel to which I add a bunch of widgets If I fill it with several buttons and a textbox and I resize it, in particular, when I change its width in the browser, it behaves as I expect, i.e: it tries to fit as many as possible into one line then it continues on the one below. If, instead, I

FlowPanel

2011-03-10 Thread Luigi Iannone
Hi, I have a FlowPanel to which I add a bunch of widgets If I fill it with several buttons and a textbox and I resize it, in particular, when I change its width in the browser, it behaves as I expect, i.e: it tries to fit as many as possible into one line then it continues on the one below

Re: how to add scroll bar in flowpanel ?

2011-02-09 Thread John LaBanca
You cannot use ScrollPanel on a mobile device because the browser in mobile devices do not support scrollable divs. Scrollbars will only appear at the page level (on the body element). We're working on adding touch event support to ScrollPanel to fix this. Thanks, John LaBanca

Re: how to add scroll bar in flowpanel ?

2011-02-09 Thread Jeff Schwartz
+1 yeah On Wed, Feb 9, 2011 at 11:03 AM, John LaBanca jlaba...@google.com wrote: ... We're working on adding touch event support to ScrollPanel to fix this. Thanks, John LaBanca jlaba...@google.com On Wed, Feb 9, 2011 at 12:04 AM, Hemang shah hemangsha...@gmail.comwrote: hey thanks

Re: how to add scroll bar in flowpanel ?

2011-02-08 Thread Hemang shah
hey thanks but i can't find anything from this will u please elaborate? i used scrollpanel in gwt it work nicely in desktop browser but it doesn't even apear in mobile browser. it display some of the content only but not appear scrollbar.. pls if u know than help On Tue, Feb 8, 2011 at 11:31 AM,

how to add scroll bar in flowpanel ?

2011-02-07 Thread harry
i am developing an mobile application and i have a problem that i can not add scrollbar in it. i want to add scroll bar in my flow panel and i also want to fix my flowpanel's size fit to screen size. if anyone knows the solution pls tell me thanks in adv -- You received this message because

how to add scroll bar in flowpanel ?

2011-02-07 Thread harry
i am developing an mobile application and i have a problem that i can not add scrollbar in it. i want to add scroll bar in my flow panel and i also want to fix my flowpanel's size fit to screen size. if anyone knows the solution pls tell me thanks in adv -- You received this message because

Re: how to add scroll bar in flowpanel ?

2011-02-07 Thread John LaBanca
Most mobile web browsers do not support inline scrolling, only page level scrolling. If you really need inline scrolling, you can take a look at the MobileScrollPanel we created for a demo a while back. It scrolls in response to TouchEvents.

Re: how to add scroll bar in flowpanel ?

2011-02-07 Thread harry
hey thanks but i can't find anything from this will u please elaborate? i used scrollpanel in gwt it work nicely in desktop browser but it doesn't even apear in mobile browser. it display some of the content only but not appear scrollbar.. pls if u know than help On Feb 7, 9:40 pm, John LaBanca

Re: Listing multiple Panel horizontally in FlowPanel

2011-01-26 Thread Y2i
it's because SimplePanel has its display style set to block. You can try setting to inline, it may work, but I don't think it's recommended. http://www.w3.org/TR/2008/REC-CSS2-20080411/visuren.html#propdef-display -- You received this message because you are subscribed to the Google Groups

Re: FlowPanel - how to minimize its size?

2010-12-13 Thread Brian Reilly
FlowPanel renders as a div, which has a default width of 100%. The only block-level element I'm aware of that shrinks horizontally to fit its content is a table. You can try using display: table; on the div, but you'll have trouble with IE support. You may just have to use an actual table to get

FlowPanel - how to minimize its size?

2010-12-11 Thread Magnus
Hi, my FlowPanel contains just a few buttons, but it receives 90% of the available width. How can I make it so small, that it just contains the buttons, but nothing more? Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Re: FlowPanel vs. HorizontalPanel

2010-12-10 Thread Greg Dougherty
Hi Brian, Thanks for the reply. (I solved the initial problem by biting the bullet, and switching to a table. But I'm still curious about this.) So, if I understand you correctly, I could have an HTMLPanel Cell that acts as a FlowPanel, and a Container Widget that added 'new HTML (span white

Re: FlowPanel vs. HorizontalPanel

2010-12-10 Thread Brian Reilly
the initial problem by biting the bullet, and switching to a table.  But I'm still curious about this.) So, if I understand you correctly, I could have an HTMLPanel Cell that acts as a FlowPanel, and a Container Widget that added 'new HTML (span white-space:nowrap)' to that Cell, then added

FlowPanel vs. HorizontalPanel

2010-11-30 Thread Greg Dougherty
I have created a FlowPanel that contains 4 ListBoxes and a button. I wanted to put some space between the items, so I added empty HorizontalPanels (with padding: 3px;) as spacers in between each item. FlowPanel responded by placing each item (including each of the HorizontalPanels), on its own

Re: FlowPanel vs. HorizontalPanel

2010-11-30 Thread Brian Reilly
On Tue, Nov 30, 2010 at 12:41 PM, Greg Dougherty dougherty.greg...@mayo.edu wrote: I have created a FlowPanel that contains 4 ListBoxes and a button. I wanted to put some space between the items, so I added empty HorizontalPanels (with padding: 3px;) as spacers in between each item

Re: FlowPanel vs. HorizontalPanel

2010-11-30 Thread Greg Dougherty
Ah, thanks. I tried adding padding to my ListBoxes. That caused the inside of the box to grow, but did not put any space between the borders of the adjacent boxes, which is the behavior I want. I put them in a FlowPanel because I want them to flow, one two or three items per line, depending

Re: FlowPanel vs. HorizontalPanel

2010-11-30 Thread Greg Dougherty
Inserting block-level elements (div, p, etc.) cause exactly what you're seeing in terms of wrapping, so there isn't any bug there. So you're saying there's no way to have two elements (say a label and the thing it's labeling) always stay together within an operable FlowPanel, since all the ways

Re: FlowPanel vs. HorizontalPanel

2010-11-30 Thread Brian Reilly
keep them together by wrapping them in a span styled with white-space:nowrap;. If your form elements aren't dynamic and you're using UiBinder, this is pretty easy to do by wrapping everything in an HTMLPanel (which will effectively behave like a FlowPanel, except that you can also mix in HTML

Re: vertical alignment inside a FlowPanel

2010-11-25 Thread Olivier TURPIN
Hi magnus vertical-align works only on inline elements, FlowPanel / SimplePanel (div elements) are 'block' types, i don't know exactly what you're trying to achieve but bottom alignment can be painful sometimes... if you don't care about IE6/7 you can have a try with : #mainContainer{ vertical

vertical alignment inside a FlowPanel

2010-11-21 Thread Magnus
Hi, how can a FlowPanel align its contents at the bottom? I tried: myPanel.getElement().getStyle().setVerticalAlign(VerticalAlign.BOTTOM); But the contents (SimplePanels) are aligned at the top. Thanks Magnus -- You received this message because you are subscribed to the Google Groups

Adding HTML / Label to flowPanel

2010-10-19 Thread Kevin (Yau) Leung
I would like to use a flowPanel to contain a list of tags. The tag contain a name and a close button. However, when I add HTML / Label to flowPanel, it will create a new line because it's a DIV element. If the HTML / Label is a span element, there is no new line. However, I can't create

Re: Adding HTML / Label to flowPanel

2010-10-19 Thread Thomas Broyer
On 19 oct, 12:13, Kevin (Yau) Leung kvle...@gmail.com wrote: I would like to use a flowPanel to contain a list of tags.  The tag contain a name and a close button. However, when I add HTML / Label to flowPanel, it will create a new line because it's a DIV element. If the HTML / Label

Re: Adding HTML / Label to flowPanel

2010-10-19 Thread choxy
I do not understand why you cannot create spanElement. In my project I have created custom widget class Span, which extends HTML and calls super(Document.get().createSpanElement()); in constructor. Then you can use it the same way as HTML widget, but it will be created as span element. -- You

Re: Adding HTML / Label to flowPanel

2010-10-19 Thread Yau
Thanks Thomas, you're the man! On Oct 19, 9:24 pm, Thomas Broyer t.bro...@gmail.com wrote: On 19 oct, 12:13, Kevin (Yau) Leung kvle...@gmail.com wrote: I would like to use a flowPanel to contain a list of tags.  The tag contain a name and a close button. However, when I add HTML / Label

Re: FlowPanel - Children are added from right to left #-)

2010-09-30 Thread bconoly
Unfortunately this doesn't have anything to do with GWT. Floating elements to the right always place the first element to the far right and the next to the left of it. One thing you could try is putting this elements in a span with display=inline-block and then floating that span to the right.

Re: FlowPanel - Children are added from right to left #-)

2010-09-29 Thread Magnus
No ideas? Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For

FlowPanel - Children are added from right to left #-)

2010-09-25 Thread Magnus
Hi, I have realized a button bar, i. e. a horizontal bar that contains buttons, as a FlowPanel (not a HorizontalPanel, to be with standards mode). The buttons are aligned to the right (float right). However, when I add buttons, they are added from right to left, i. e. the first one

Issue about adding image icons into FlowPanel

2010-09-24 Thread Michelle Mu
I need to add some small image icons(16*16) into a flowPanel. But the image icons do not lay on a line. Each image icon occupies one line. Can some one tells me what the problem is. My code sample is below: FlowPanel toolPanel = new FlowPanel

Re: Issue about adding image icons into FlowPanel

2010-09-24 Thread Falcon
Each PushButton is wrapped in a div, which is a block-level element. You'll need to change the divs to inline, inline-block, or float them in the PushButton style settings. On Sep 23, 3:15 pm, Michelle Mu mmumail2...@gmail.com wrote: I need to add some small image icons(16*16) into a flowPanel

Re: Issue about adding image icons into FlowPanel

2010-09-24 Thread Michelle Mu
) ImageResource cut(); @Source(PASTE.JPG) ImageResource paste(); @Source(COPY.JPG) ImageResource copy(); } public void display() { FlowPanel toolPanel = new FlowPanel(); Images images

FlowPanel can only contain widgets, but found DateBox

2010-09-01 Thread brendan
Should I be able to the standard DateBox with uiBinder? I'm getting an error message saying: g:FlowPanel can contain only widgets, but found d:DateBox ui:field='startDate' !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder

Re: FlowPanel can only contain widgets, but found DateBox

2010-09-01 Thread Gal Dolber
That should work 2010/9/1 brendan brendanpdohe...@gmail.com Should I be able to the standard DateBox with uiBinder? I'm getting an error message saying: g:FlowPanel can contain only widgets, but found d:DateBox ui:field='startDate' !DOCTYPE ui:UiBinder SYSTEM

Re: FlowPanel can only contain widgets, but found DateBox

2010-09-01 Thread brendan
It should, but it isn't. I'll raise a bug. 08:45:04.685 [DEBUG] [...] Rebinding com.example.client.MyViewImpl.Binder 08:45:04.690 [DEBUG] [...] Invoking com.google.gwt.dev.javac.standardgeneratorcont...@46815882 08:45:04.765 [ERROR] [...] g:FlowPanel can contain only widgets, but found d:DateBox

Re: FlowPanel can only contain widgets, but found DateBox

2010-09-01 Thread brendan
Thanks for the effort putting together that demo. The problem turns out to be a little typo, was missing a colon in urn:import com.google.gwt.user.datepicker.client. On Sep 2, 9:11 am, Gal Dolber gal.dol...@gmail.com wrote: Just test it and it works fine. Try the demo attached. 2010/9/1

Re: how to align labels within a FlowPanel or a LayoutPanel

2010-08-31 Thread Magnus
Addon: I have tried a lot of things with LayoutPanel and FlowPanel, and also a lot of alignment methods with CSS (e. g. display:table-cell;vertical- align:middle;), but I feel that everything is overridden by GWT. Every div has style position: absolute; left: 0px; top: 0px; right: 0px; bottom

how to align labels within a FlowPanel or a LayoutPanel

2010-08-30 Thread Magnus
Hi, how can I vertically center a Label (or HTML) within a FlowPanel or LayoutPanel? In addition, how can I have two Labels (or HTMLs) in a row, one at the left and one at the right, each one vertically centered? Thank you Magnus -- You received this message because you are subscribed

Mousing over padding in FlowPanel does not generate an event

2010-06-03 Thread Vitaliy
elements in here -- /g:FlowPanel /ui:UiBinder In the above example, when mousing over the padding in the FlowPanel, no event is fired, but when mousing over the text elements inside it, an event is fired. Please help me out! Thanks, Vitaliy. -- You received this message because you

using RootLayoutPanel in place of FlowPanel/LayoutPanel and more than once ?

2010-04-26 Thread interdev
of FlowPanel or LayoutPanel ? im using UiBinder, and nesting layout panels, result in strange behaviour, however i found using RootLayoutPanel as the top layout panel, not once but anytime we need a top-level container helps. specifically the code im refering to is below, do you see any problem

Re: FlowPanel inside DockLayoutPanel center element

2010-02-28 Thread Dalla
Thanks, works like a charm :-) On 27 Feb, 17:57, kozura koz...@gmail.com wrote: Throw a float:left style on all the labels and they'll flow left to right, this lets you sortof replace Horizontal and Vertical panels with this div-based approach.  

FlowPanel inside DockLayoutPanel center element

2010-02-27 Thread Dalla
Hi all I´m having an issue using FlowPanel inside the center element of a DockLayoutPanel when using UiBinder. I expected the widgets to flow from left to right, but instead they flow from top to bottom. That is, given the following UiBinder code: g:center g:FlowPanel

Re: FlowPanel inside DockLayoutPanel center element

2010-02-27 Thread Chris Lercher
Hi, Labels are transformed into divs, which have display: block by default. So they naturally stack up vertically (similar to paragraphs p). Chris On Feb 27, 2:19 pm, Dalla dalla_man...@hotmail.com wrote: Hi all I´m having an issue using FlowPanel inside the center element

Re: FlowPanel inside DockLayoutPanel center element

2010-02-27 Thread kozura
Throw a float:left style on all the labels and they'll flow left to right, this lets you sortof replace Horizontal and Vertical panels with this div-based approach. See http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#Standards -- You received this message because you are

Re: Help with GWT FlowPanel and other Panel Styles!

2010-02-23 Thread RPB
the CSS to the children of the FlowPanel (i.e. what you are adding to the panel) rather than the FlowPanel itself. Out of interest, are you using UiBinder or not? Any particular reason you don't want to use HorizontalPanel? On Feb 20, 3:57 am, Tan Jia Bao jayjia...@gmail.com wrote: Hi

Re: Help with GWT FlowPanel and other Panel Styles!

2010-02-22 Thread Tan Jia Bao
advantages in using that? Thank you! On Sat, Feb 20, 2010 at 5:00 PM, RPB robbol...@gmail.com wrote: You need to apply the CSS to the children of the FlowPanel (i.e. what you are adding to the panel) rather than the FlowPanel itself. Out of interest, are you using UiBinder or not? Any

Re: Help with GWT FlowPanel and other Panel Styles!

2010-02-20 Thread RPB
You need to apply the CSS to the children of the FlowPanel (i.e. what you are adding to the panel) rather than the FlowPanel itself. Out of interest, are you using UiBinder or not? Any particular reason you don't want to use HorizontalPanel? On Feb 20, 3:57 am, Tan Jia Bao jayjia...@gmail.com

Re: Help with GWT FlowPanel and other Panel Styles!

2010-02-19 Thread RPB
A FlowPanel will act like a vertical panel (since block-level elements will naturally stack up vertically) unless you change the CSS property of it's children to float:left; Have a look at this for further info: http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html On Feb 19, 6

Re: Help with GWT FlowPanel and other Panel Styles!

2010-02-19 Thread Tan Jia Bao
Hi, thank you for your reply. I've done what you said and attached a CSS style to that flowpanel but it still wouldn't work, though I'm not sure whether is my css file in the correct folder but it works for my regular webpage. However, when I attach a style to some GWT generated text, it doesn't

Help with GWT FlowPanel and other Panel Styles!

2010-02-18 Thread Tan Jia Bao
stuffs such as the Product name and Image are used in. In that Widget's constructor, I put all the Labels, Image into a Vertical Panel, the constructor is created with UsageExample client side file, in that client file, I have a FlowPanel which adds the widget into itself. Then my mainentrypoint

MouseOverHandler on a FlowPanel

2009-12-14 Thread Olivier
Hi, I would like to add a mouse over on a flow panel. MyFLowPanel.addMouseOverHandler(...) doesn't seems to be possible. How can I do that ? Thanks --- Olivier Digiworks Política de Protección de Datos de Carácter Personal En cumplimiento de la Ley Orgánica 15/1999, de 13 de diciembre,

  1   2   >