Re: [bitpim-cvs-checkins] bitpim guiwidgets.py,1.232,1.233
Adit Panchal <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <[email protected]> |
Joe, do you think you can make the following change? The Mac status bar cuts off the text. It doesn't have as much padding as the Windows status bar. Thanks, Adit On Mar 7, 2005, at 10:59, Joe Pham wrote: > + def __adjust_and_set_field(self, string, pane): > + dc=wx.ClientDC(self) > + (w,h)=dc.GetTextExtent(string) > + self.__pane_width[pane]=w > + self.SetStatusWidths(self.__pane_width) > + self.SetStatusText(string, pane) + if guihelper.IsMac(): + self.__pane_width[pane]=w+8 + else: self.__pane_width[pane]=w
cutoff.jpg
(image/jpeg, 6.1 KB) - not displayed