You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by Scott Lanham <li...@sael.com.au> on 2011/03/23 08:59:28 UTC

TableView Row Height

Hello,

I know I used to be able to do this but do you think I can find the old code! 
Older programmer brain syndrome :-)

I need to be able to make the rows in TableView much bigger than they are by 
default (touchscreen app). How do I go about doing that?

Thanks heaps,

Scott.

Re: TableView Row Height

Posted by lello <rb...@gmail.com>.
Thanks!! setting "margin" has solved the problem.


Greg Brown-2 wrote:
> 
> I believe TextArea has a margin style. Did you try setting that?
> 
> On Apr 5, 2011, at 8:44 AM, lello wrote:
> 
>> Sorry, 
>> always my old problem I forget to add a quotation...
>> Anyway, I am trying to increase the row height in a TableView.
>> All the renderers are of type TextAreaCellRenderer.
>> How can I do that?
>> Greg, as you, suggested one can try to increase the padding, but a
>> TextArea
>> has no padding.
>> So I don't know how to do it.
>> 
>> 
>> 
>> Greg Brown-2 wrote:
>>> 
>>> I'm not sure what you are asking about. Can you paste in any relevant
>>> context from the original thread? 
>>> 
>>> On Apr 5, 2011, at 6:47 AM, lello wrote:
>>> 
>>>> Hi guys I was trying to do something similar, but my renderers are alla
>>>> based
>>>> on the TextAreaCellRenderer which apparently doesn't have a padding
>>>> property, how can I increase the height of the cell?
>>>> 
>>>> Thanks for the help.
>>>> Lello
>>>> 
>>>> --
>>>> View this message in context:
>>>> http://apache-pivot-users.399431.n3.nabble.com/TableView-Row-Height-tp2719424p2779409.html
>>>> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
>>> 
>> 
>> 
>> --
>> View this message in context:
>> http://apache-pivot-users.399431.n3.nabble.com/TableView-Row-Height-tp2719424p2779736.html
>> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
> 


--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/TableView-Row-Height-tp2719424p2779790.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Re: TableView Row Height

Posted by Greg Brown <gk...@verizon.net>.
I believe TextArea has a margin style. Did you try setting that?

On Apr 5, 2011, at 8:44 AM, lello wrote:

> Sorry, 
> always my old problem I forget to add a quotation...
> Anyway, I am trying to increase the row height in a TableView.
> All the renderers are of type TextAreaCellRenderer.
> How can I do that?
> Greg, as you, suggested one can try to increase the padding, but a TextArea
> has no padding.
> So I don't know how to do it.
> 
> 
> 
> Greg Brown-2 wrote:
>> 
>> I'm not sure what you are asking about. Can you paste in any relevant
>> context from the original thread? 
>> 
>> On Apr 5, 2011, at 6:47 AM, lello wrote:
>> 
>>> Hi guys I was trying to do something similar, but my renderers are alla
>>> based
>>> on the TextAreaCellRenderer which apparently doesn't have a padding
>>> property, how can I increase the height of the cell?
>>> 
>>> Thanks for the help.
>>> Lello
>>> 
>>> --
>>> View this message in context:
>>> http://apache-pivot-users.399431.n3.nabble.com/TableView-Row-Height-tp2719424p2779409.html
>>> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
>> 
> 
> 
> --
> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/TableView-Row-Height-tp2719424p2779736.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.


Re: TableView Row Height

Posted by lello <rb...@gmail.com>.
Sorry, 
always my old problem I forget to add a quotation...
Anyway, I am trying to increase the row height in a TableView.
All the renderers are of type TextAreaCellRenderer.
How can I do that?
Greg, as you, suggested one can try to increase the padding, but a TextArea
has no padding.
So I don't know how to do it.



Greg Brown-2 wrote:
> 
> I'm not sure what you are asking about. Can you paste in any relevant
> context from the original thread? 
> 
> On Apr 5, 2011, at 6:47 AM, lello wrote:
> 
>> Hi guys I was trying to do something similar, but my renderers are alla
>> based
>> on the TextAreaCellRenderer which apparently doesn't have a padding
>> property, how can I increase the height of the cell?
>> 
>> Thanks for the help.
>> Lello
>> 
>> --
>> View this message in context:
>> http://apache-pivot-users.399431.n3.nabble.com/TableView-Row-Height-tp2719424p2779409.html
>> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
> 


--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/TableView-Row-Height-tp2719424p2779736.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Re: TableView Row Height

Posted by Greg Brown <gk...@verizon.net>.
I'm not sure what you are asking about. Can you paste in any relevant context from the original thread? 

On Apr 5, 2011, at 6:47 AM, lello wrote:

> Hi guys I was trying to do something similar, but my renderers are alla based
> on the TextAreaCellRenderer which apparently doesn't have a padding
> property, how can I increase the height of the cell?
> 
> Thanks for the help.
> Lello
> 
> --
> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/TableView-Row-Height-tp2719424p2779409.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.


Re: TableView Row Height

Posted by lello <rb...@gmail.com>.
Hi guys I was trying to do something similar, but my renderers are alla based
on the TextAreaCellRenderer which apparently doesn't have a padding
property, how can I increase the height of the cell?

Thanks for the help.
Lello

--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/TableView-Row-Height-tp2719424p2779409.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Re: TableView Row Height

Posted by Scott Lanham <li...@sael.com.au>.
Sorry. What I tried did work. Just the new BXML file wasn't being detected.

On Fri, 25 Mar 2011 01:54:05 pm Scott Lanham wrote:
> Hi Greg,
> 
> I have tried to set the padding using several methods with no success.
> 
> Would you be able to point me to a code example somewhere please?
> 
> Thanks,
> 
> Scott.
> 
> On Wed, 23 Mar 2011 09:44:41 pm Greg Brown wrote:
> > One option is to use a larger font in the table view (or in the theme as
> > a whole). Another would be to increase the padding in the cell renderers
> > used in the table.
> > 
> > On Mar 23, 2011, at 3:59 AM, Scott Lanham wrote:
> > > Hello,
> > > 
> > > I know I used to be able to do this but do you think I can find the old
> > > code! Older programmer brain syndrome :-)
> > > 
> > > I need to be able to make the rows in TableView much bigger than they
> > > are by default (touchscreen app). How do I go about doing that?
> > > 
> > > Thanks heaps,
> > > 
> > > Scott.

Re: TableView Row Height

Posted by Scott Lanham <li...@sael.com.au>.
Hi Greg,

I have tried to set the padding using several methods with no success.

Would you be able to point me to a code example somewhere please?

Thanks,

Scott.

On Wed, 23 Mar 2011 09:44:41 pm Greg Brown wrote:
> One option is to use a larger font in the table view (or in the theme as a
> whole). Another would be to increase the padding in the cell renderers
> used in the table.
> 
> On Mar 23, 2011, at 3:59 AM, Scott Lanham wrote:
> > Hello,
> > 
> > I know I used to be able to do this but do you think I can find the old
> > code! Older programmer brain syndrome :-)
> > 
> > I need to be able to make the rows in TableView much bigger than they are
> > by default (touchscreen app). How do I go about doing that?
> > 
> > Thanks heaps,
> > 
> > Scott.

Re: TableView Row Height

Posted by Greg Brown <gk...@verizon.net>.
One option is to use a larger font in the table view (or in the theme as a whole). Another would be to increase the padding in the cell renderers used in the table.

On Mar 23, 2011, at 3:59 AM, Scott Lanham wrote:

> Hello,
> 
> I know I used to be able to do this but do you think I can find the old code! 
> Older programmer brain syndrome :-)
> 
> I need to be able to make the rows in TableView much bigger than they are by 
> default (touchscreen app). How do I go about doing that?
> 
> Thanks heaps,
> 
> Scott.