Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Indeterminate Progress Bars

I don't think we can hint this one because apps that rely on the hint won't
look right when the hint isn't implemented.



                                                                                                                                           
                      Andre Weinand                                                                                                        
                      <weinand@xxxxxxx>               To:      platform-swt-dev@xxxxxxxxxxx                                                
                      Sent by:                        cc:                                                                                  
                      platform-swt-dev-admin@         Subject: Re: [platform-swt-dev] Indeterminate Progress Bars                          
                      eclipse.org                                                                                                          
                                                                                                                                           
                                                                                                                                           
                      09/10/02 03:09 PM                                                                                                    
                      Please respond to                                                                                                    
                      platform-swt-dev                                                                                                     
                                                                                                                                           
                                                                                                                                           




>a) Add a style bit to ProgressBar indicating that the ProgressBar
>will be rendered indeterminate (SWT.INDETERMINATE perhaps), and if
>this bit is set, calls to ProgressBar.setMaximum,
>ProgressBar.setMinimum, and ProgressBar.setSelection have no visible
>effect

Yes! +1

And will this bit be a 'hint' that can be ignored if the platform
provides no support for it?
Or will SWT provide emulation on these platforms?

>b) Consider ProgressBar.setSelection (-1) to place the ProgressBar
>into indeterminate rendering mode, where calls to
>ProgressBar.setMaximum and ProgressBar.setMinimum have no visible
>effect.
>

No.

--andre
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev






Back to the top