[patch #6338] dynamic panel


                 Summary: dynamic panel
                 Project: GNU Midnight Commander
            Submitted by: me4mc
            Submitted on: Sunday 12/09/2007 at 21:16
                Category: Screen output
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any



configuring the panel split to follow the focus. this can be used for more
the use of not equally split panels can be more intuitive.

the first patch (dynpanel-hack) only introduces some lines that alter the
original behavior. the first_panel_size is always updated relative to the
columns. when you set it to something 60/20 the active panel always gets 60
display bytes while the inactive shrinks to 20. if tab to the other panel this
gets wider ant the other shrinks.

this works not very well but explains what the second patch (dynpanel) does.
besides the 10 lines all other code is for altering the layout dialog and
saving the new settings.
it trys to avoid the basic problems with the hack (startup - wrong sizes) and
coexists with the other options.

the layout dialog gets a new check box 'dynamic split' and reuses the
_first_panel_size to set the fixed size of the active panel. the second value
is undisplayed (---) and therefore the rest of the available space.

please tell me what you think about this feature and where i should improve.



File Attachments:

Date: Sunday 12/09/2007 at 21:16  Name: mc-cvs-dynpanel-hack.patch  Size: 1kB
  By: me4mc

Date: Sunday 12/09/2007 at 21:16  Name: mc-cvs-dynpanel.patch  Size: 7kB  
By: me4mc



Reply to this item at:


  Message sent via/by Savannah

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]