PtTree Entry Size Question

I am converting a Photon application to use Touch screen. The PtTree
entries are too short to select easily by touch.

The only way I know to increase the PtTree entry height is to increase the
font size which causes the text width to increase too. When the width
increases, the entire string nolonger is displayed.

Is there a way to increase the height of a tree entry without increasing
the font size?

TIA

Jan Stefan

Software Engineer
Minnetronix Inc.

www.minnetronix.com

Jan Stefan <jstefan@??@minnetronix.com> wrote:

I am converting a Photon application to use Touch screen. The PtTree
entries are too short to select easily by touch.

The only way I know to increase the PtTree entry height is to increase the
font size which causes the text width to increase too. When the width
increases, the entire string nolonger is displayed.

Is there a way to increase the height of a tree entry without increasing
the font size?

TIA

Jan Stefan

Software Engineer
Minnetronix Inc.

www.minnetronix.com

I am taking a wild guess here, would the Pt_ARG_TREE_IMAGES be of any use?
I think you can use this resource to change the images, using “taller” ones,
which would probably increase the height of the entry cells, without have
to change the font.

Regards.

Thanks!

It worked.
Increasing the PtTree image size will grow the item size without requiring
a larger font!

The original code did not use images or subtrees. Why a PtTree was used, as
opposed to a PtList, is unknown. Perhaps the original author felt more at
home with trees.

Jan


Derek Leach <dleach@node318.ott.qnx.com> wrote in
news:b9gths$kb1$1@inn.qnx.com:

Jan Stefan <jstefan@??@minnetronix.com> wrote:
I am converting a Photon application to use Touch screen. The PtTree
entries are too short to select easily by touch.

The only way I know to increase the PtTree entry height is to
increase the font size which causes the text width to increase too.
When the width increases, the entire string nolonger is displayed.

Is there a way to increase the height of a tree entry without
increasing the font size?

TIA

Jan Stefan

Software Engineer
Minnetronix Inc.

www.minnetronix.com

I am taking a wild guess here, would the Pt_ARG_TREE_IMAGES be of any
use? I think you can use this resource to change the images, using
“taller” ones, which would probably increase the height of the entry
cells, without have to change the font.

Regards.


Jan Stefan

Software Engineer
Minnetronix Inc.

www.minnetronix.com