On Dec 4, 3:44 pm, TL <[EMAIL PROTECTED]> wrote: > ... is there anyway to configure the > vertical scroll bar to always be visible in the body pane? I like to > have the text width at 80 characters regardless of the number of lines > in the body pane.
Play with the following script, it may meet your needs. It is not possible to set widths/heights in characters only in pixels I think. ### from PyQt4 import QtGui, QtCore ui = c.frame.top.ui w = ui.tabWidget #will change to ui.leo_log_frame #w = ui.stackedWidget #will change to leo_body_frame #w = ui.treeWidget #will change to leo_outline_frame #w.setMinimumWidth(0) w.setMinimumWidth(100) w.setMinimumHeight(0) #w.setMinimumHeight(300) ### Try setting maximum heights/widths also. I plan on wrapping the core widgets to make it easier to customize layouts, so the widget names you need will change to those indicated in the next few days. I don't yet know how to make it stop the splitters making that sudden jump when you pull them too far. -- hag --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~----------~----~----~----~------~----~------~--~---
