Pane size in phpMyAdmin

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dwayne

    Pane size in phpMyAdmin

    phpMyAdmin sometimes (but not always) chooses to split the browser
    equally between the two panes (database list on left and workspace on
    right). This is a tremendous waste of real estate, since the database
    list really only needs a small space (as it is sometimes given). Is
    there a way to control the size of the left pane?
  • Michael Vilain

    #2
    Re: Pane size in phpMyAdmin

    In article <3aab651a.04093 00654.59073b@po sting.google.co m>,
    Dwayne.Presler@ ngc.com (Dwayne) wrote:
    [color=blue]
    > phpMyAdmin sometimes (but not always) chooses to split the browser
    > equally between the two panes (database list on left and workspace on
    > right). This is a tremendous waste of real estate, since the database
    > list really only needs a small space (as it is sometimes given). Is
    > there a way to control the size of the left pane?[/color]

    You have the source. Change it.

    --
    DeeDee, don't press that button! DeeDee! NO! Dee...



    Comment

    • Shawn Wilson

      #3
      Re: Pane size in phpMyAdmin

      Dwayne wrote:[color=blue]
      >
      > phpMyAdmin sometimes (but not always) chooses to split the browser
      > equally between the two panes (database list on left and workspace on
      > right). This is a tremendous waste of real estate, since the database
      > list really only needs a small space (as it is sometimes given). Is
      > there a way to control the size of the left pane?[/color]

      I'd guess you can change this line in config.inc.php:

      $cfg['LeftWidth'] = 150; // left frame width


      Though if you say it's only happening occasionally, then it could be a bug, or
      it could be that you're accidentally clicking and dragging the frame border. In
      that case you might try playing with this line in index.php (try removing the
      border and/or frame border or hard coding your desired width):

      echo ' document.writel n(\'<frameset cols="' . $cfg['LeftWidth'] . ',*"
      rows="*" border="1" frameborder="1" framespacing="0 ">\');'
      . "\n";


      Shawn

      --
      Shawn Wilson
      shawn@glassgian t.com

      Comment

      Working...