Ignore:
Timestamp:
Aug 16, 2005 11:26:29 AM (19 years ago)
Author:
mmc
Message:

Fixed the MainWin? to honor "-anchor fill" in "web" mode. This
causes the main window to fill all available screen real estate.
Had to fix the scroller to make this work properly. I think
this also fixes problems with scrolled forms not expanding into
available real estate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/scroller.tcl

    r26 r44  
    229229        outer {
    230230            $_frame itemconfigure frame -width [winfo width $_frame]
     231            if {[winfo height $_frame] > [winfo reqheight $_frame.f]} {
     232                $_frame itemconfigure frame -height [winfo height $_frame]
     233            } else {
     234                $_frame itemconfigure frame -height 0
     235            }
    231236        }
    232237    }
Note: See TracChangeset for help on using the changeset viewer.