Ignore:
Timestamp:
May 9, 2013, 11:29:37 AM (11 years ago)
Author:
mmc
Message:

Fixes for nanoHUB ticket #258058 and #258045 -- note within a group tab
doesn't fill out the area properly. Should work better now. Also fixed
tabs to contain the window, instead of floating above the cotents as they
have for a long time.

Fixed boolean controls to have a more obvious on/off switch instead of a
checkbox. Fixed integers and spinners to use larger +/- buttons that are
easier to press on an iPad. Fixed numbers and other gauges to have the
same relief style as entries and other widgets.

Added new layout styles to groups: horizontal, vertical, tabs, and sentence.
You can now explicitly make a layout vertical instead of tabs by setting
the layout to "vertical" instead of throwing in a separator. Updated the
zoo/groups example to show off new horizontal and sentence types.

Fixed the "drawing" example in the zoo to gray out the trapezoid top when
it is disabled.

File:
1 edited

Legend:

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

    r3330 r3642  
    341341        grid propagate $itk_component(hull) yes
    342342        if {$_frame == "$itk_component(hull).ifr"} {
    343             set w [winfo reqwidth $_frame.f]
     343            set w [expr {[winfo reqwidth $_frame.f]+2}]
    344344            set h [winfo reqheight $_frame.f]
    345345            $_frame configure -width $w -height $h
Note: See TracChangeset for help on using the changeset viewer.