| Table width problem [message #258584] |
Wed, 17 October 2007 08:25  |
Eclipse User |
|
|
|
Originally posted by: firstname.lastname.napa.fi
Hi!
I tried to create a table that would take just the space it needs (in=
=
birt 2.2.1), i.e. would not span the width of the whole page. However, I=
=
would not like to set % of page width or any absolute measure as the tab=
le =
width, I'd like birt to make the columns just big enough so that the =
contents fits in. Sounds easy.
I was unable to do this. =3D ( I tried leaving the width property of =
the =
table blank and marking "Can shrink". Neither did any good.
I found this post which seems to be on the same topic:
http://dev.eclipse.org/newslists/news.eclipse.birt/msg21463. html
I did not find any bugzilla entry about this. Is this a bug, or did I=
=
just miss some simple option?
-Antti-
|
|
|
|
|
|
|
| Re: Table width problem [message #258981 is a reply to message #258944] |
Mon, 22 October 2007 09:12  |
Eclipse User |
|
|
|
Originally posted by: jasonweathersby.alltel.net
Antti,
No. You may want to experiment with ems and other sizes.
Jason
Antti Karanta wrote:
>
> On Fri, 19 Oct 2007 19:21:07 +0300, Jason Weathersby
> <jasonweathersby@alltel.net> wrote:
>
>> Can you log a bugzilla entry for this?
>
> Done: https://bugs.eclipse.org/bugs/show_bug.cgi?id=207020
>
>
>> There may be a better way to do this, but here is an example that
>> calls the table twice. once to calc widths (Hidden) and the other to
>> display. I use script on the table and on the two data elements.
>
> A bit tedious, but I suppose it works.
>
> You use a heuristic that str size in inches = str len in chars / 14.
> Have you used this extensively, i.e. has it proved to be a good estimate?
>
>
>
> -Antti-
>
|
|
|
Powered by
FUDForum. Page generated in 1.06181 seconds