[Ctk-developers] ctkWorkflowButtonBoxWidget does not show text for 'next' button

Julien Finet julien.finet at kitware.com
Mon Jun 6 22:30:18 EDT 2011


Hi Daniel,

Can you try the embedded file and tell me if it works on Snow Leopard ?

Thanks,
Julien.

On Mon, Jun 6, 2011 at 11:06 AM, Daniel Haehn <haehn at bwh.harvard.edu> wrote:

> Hi devels,
>
> I noticed that the text of the next button is not shown in the
> ctkWorkflowButtonBoxWidget on Snow Leopard.
>
> The underlying ctk code uses
> this->NextButton->setLayoutDirection(Qt::RightToLeft);  to place the
> icon on the right side of the text.
>
> I think that this might be a misuse of the layout direction and causes
> the problems. The back button is set up the same way as the next
> button without the layout direction and works fine.
>
> What do you guys think?
>
> Thanks,
> Daniel
> _______________________________________________
> Ctk-developers mailing list
> Ctk-developers at commontk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20110606/f32ff1ae/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctkWorkflowButtonBoxWidget.cpp
Type: text/x-c++src
Size: 18108 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20110606/f32ff1ae/attachment-0002.cpp>


More information about the Ctk-developers mailing list