Re: Centering text in a Label
CSS line-height property can be used to vertically align. ex: .gwtLabel{ border: 1px solid red; font-size: 13px; height: 300px; line-height: 300px; text-align: center; background-color: lavender; } -Kalpana On Thu, Sep 8, 2011 at 5:59 PM, Sudhakar Abraham s.abra...@datastoregwt.com wrote: To adjust the properties padding-top,padding-bottom,padding- right,padding-left in Style Sheet, please see the following code. .gwt-Label-1 { border: 1px solid; font-size: 13px; padding-left:5px; padding-right:5px; padding-bottom:5px; padding-top:5px; background-color: lavender; } S. Abraham www.DataStoreGwt.com On Sep 8, 3:33 pm, ph09 ph.hei...@googlemail.com wrote: Hello, I try to centering text in a Label with following CSS: .gwt-Label-1 { border: 1px solid; font-size: 13px; vertical-align: middle; text-align: center; background-color: lavender; } It works all except of vertical-align: middle. The text is always at the top of the Label. Does anyone know why? -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
LineChart -need to change chart's width on resizing the splitter in SplitLayoutPanel
Hello, I am using GWT 2.2 SplitLayoutPanel. I am using GWT Visualization LineChart(CoreChart) in one of the region. The requirement is that when we re-size the splitter, the current width of that region(which holds the chart) should be applied to the chart. I tried applying the dynamic width of the region to the chart but only the chart area's width got affected but not the x-axis. We need to apply the dynamic width to the options that we pass to the chart. In that case we may need to redraw the chart whenever we do resizing. Can anyone provide is there any other option we can set dynamic width to the charts. And also to change the x-axis date formats to our desired date formats. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: set CSS Styles for Charts
Hello, I am working on GWT Visualization Annotated Time Line chart. Even I am trying to find solution for applying css. Is there any solution? Regards, Kalpana On Fri, Jun 10, 2011 at 2:34 PM, ArnoNyhm etechniker@googlemail.comwrote: hi, where i can find the info about the default css for the visualisation api? i want to change background an other stuff for a PieChart, but i canĀ“t found the info, about the CSS. regards arno -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
how to get new size when doing onResize() in SplitLayoutPanel?
Hello, I am using GWT 2.2 SplitLayoutPanel. The user is given the option of resizing using the vertical splitter. In the right panel, a CellTable is inside a ScrollPanel . When i resize, the scroll panel should automatically increase in width i.e, the scroll panel should occupy the total space in the right side. My Sample code is: public class FiaDisplayT extends ResizeComposite implements ProvidesResize, RequiresResize, FiaDisplayInterfaceT { public void onResize() { Window.alert(resize); } } How to get the new width of the panel? I am able to get the alert on resizing but i am unable to do anything on the page after the alert. I tried in IE7. Thanks in Advance, kalpana -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How to select a row on click of any cell in that row - Celltable
Hello, I am using GWT 2.2 CellTable. I want to select a row if i click on any cell in that row similar to what is achieved when selecting checkbox in the selectionmodel. As per my requirement, we are not using Checkboxcell to select a row in celltable. note: all the cells in the celltable are constructed using TextColumn. Can anyone help me on this. Thanks in Advance, Kalpana -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.