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 wha
@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 do
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. clicki
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
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 fro
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(100
I enabled scroll bars in a StackLayoutPanel using css as follows:
In the ui.xml:
ui:style
@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
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 me, I
would
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
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
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 chris.sim...@gmail.com wrote:
I'm looking
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 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 boualem.is...@gmail.com wrote:
Hi,
Make the one item a VerticalPanel (or HorizontalPanel
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
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.
--
You received
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 anapont...@gmail.com 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
) and then put
what ever you want in Vertical/Horizontal Panel..
On Apr 19, 1:44 pm, Ani anapont...@gmail.com 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 that by
definition it just show 1
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 group.
To post
g:Labelable/g:Label
/g:stack
g:stack
g:customHeader size='3'
g:LabelCustom header/g:Label
/g:customHeader
g:Labelbaker/g:Label
/g:stack
/g:StackLayoutPanel
Alexandre
2011/4/5 Issam boualem.is...@gmail.com
Hi,
I am searching how to use StackPanel with uibinder since
Alexandre
2011/4/5 Issam boualem.is...@gmail.com
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
/4/5 Issam boualem.is...@gmail.com
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
/g:stack
g:stack
g:customHeader size='3'
g:LabelCustom header/g:Label
/g:customHeader
g:Labelbaker/g:Label
/g:stack
/g:StackLayoutPanel
Alexandre
2011/4/5 Issam boualem.is...@gmail.com
Hi,
I am searching how to use StackPanel with uibinder
Alexandre
2011/4/5 Issam boualem.is...@gmail.com
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
header/g:Label
/g:customHeader
g:Labelbaker/g:Label
/g:stack
/g:StackLayoutPanel
Alexandre
2011/4/5 Issam boualem.is...@gmail.com
Hi,
I am searching how to use StackPanel with uibinder since
unfortunately
it is not me ntonned on th gwt
, 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,
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 - StackLayoutPanel
...
What's the difference, e
- 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,
and when should I use which?
Thanks
Magnus
On Jul 21
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 grows
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 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
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 googelyb...@gmail.com wrote:
Hi,
I am using aStackPanelin ui binder and would like to
internationalize
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:
g:StackPanel width='175px' ui:field=mainMenuStackPanel
an 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 google-web-tool
http://www.google.com/codesearch/p?hl=en#A1edwVHBClQ/user/src/com/google/gwt/uibinder/sample/client/WidgetBasedUi.ui.xmlq=stackpanel%20package:http://google-web-toolkit\.googlecode\.com
On Wed, May 26, 2010 at 1:56 AM, googelybear googelyb...@gmail.com wrote:
Hi,
After searching I found out
/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,
Dennis
--
You received this message because you are subscribed
/detail?id=4694
On Apr 7, 2:34 am, Hamlet D'Arcy hamlet...@gmail.com wrote:
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 hamlet...@gmail.com wrote:
Has
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
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 hamlet...@gmail.com wrote:
Has anyone ever seen something like this before:
I have a StackPanel in my application
is within the
StackPanel.
Does anyone know of issues with mixing StackPanel and
DockLayoutPanel?
On Apr 7, 9:32 am, Hamlet D'Arcy hamlet...@gmail.com wrote:
Has anyone ever seen something like this before:
I have a StackPanel in my application.
On IE7 only, The first time I start my
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 assign
different
Revision: 7127
Author: jlaba...@google.com
Date: Mon Nov 23 13:01:27 2009
Log: Fixing an NPE in StackPanel that occurs very rarely in IE.
Patch by: jlabanca
Review by: jat (desk)
http://code.google.com/p/google-web-toolkit/source/detail?r=7127
Modified:
/trunk/user/src/com/google/gwt/user
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
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
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 parmeet.ko...@gmail.com wrote:
Hi All,
I need help with adding an image
) {
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 am, Phineas Gage phineas...@gmail.com wrote:
When using a StackPanel
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 to do
();
}
}
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 phineas...@gmail.com wrote:
When using a StackPanel, is there any way to listen for when the
selected index of the StackPanel changes?
I see
/listThanks,
-Sumit Chandel
On Wed, Aug 19, 2009 at 1:20 AM, MiSt m...@mist.pl 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
It turned out that removing
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, 100%);
solves the issue
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 of nested
the normal CSS for StackPanel and nothing changes.
.gwt-StackPanel {
background-color :#cff;
}
.gwt-StackPanel .gwt-StackPanelItem {
}
.gwt-StackPanel .gwt-StackPanelItem-selected {
}
.gwt-StackPanel .gwt-StackPanelContent {
}
You would thank that some sort of backgroup color would
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
donald.w.l...@thelongsfamily.com
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 {
background-color :#cff;
}
.gwt-StackPanel .gwt
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(aaa)'
and then define
for you.
-Nick
On May 18, 9:24 pm, Donald.W.Long donald.w.l...@thelongsfamily.com
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
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-selected {
}
.gwt-StackPanel .gwt
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
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 opens
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
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
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');*/
background-color
of the 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?
Here I set my CSS:
.gwt-StackPanel .gwt
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 consists
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 sumitchan...@google.com
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
SplitPanel, it appears fine
.setSize(100%, 100%);
// stack panel
DecoratedStackPanel stackPanel = new DecoratedStackPanel();
stackPanel.add(scrollPanelStack1, Stack Panel 1);
stackPanel.add(new Button(Stack 2), Stack Panel 2);
stackPanel.add(new Button(Stack 3), Stack Panel 3
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
outlook like), and am having
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
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 trying to get the
StackPanel to fill the entire left
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, Sunil
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]
::setStackVisible(IZ)([EMAIL
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
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
76 matches
Mail list logo