Size of columns in glamour tables

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Size of columns in glamour tables

hernan.wilkinson
Hi,
 I'm creating a table with two column using glamour and I want the first column size to be greater than the second one...in other words, how can I control the width of the columns in a table?

Thanks!
Hernan.

--
Hernán Wilkinson
Agile Software Development, Teaching & Coaching
Phone: +54 - 011 - 6091 - 3125
Mobile: +54 - 911 - 4470 - 7207
email: [hidden email]
site: http://www.10Pines.com
Address: Alem 693, Floor 5 B, Buenos Aires, Argentina

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Size of columns in glamour tables

Tudor Girba-2
Hi Hernan,

Unfortunately, you cannot :(. But, it would be a nice addition if someone would add the capability :)

Doru


On Thu, Jun 6, 2013 at 8:56 PM, Hernan Wilkinson <[hidden email]> wrote:
Hi,
 I'm creating a table with two column using glamour and I want the first column size to be greater than the second one...in other words, how can I control the width of the columns in a table?

Thanks!
Hernan.

--
Hernán Wilkinson
Agile Software Development, Teaching & Coaching
Phone: +54 - 011 - 6091 - 3125
Mobile: <a href="tel:%2B54%20-%20911%20-%204470%20-%207207" value="+5491144707207" target="_blank">+54 - 911 - 4470 - 7207
email: [hidden email]
site: http://www.10Pines.com
Address: Alem 693, Floor 5 B, Buenos Aires, Argentina

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Size of columns in glamour tables

Hernan Wilkinson-3
:-) I'll try to do it if I have time....


On Thu, Jun 6, 2013 at 4:43 PM, Tudor Girba <[hidden email]> wrote:
Hi Hernan,

Unfortunately, you cannot :(. But, it would be a nice addition if someone would add the capability :)

Doru


On Thu, Jun 6, 2013 at 8:56 PM, Hernan Wilkinson <[hidden email]> wrote:
Hi,
 I'm creating a table with two column using glamour and I want the first column size to be greater than the second one...in other words, how can I control the width of the columns in a table?

Thanks!
Hernan.

--
Hernán Wilkinson
Agile Software Development, Teaching & Coaching
Phone: +54 - 011 - 6091 - 3125
Mobile: <a href="tel:%2B54%20-%20911%20-%204470%20-%207207" value="+5491144707207" target="_blank">+54 - 911 - 4470 - 7207
email: [hidden email]
site: http://www.10Pines.com
Address: Alem 693, Floor 5 B, Buenos Aires, Argentina

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--
Hernán Wilkinson
Agile Software Development, Teaching & Coaching
Phone: +54 - 011 - 6091 - 3125
Mobile: +54 - 911 - 4470 - 7207
email: [hidden email]
site: http://www.10Pines.com
Address: Alem 693, Floor 5 B, Buenos Aires, Argentina

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Size of columns in glamour tables

EstebanLM
Hi, 

thats there since a bit more than a year ;)
Take a look at GLMTableColumn>>#width and GLMMorphicListRenderer>>#treeMorphFor:and:

the only thing that is missing is:

GLMTablePresentation>>#column: aBlockOrString evaluated: aBlock width: aNumber 
self addColumn: (GLMTableColumn new 
title: aBlockOrString; 
computation: aBlock;
width: aNumber;
yourself)

I do not know why that method was never integrated, btw :)

Esteban


On Jun 6, 2013, at 9:56 PM, Hernan Wilkinson <[hidden email]> wrote:

:-) I'll try to do it if I have time....


On Thu, Jun 6, 2013 at 4:43 PM, Tudor Girba <[hidden email]> wrote:
Hi Hernan,

Unfortunately, you cannot :(. But, it would be a nice addition if someone would add the capability :)

Doru


On Thu, Jun 6, 2013 at 8:56 PM, Hernan Wilkinson <[hidden email]> wrote:
Hi,
 I'm creating a table with two column using glamour and I want the first column size to be greater than the second one...in other words, how can I control the width of the columns in a table?

Thanks!
Hernan.

--
Hernán Wilkinson
Agile Software Development, Teaching & Coaching
Phone: +54 - 011 - 6091 - 3125
Mobile: <a href="tel:%2B54%20-%20911%20-%204470%20-%207207" value="+5491144707207" target="_blank">+54 - 911 - 4470 - 7207
email: [hidden email]
site: http://www.10Pines.com
Address: Alem 693, Floor 5 B, Buenos Aires, Argentina

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--
Hernán Wilkinson
Agile Software Development, Teaching & Coaching
Phone: +54 - 011 - 6091 - 3125
Mobile: +54 - 911 - 4470 - 7207
email: [hidden email]
site: http://www.10Pines.com
Address: Alem 693, Floor 5 B, Buenos Aires, Argentina
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Size of columns in glamour tables

Tudor Girba-2
You can find an example in GLMBasicExamples>>tableWithCustomWidth

Doru


On Fri, Jun 7, 2013 at 12:55 PM, Tudor Girba <[hidden email]> wrote:
Hi,

I do not know where it should have been integrated from :).

In any case, I added the method now.

So, now you can 

Cheers,
Doru




On Jun 7, 2013, at 8:43 AM, Esteban Lorenzano <[hidden email]> wrote:

Hi, 

thats there since a bit more than a year ;)
Take a look at GLMTableColumn>>#width and GLMMorphicListRenderer>>#treeMorphFor:and:

the only thing that is missing is:

GLMTablePresentation>>#column: aBlockOrString evaluated: aBlock width: aNumber 
self addColumn: (GLMTableColumn new 
title: aBlockOrString; 
computation: aBlock;
width: aNumber;
yourself)

I do not know why that method was never integrated, btw :)

Esteban


On Jun 6, 2013, at 9:56 PM, Hernan Wilkinson <[hidden email]> wrote:

:-) I'll try to do it if I have time....


On Thu, Jun 6, 2013 at 4:43 PM, Tudor Girba <[hidden email]> wrote:
Hi Hernan,

Unfortunately, you cannot :(. But, it would be a nice addition if someone would add the capability :)

Doru


On Thu, Jun 6, 2013 at 8:56 PM, Hernan Wilkinson <[hidden email]> wrote:
Hi,
 I'm creating a table with two column using glamour and I want the first column size to be greater than the second one...in other words, how can I control the width of the columns in a table?

Thanks!
Hernan.

-- 
Hernán Wilkinson
Agile Software Development, Teaching & Coaching
Phone: <a href="tel:%2B54%20-%20011%20-%C2%A06091%20-%203125" value="+541160913125" target="_blank">+54 - 011 - 6091 - 3125
Mobile: <a href="tel:%2B54%20-%20911%20-%204470%20-%207207" value="+5491144707207" target="_blank">+54 - 911 - 4470 - 7207
email: [hidden email]
site: http://www.10Pines.com
Address: Alem 693, Floor 5 B, Buenos Aires, Argentina

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




-- 
www.tudorgirba.com

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




-- 
Hernán Wilkinson
Agile Software Development, Teaching & Coaching
Phone: <a href="tel:%2B54%20-%20011%20-%C2%A06091%20-%203125" value="+541160913125" target="_blank">+54 - 011 - 6091 - 3125
Mobile: <a href="tel:%2B54%20-%20911%20-%204470%20-%207207" value="+5491144707207" target="_blank">+54 - 911 - 4470 - 7207
email: [hidden email]
site: http://www.10Pines.com
Address: Alem 693, Floor 5 B, Buenos Aires, Argentina
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"In a world where everything is moving ever faster,
one might have better chances to win by moving slower."






--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev