Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » RichText,QTF,RTF... » How to define the width of a table?
How to define the width of a table? [message #11420] Wed, 12 September 2007 11:21 Go to next message
benoitc is currently offline  benoitc
Messages: 17
Registered: July 2007
Location: Nice (France)
Promising Member
Hi,

Sorry for that basic question, but I didn't find a way to specify the width of a QTF table in a report. By default the table is spread over the whole page.

Thanks in advance,
Benoit
Re: How to define the width of a table? [message #11423 is a reply to message #11420] Wed, 12 September 2007 12:09 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
You can define the space on left and right size.

<number
>number

Mirek
Re: How to define the width of a table? [message #26461 is a reply to message #11423] Wed, 05 May 2010 04:02 Go to previous messageGo to next message
irisRoyalty is currently offline  irisRoyalty
Messages: 1
Registered: May 2010
Junior Member
but if i want to make one column's width fixed,how?
thanks
Re: How to define the width of a table? [message #26464 is a reply to message #26461] Wed, 05 May 2010 09:01 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
irisRoyalty wrote on Tue, 04 May 2010 22:02

but if i want to make one column's width fixed,how?
thanks


U++ RichText does not support fixed width of table column (yet?). If you need one, you need to use column ratios to achieve it. (In reality, as long as you need just "document" precision, quite easy to do by try/error approach).

Mirek
Re: How to define the width of a table? [message #26465 is a reply to message #26464] Wed, 05 May 2010 10:21 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3354
Registered: August 2008
Senior Veteran
luzr wrote on Wed, 05 May 2010 09:01

irisRoyalty wrote on Tue, 04 May 2010 22:02

but if i want to make one column's width fixed,how?
thanks


U++ RichText does not support fixed width of table column (yet?). If you need one, you need to use column ratios to achieve it. (In reality, as long as you need just "document" precision, quite easy to do by try/error approach).

Mirek

Sometimes a trick could be to do what you want in T++ and then copy that from the generated .tpp file to your C++ program.


Best regards
IƱaki
Re: How to define the width of a table? [message #26500 is a reply to message #26465] Thu, 06 May 2010 20:28 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
koldo wrote on Wed, 05 May 2010 04:21

luzr wrote on Wed, 05 May 2010 09:01

irisRoyalty wrote on Tue, 04 May 2010 22:02

but if i want to make one column's width fixed,how?
thanks


U++ RichText does not support fixed width of table column (yet?). If you need one, you need to use column ratios to achieve it. (In reality, as long as you need just "document" precision, quite easy to do by try/error approach).

Mirek

Sometimes a trick could be to do what you want in T++ and then copy that from the generated .tpp file to your C++ program.


Actually, I plan to add some sort of "Qtf studio" in TheIDE...

Mirek
Previous Topic: Unnecessary variable in RTFEncoder
Next Topic: Spell checking on linux
Goto Forum:
  


Current Time: Thu Mar 28 10:45:21 CET 2024

Total time taken to generate the page: 0.01028 seconds