Re: 0.7.28 available to test

Adit Panchal <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <[email protected]>
I figured it out. Just make the category sizer more percentage - I 
changed the value from 0 to 1. Also to fix the overlapping text, the 
memo listbox sizer should be reduced to 0 from 1. This is all in 
MemoWidget.

Screen shot is attached.

Index: memo.py
===================================================================
RCS file: /cvsroot/bitpim/bitpim/memo.py,v
retrieving revision 1.5
diff -u -r1.5 memo.py
--- memo.py     8 Mar 2005 15:29:35 -0000       1.5
+++ memo.py     8 Mar 2005 20:17:22 -0000
@@ -254,12 +254,12 @@
          # the list box
          self.__item_list=wx.ListBox(self, wx.NewId(), size=(300,-1),
                                      
style=wx.LB_SINGLE|wx.LB_HSCROLL|wx.LB_NEEDED_SB)
-        hbs.Add(self.__item_list, 1, wx.EXPAND|wx.BOTTOM, border=5)
+        hbs.Add(self.__item_list, 0, wx.EXPAND|wx.BOTTOM, border=5)
          # the detailed info pane
          vbs1=wx.BoxSizer(wx.VERTICAL)
          self.__items=(
              (GeneralEditor, 0),
-            (cal_editor.CategoryEditor, 0),
+            (cal_editor.CategoryEditor, 1),
              (pb_editor.MemoEditor, 1)
              )
          self.__w=[]


Thanks,

Adit



On Mar 8, 2005, at 13:11, Adit Panchal wrote:

> I think the best way to solve the problem is to increase the size of 
> the category manager sizer, vertically, so that it occupies more space 
> relative to the memo text. The memo text should be a fixed size. Since 
> it has a scrollbox, there shouldn't be any problems with shrinking it.
Picture 1.jpg (image/jpeg, 63.1 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.