Vertical center alignment of data grid row

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
AppleBite
Posts: 7
Joined: Fri Oct 31, 2014 10:25 am

Vertical center alignment of data grid row

Post by AppleBite » Fri Oct 31, 2014 10:31 am

I'm new to Livecode and can't find a solution for my problem:

I have 2 columns in a datagrid. First column is a normal text column, second is filled with an image and a fixed height.

Now the text of the first column is always at the top of the row. Doesn't look really nice.

How could i align the text of the first column in the vertical center of its row?

Thanks for help ;-)

Klaus
Posts: 12204
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Vertical center alignment of data grid row

Post by Klaus » Fri Oct 31, 2014 12:47 pm

Hi AppleBite,

1. welcome to the forum! :D
2. Is this a datagrid of type FORM or TABLE?


Best

Klaus

AppleBite
Posts: 7
Joined: Fri Oct 31, 2014 10:25 am

Re: Vertical center alignment of data grid row

Post by AppleBite » Fri Oct 31, 2014 12:56 pm

Hi Klaus,

the style is "table".

regards from

Applebite

Klaus
Posts: 12204
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Vertical center alignment of data grid row

Post by Klaus » Fri Oct 31, 2014 1:29 pm

Ah, OK, hmmm, that is not easy, I don't have any idea right now... :?

newtronsols
Posts: 192
Joined: Tue Mar 11, 2014 12:57 pm

Re: Vertical center alignment of data grid row

Post by newtronsols » Fri Oct 31, 2014 1:57 pm

Isn't that select "table" group, Property inspector, columns, align center for a selected column?

Klaus
Posts: 12204
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Vertical center alignment of data grid row

Post by Klaus » Fri Oct 31, 2014 2:02 pm

newtronsols wrote:Isn't that select "table" group, Property inspector, columns, align center for a selected column?
That's all HORIZONTAL alignment and we don't want that, see thread title! 8)

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”