Hello, All
I try to use major and minor ticks in PtSlider, with PhAB in Photon 2 / QNX
6.3. There are four resources - Pt_ARG_SLIDER_TICK_MAJOR_DIV,
Pt_ARG_SLIDER_TICK_MAJOR_LEN, Pt_ARG_SLIDER_TICK_MINOR_DIV,
Pt_ARG_SLIDER_TICK_MINOR_LEN. But really only one of them works -
TICK_MAJOR_DIV:
- Minor ticks don’t appear at all, regardless of TICK_MINOR_DIV and
TICK_MINOR_LEN values;
- Major tick length is always 1 pixel, regardless of TICK_MAJOR_LEN value;
- At least 2 major ticks always appear, even if TICK_MAJOR_DIV is 0.
In Photon 1.14 / QNX4 it works fine.
Regards
Alexander
Hello Alexander,
This is known and there is a problem report on this issue therefore this
will be addressed for a future release. In the meantime you could work
around this by changing the images for your own custom images. For more
details on this look at the Pt_ARG_SLIDER_TROUGH_IMAGE* resources in the
following link.
http://www.qnx.com/developers/docs/momentics621_docs/photon/widget_ref/ptslider.html
Regards,
Dave B.
“Alexander Orkin” <a7o@mail.ru> wrote in message
news:csu6be$h1j$1@inn.qnx.com…
Hello, All
I try to use major and minor ticks in PtSlider, with PhAB in Photon 2 /
QNX
6.3. There are four resources - Pt_ARG_SLIDER_TICK_MAJOR_DIV,
Pt_ARG_SLIDER_TICK_MAJOR_LEN, Pt_ARG_SLIDER_TICK_MINOR_DIV,
Pt_ARG_SLIDER_TICK_MINOR_LEN. But really only one of them works -
TICK_MAJOR_DIV:
- Minor ticks don’t appear at all, regardless of TICK_MINOR_DIV and
TICK_MINOR_LEN values;
- Major tick length is always 1 pixel, regardless of TICK_MAJOR_LEN
value;
- At least 2 major ticks always appear, even if TICK_MAJOR_DIV is 0.
In Photon 1.14 / QNX4 it works fine.
Regards
Alexander