ellipsize in wxStaticText (Re: wxStaticText GTK woes)

Francesco Montorsi f18m_cpp217828 at yahoo.it
Wed Jan 10 08:27:22 PST 2007


 >The following may be a very dummy question: aren't the languages which use LTR 
 >layout read from left to right?
sorry I meant to write:
aren't the languages which use RTL layout read from right to left?

Vadim Zeitlin ha scritto:
> FM> In that case, when showing a path in a wxStaticText the programmer may want to 
> FM> show to the user always the first part of the path because e.g. the user is 
> FM> interested in the volume and not to the complete path.
> 
>  This should be exceedingly rare (I'd use MIDDLE here) but even in such
> case I don't see why should it be different between LTR and RTL?
because when path is shown as "C:\a\b\c" to preserve the volume part of the path
you need wxST_DOTS_END, while when the path is shown as "c\b\a\:C" to preserve 
the volume part of the path you need wxST_DOTS_START, isn't it?

I.e. when in LTR the programmer may want to use wxST_DOTS_END and when in RTL he 
may want to use wxST_DOTS_START.

Francesco





More information about the wx-dev mailing list