From: Roger B. <ro...@ro...> - 2004-02-03 00:59:51
|
> messed up. Poking around, I saw that rect=self.GetFieldRect() wasn't > returning the proper field widths for variable width fields. Which platform? It is fine for Windows. It does look like Linux is somewhat screwed up. It didn't used to be. That code is based on the wxStatusBar in the demo. > So I just moved the variable width fields all the way to the right > and voila. It does confuse things though (actually it confuses them more :-) ) There are two forms of progress, referred to as progressmajor and progressminor in the code. (Sometimes I actually need another level as well to be accurate). Major tracks big picture stuff. eg when you do getdata, the boxes you tick are major items. The progress for that is shown using digits (eg 2/3 Wallpaper). The minor stuff tracks small things. For example it shows the progress in retrieving an individual file. You can already see how it is all confused. I have a major sequence (phonebook, calendar, wallpaper, ringtones ... more to come in the future such as call log, sms etc). We have a minor sequence (eg if retrieving wallpapers, there may be 15 files we are getting). There is another sequence (eg progress in getting an individual wallpaper file). The display in the statusbar tries to put them in order. Your patch disrupts the order, but it was somewhat screwy anyway. I am welcome to suggestions. The only constraint is that the first field has to be pretty large and is where the menus display their help text. You cannot change which field they do it in. Roger |