I took a look at StackLayoutPanel (StackPanel is similar), and it doesn't
have a "hideWidget" method, only a showWidget, which would have enabled us
to implement the toggle on the headers by adding a ClickHandler on the
Header widgets for instance.
So the only way I see to do w
@Rogelio, Thanks for your input. Please see animated gif
here: http://www.AppyBuilder.com/temp/stackpanel.gif
It uses StackPanel. However, Stackpanel, by default opens-up the 1st panel.
What I like to do is to be able to toggle and expand OR collapse (e.g. User
Interface panel).
So, what you
Ok, I forgot about the StackPanel, which already does what you want, except
you have to click on the header of each "stacked" panel, so I assume what
you want is to click on the "body" of the panel (?) or add the ability to
open multiple panels at the same time (?). I don
imply put your panel inside a DisclosurePanel:
>
>
> http://samples.gwtproject.org/samples/Showcase/Showcase.html#!CwDisclosurePanel
>
>
> On Monday, October 29, 2018 at 2:56:31 PM UTC-6, Hossein wrote:
>>
>> Is it possible to toggle the StackPanel; i.e. clicking wi
le the StackPanel; i.e. clicking will open; and
> consecutive click will collapse.
>
> Thanks,
> Hossein.
>
--
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 i
Is it possible to toggle the StackPanel; i.e. clicking will open; and
consecutive click will collapse.
Thanks,
Hossein.
--
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 i
I am trying to get my stackpanel with four items to show a border or
something that shows the user that there is different tabs within the
panel. I have tried making css calls based off of what i found here,
https://groups.google.com/forum/#!msg/google-web-toolkit/kZHdgUaqRec/XNUY5BZL8y0J
1) I'm trying to create a StackPanel with two child panels: a table
with a scrollbar in one, and a read-only text box in the other. My
code looks like this:
// create the stack panel
stackPanel = new StackPanel();
stackPanel.setWidth
I enabled scroll bars in a StackLayoutPanel using css as follows:
In the ui.xml:
@external gwt-StackLayoutPanelContent;
.myStackContentStyle .gwt-StackLayoutPanelContent {
overflow: auto;
border: 1px solid #bb;
border-bottom: 0px;
background: white;
padding: 2px 2px 10px 5px;
}
...
...
-
its ok also to use
DecorateStackPanel... =) try it. and its nice.
--
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
goog
Maybe you want to create a custom composite that wraps a ScrollPanel. Then
add a FlowPanel or something to the ScrollPanel and add DisclosurePanels to
that FlowPanel and arrange them vertically and style them with css.
That way you would have something like the side menu
in http://gwt.google.co
Hi Carlos,
Thank you for your answer but it's still not what I want :( Because I
need the panel to act like a StackPanel (I mean, I need them to expand
and close, like a StackPanel does), but in a way that if i want to
have two items open, i could. With the aproach you're suggesting m
The StackPanel header itself is supposed to be a clickable area. So I wonder
why you would want to add a button to this area.
Anyway, I do not have an idea how to add the button there.
Thank you,
Sunit Katkar
On Fri, Apr 22, 2011 at 7:50 AM, Chris wrote:
> I'm looking around and t
I'm looking around and trying to find a way to add a Button to a Stack
Panel's header; has anyone done this before?
Thanks.
--
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@googlegrou
hello,
you can create a panel which can be of any kind according to the way
you want to view your items (a vertical panel for example)
then you add the different items to this new created item.
finally you add this panel to your StackPanel.
hope this will help you Ani.
Carlos.
On 20 avr, 08:14
Hi Gaurav,
Thank you for answering! I need a widget that works like a StackPanel,
but in a way that I can have two items open simultaneously. Now, I
have a StackPanel with 3 items, but I just can see one of them at
time. Is it more clear now??Thank you for any help!
On 20 abr, 06:07, Gaurav
Hi Issam,
Thank you for your answer... But what do you mean by "Make the one
item a VerticalPanel"??Which one??Do you mean that I should use
VertcialPanel instead of StackPanel?
On 19 abr, 14:33, Issam wrote:
> Hi,
> Make the one item a VerticalPanel (or HorizontalPanel) and
put
> what ever you want in Vertical/Horizontal Panel..
> On Apr 19, 1:44 pm, Ani wrote:
>
>
>
>
>
>
>
> > Hello,
>
> > I hope that someone can help me with this question. Is it possible to
> > show more than 1 item on a stackpanel? I mean, i know tha
Hi,
Make the one item a VerticalPanel (or HorizontalPanel) and then put
what ever you want in Vertical/Horizontal Panel..
On Apr 19, 1:44 pm, Ani wrote:
> Hello,
>
> I hope that someone can help me with this question. Is it possible to
> show more than 1 item on a stackpanel? I mean,
Hello,
I hope that someone can help me with this question. Is it possible to
show more than 1 item on a stackpanel? I mean, i know that by
definition it just show 1 at time, but i'd like to know if it's
possible to do something like that
Thank you very much for your help.
--
Yo
google/g...
>
> > > > >
> > > > >
> > > > > HTML header
> > > > > able
> > > > >
> > > > >
> > > > >
> > > > > Custom header
> > > > >
>
er.
> > > > See the exemple athttp://
> > google-web-toolkit.googlecode.com/svn/javadoc/2.2/com/google/g...
>
> > > >
> > > >
> > > > HTML header
> > > > able
> > > >
> > > >
> > > &
/com/google/g...
> >
> > >
> > >
> > > HTML header
> > > able
> > >
> > >
> > >
> > > Custom header
> > >
> > > baker
> > >
> > >
> >
>
ode.com/svn/javadoc/2.2/com/google/g...
>
> >
> >
> > HTML header
> > able
> >
> >
> >
> > Custom header
> >
> > baker
> >
> >
>
> > Alexandre
>
> > 2011/4/5 Issam
>
.2/com/google/g...
>
>
>
> HTML header
> able
>
>
>
> Custom header
>
> baker
>
>
>
> Alexandre
>
> 2011/4/5 Issam
>
>
>
>
>
>
>
> > Hi,
> > I am searching how to use StackPanel with ui
2011/4/5 Issam
> Hi,
> I am searching how to use StackPanel with uibinder since unfortunately
> it is not me ntonned on th gwt-javaDoc
> Any one had an idea about this.
>
> any examples are welcome
>
> Thanks.
>
> --
> You received this message because you ar
Hi,
I am searching how to use StackPanel with uibinder since unfortunately
it is not me ntonned on th gwt-javaDoc
Any one had an idea about this.
any examples are welcome
Thanks.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" grou
lPanel -> VerticalPanel.
>
> However, what is this all about with these multiple classes for one
> and the same thing:
> DockPanel <-> DockLayoutPanel
> StackPanel <-> StackLayoutPanel
> ...
>
> What's the difference, e. g. between StackPanel and StackLayoutPanel,
&
Hi,
I've got it working now. The actual hierarchie is: DockLayoutPanel ->
StackLayoutPanel -> ScrollPanel -> VerticalPanel.
However, what is this all about with these multiple classes for one
and the same thing:
DockPanel <-> DockLayoutPanel
StackPanel <-> StackL
, Magnus wrote:
Hi Prashant,
I have done everything you said, with some losings, but also without
success (scrollbars):
- I changed the StackPanel into a StackLayoutPanel
- then, the CSS padding (10px) has no effect anymore
(the stack is aligned directly at the left edge, without space, but
ok)
- I
Hi Prashant,
I have done everything you said, with some losings, but also without
success (scrollbars):
- I changed the StackPanel into a StackLayoutPanel
- then, the CSS padding (10px) has no effect anymore
(the stack is aligned directly at the left edge, without space, but
ok)
- I added
The way I would go about doing this is as follows, see if this works for
you or gives any hints:
0. Make sure you are in STANDARDS mode.
1. Use StackLayoutPanel and add it to your parent LayoutPanel ( mixing
StackPanel with a DockLayoutPanel gives unpredictable results - so some
one has said
Hi,
I want to show the contents of a log file inside a StackPanel. The log
file itself is a class "LogPanel" based on a VerticalPanel. Because
the log file grows, I added an intermediate ScrollPanel (see code
below).
The problem: The ScrollPanel never shows scrollbars. Instead, it gr
no one ever used stackpanel with internationalization?
The only other solution I see is to create the stackpanel
programmatically without uibinder.
On Jun 5, 12:07 pm, googelybear wrote:
> Hi,
>
> I am using aStackPanelin ui binder and would like to
> internationalize the header
Hi,
I am using a StackPanel in ui binder and would like to
internationalize the header texts of the stacks. After going again
through the i8n doc on how to translate attributes I tried the
following straight-forward approach
b-toolkit/browse_thread/threa...
> > Unfortunately this is not described in the javadock of DockPanel.
>
> > I was not able to find an example for StackPanel, and the javadoc
> > lacks any description. Can someone point me into the right direction?
>
> > thanks,
>
http://www.google.com/codesearch/p?hl=en#A1edwVHBClQ/user/src/com/google/gwt/uibinder/sample/client/WidgetBasedUi.ui.xml&q=stackpanel%20package:http://google-web-toolkit\.googlecode\.com
On Wed, May 26, 2010 at 1:56 AM, googelybear wrote:
> Hi,
>
> After searching I found o
example for StackPanel, and the javadoc
lacks any description. Can someone point me into the right direction?
thanks,
Dennis
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to googl
ssues/detail?id=4694
>
> On Apr 7, 2:34 am, "Hamlet D'Arcy" wrote:
>
>
>
> > The problem only occurs when a DockLayoutPanel is within the
> > StackPanel.
>
> > Does anyone know of issues with mixing StackPanel and
> > DockLayoutPanel?
youtPanel is within the
> StackPanel.
>
> Does anyone know of issues with mixing StackPanel and
> DockLayoutPanel?
>
> On Apr 7, 9:32 am, "Hamlet D'Arcy" wrote:
>
> > Has anyone ever seen something like this before:
>
> > I have a StackPanel in my appli
The problem only occurs when a DockLayoutPanel is within the
StackPanel.
Does anyone know of issues with mixing StackPanel and
DockLayoutPanel?
On Apr 7, 9:32 am, "Hamlet D'Arcy" wrote:
> Has anyone ever seen something like this before:
>
> I have a StackPanel in my
Has anyone ever seen something like this before:
I have a StackPanel in my application.
On IE7 only, The first time I start my application in Tomcat, and
navigate to the application in the browser, then the contents of the
first stack panel renders correctly. If I hit refresh then the panel
is
Hello there,
I have a DecoratedStackPanel, and I want to style it so that each
button in the stack has a different style (e.g. background color.)
I've tried this.addStyleName("menu_style1"); but this adds the extra
styles to all the buttons of the stackpanel. Is there a way to a
Is the only way to handle an event when a tab is selected to create my
own StackPanel-subclassed widget? It seems to be lacking the add...
handlers that a TabPanel has, which is interesting since I though
these were very similar widgets other than how they display their
tabs.
Any code examples
http://gwt.google.com/samples/Showcase/Showcase.html#CwStackPanel
Check out the source code for that. That's how I learned to add the
images into the StackPanel.
Hope that helps.
On Sep 8, 9:30 am, Parmeet Kohli wrote:
> Hi All,
>
> I need help with adding an image to t
Hi All,
I need help with adding an image to the header of a
StackPanel's child.
add(Widget w, java.lang.String stackText) does not work for
me as it only adds text to the header. Please help !!!
Thanks,
Parmeet
--~--~-~--~~~---~--~~
You received t
ndex) {
> super.showStack(index);
>
> if (index == getSelectedIndex()) {
> onShowStack();
> }
> }
>
> And, of course, create an onShowStack method that would only be called
> when the stack is changed.
>
> HTH,
> Chad
>
> On Aug 28, 1:26 a
Stack();
}
}
And, of course, create an onShowStack method that would only be called
when the stack is changed.
HTH,
Chad
On Aug 28, 1:26 am, Phineas Gage wrote:
> When using a StackPanel, is there any way to listen for when the
> selected index of the StackPanel changes?
>
> I s
When using a StackPanel, is there any way to listen for when the
selected index of the StackPanel changes?
I see that it can be retrieved with getSelectedIndex() and set with
showStack(index), but there is no apparent way to be called when
someone clicks to set the current index. I'd like
ues/list>Thanks,
-Sumit Chandel
On Wed, Aug 19, 2009 at 1:20 AM, MiSt wrote:
>
> I've some problems with Stackpanel in ie8 (standard mode) GWT 1.7
>
> My StackPanel has width and height set explicitly in pixels but under
> ie8 it looks much higher than its size
>
> I
I've some problems with Stackpanel in ie8 (standard mode) GWT 1.7
My StackPanel has width and height set explicitly in pixels but under
ie8 it looks much higher than its size
It turned out that removing line 142 from StackPanel:
DOM.setElementProperty(tdb, "height", "
So with TabPanel there is an addBeforeSelectionHandler() method which
allows me to show the tab header and delay loading the content until
the tab is selected, how can i do this same thing with StackPanel? I
don't see where i could hook that in.
What i'm considering is creating a set
G'day. Is there a way to keep all StackPanel children visible?
I've added a Tree inside each StackPanel and some are quite tall.
When they're opened, a scrollbar appears to view the bottom TreeItems
and the StackPanel children below the tree are also down there.
Doj
would
> > love to drop this and move to GWT.
>
> > Again any help please.
>
> > On May 19, 9:56 am, Nick wrote:
>
> > > Add the style name instead (i.e. addStyleName("mstackpanel") and see
> > > if that works for you.
> > > -Nick
>
>
gt; Again any help please.
>
> On May 19, 9:56 am, Nick wrote:
>
> > Add the style name instead (i.e. addStyleName("mstackpanel") and see
> > if that works for you.
> > -Nick
>
> > On May 18, 9:24 pm, "Donald.W.Long"
> > wr
There are some predefined styles that GWT applies to each component
like '.gwt-StackPanel'.
I haven't tried this way.
GWT helps you with the HTML and javascript generation but CSS is a bit
hard to work with.
You can asign a CSS class to a component with 'w.setStyleName(&qu
ng"
> wrote:
>
>
>
> > Hi all,
>
> > I have been playing around with StackPanels and I wish to control the
> > look of it.
>
> > I have tried using the normal CSS for StackPanel and nothing changes.
>
> > .gwt-StackPanel {
> > ba
"Donald.W.Long"
> wrote:
>
>
>
> > Hi all,
>
> > I have been playing around with StackPanels and I wish to control the
> > look of it.
>
> > I have tried using the normal CSS for StackPanel and nothing changes.
>
> > .gwt-StackPanel {
In a special case (using myGwt components) and for a special component
I needed to add an ID to the component and to specify the CSS by ID.
In general it works well using addStyleName. But the styles available
depends on the type of HTML component, I think the StackPanel is an
HTML TABLE.
On
Add the style name instead (i.e. addStyleName("mstackpanel") and see
if that works for you.
-Nick
On May 18, 9:24 pm, "Donald.W.Long"
wrote:
> Hi all,
>
> I have been playing around with StackPanels and I wish to control the
> look of it.
>
> I have tri
Hi all,
I have been playing around with StackPanels and I wish to control the
look of it.
I have tried using the normal CSS for StackPanel and nothing changes.
.gwt-StackPanel {
background-color :#cff;
}
.gwt-StackPanel .gwt-StackPanelItem {
}
.gwt-StackPanel .gwt-StackPanelItem
Hi all,
This is how I came up with being able to determine if the group
changed or not.
I extended the StackPandel class as the following.
private class sStackPanel extends StackPanel {
public void onBrowserEvent(Event event) {
super.onBrowserEvent(event
Nope, I wish to know when a user selects another group. The widgets
in the group already have event handlers.
Example
GROUP1
<.>
GROUP2
<.>
GROUP3
<..>
When you first display the stackpandel you se the contents of group1
and group2 and group3 a closed. What I need is when a user
You can add ClickHandlers to the widgets you add to the stack panel.
Would that suit your needs ?
Cheers,
Salvador
On May 9, 12:55 am, "Donald.W.Long"
wrote:
> I am trying to figure out how one get determine when the user selects
> another child. I do not see a way to create an event to when
I am trying to figure out how one get determine when the user selects
another child. I do not see a way to create an event to when the
child is selected it fires, like a button.
Is this supported?
Thanks
Donald W. Long
--~--~-~--~~~---~--~~
You received this mes
nselected CSS. If I leave the
> > unselected alone, the selected stack panel will correctly overwrite,
> > but if I define my own, it will not. Is this a bug, or some "working
> > as intended" thing?
>
> > Here I set my CSS:
>
> > .gw
e selected stack panel without
> having it get overwritten by the unselected CSS. If I leave the
> unselected alone, the selected stack panel will correctly overwrite,
> but if I define my own, it will not. Is this a bug, or some "working
> as intended" thing?
>
>
g?
Here I set my CSS:
.gwt-StackPanel .gwt-StackPanelItem-selected {
background: url('images/toggle-o.gif');
}
.gwt-StackPanel .gwt-StackPanelItem {
font-weight: bold;
font-size: 8pt;
width: 400px;
/*background: url('images/toggle-c.gif'
I was wondering if anyone knew of an easy way to use a StackPanel
header as a hyperlink. I'm trying to make a navigation menu using
StackPanel and vertical panels. However, there are one or two menu
items that have no submenu (thus no VerticalPanel).
Currently, my VerticalPanel consis
Sumit,
Thanks for your help. I deceided to not use the StackPanel in this
way. I figure they must have had a reason to take away the
functionality so I found a different solution. I appreciate your
efforts though.
Best regards,
David
On Oct 31, 9:27 pm, Sumit Chandel wrote:
> Hello ag
quot;Stack 1"));
stack1Content.add(new Button("Stack 1"));
ScrollPanel scrollPanelStack1 = new ScrollPanel();
scrollPanelStack1.add(stack1Content);
scrollPanelStack1.setSize("100%", "100%");
// stack panel
DecoratedStackPanel stackP
I have no problems with IE (7.0.5730.13), can you send me a code
snippet
for a test.
On 3 Nov., 23:02, Sunil <[EMAIL PROTECTED]> wrote:
> I couldn't find a way to figure out the height to set for the
> StackPanel in a DialogBox. If it is set to the height of the parent
> Sp
I couldn't find a way to figure out the height to set for the
StackPanel in a DialogBox. If it is set to the height of the parent
SplitPanel, it appears fine in Safari, but not in IE and Firefox where
it always appears larger than the dialog height causing scrolling.
On Nov 3, 3:28 pm,
On Nov 3, 12:10 pm, sepp maier <[EMAIL PROTECTED]> wrote:
> Hallo Sunil,
>
> On 3 Nov., 15:52, Sunil <[EMAIL PROTECTED]> wrote:
>
> > I am trying to create a DialogBox with a HorizontalSplitPanel, the
> > left side of which contains a StackPanel. I was tryi
Hallo Sunil,
On 3 Nov., 15:52, Sunil <[EMAIL PROTECTED]> wrote:
> I am trying to create a DialogBox with a HorizontalSplitPanel, the
> left side of which contains a StackPanel. I was trying to get the
> StackPanel to fill the entire left side of the SplitPanel (sort of
> out
I am trying to create a DialogBox with a HorizontalSplitPanel, the
left side of which contains a StackPanel. I was trying to get the
StackPanel to fill the entire left side of the SplitPanel (sort of
outlook like), and am having trouble achieving that.
Question 1:
I have to specifically set the
Hello again,
What I meant was, you would probably have a method like the following to
make the calls to setStackVisible() and set the visibleStack field:
private native void closeAll(StackPanel stackPanel) /*-{
[EMAIL PROTECTED]
::setStackVisible(IZ)([EMAIL PROTECTED]::visibleStack,
false
to your stack panel's setStackVisible(visibleStack, false) method
and visibleStack field.
You would need to set the visibleStack to -1 as well. The code would look
something like this:
private native void setVisibleStackToMinus1(StackPanel stackPanel) /*-{
[EMAIL PROTECTED]
::setStack
StackPanel stackPanel;
stackPanel.showStack(-1);
Would close the stackPanel in 1.4 but does not work in 1.5.
Why was this functionality removed and what is the work around, if
there is one?
Thanks,
--~--~-~--~~~---~--~~
You received this message because you
79 matches
Mail list logo