summaryrefslogtreecommitdiffstats
path: root/tests/grid.test
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a bug in grid geometry calculations forpspjuth2004-02-181-2/+25
| | | | a shrinking grid. [Bug 899246]
* Implementation of TIP#146,pspjuth2004-01-091-2/+49
| | | | | "Add Overall Anchoring to the Grid Geometry Manager", adding [grid anchor] subcommand.
* Fixed a small mistake in previous checkin.pspjuth2003-09-181-1/+7
|
* Implementation of TIP#147, "Make Grid's Column/Row Configure Easier".pspjuth2003-09-181-2/+59
|
* Reworked a part of grid's geometry computationspspjuth2003-09-161-3/+109
| | | | to handle some tricky cases better. [Bug #792387]
* * tests/all.tcl: Made better use of a commondgp2003-04-011-6/+3
| | | | | * tests/constraints.tcl: -loadfile to hold definitions * tests/*.test: common to all test files.
* * generic/tkGrid.c (GridStructureProc, ConfigureSlaves):mdejong2003-03-121-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check for a NULL masterPtr and slavePtr in the GridStructureProc code to ensure that a Gridder created before some error condition is ignored when it comes to geometry calculations. This approach closely matches the pack implementation. Keep track of a -in argument to a grid command in order to detect the case of an already gridded widget that wants to change some options. The previous implementation could make repeated and unnecessary calls to Tk_ManageGeometry. Replace use of "parent" with "master" in comments throughout the file. * generic/tkPack.c (PackStructureProc): Check for a NULL masterPtr before other checks so that a slave created under certain error conditions is cleaned up properly. Replace use of "parent" with "master" in comments throughout the file. * generic/tkPlace.c (CreateSlave, ConfigureSlave, SlaveStructureProc): Don't call Tk_ManageGeometry in CreateSlave since this was causing incorrect results in some error cases. Rework the ConfigureSlave method so that slave setup is done in one place. The call to Tk_ManageGeometry was added to the one place where a slave is setup. When a slave is configured but the master is not changed, simply goto the scheduleLayout label. Check for a NULL master in SlaveStructureProc for the sake of readability. * tests/grid.test: * tests/pack.test: * tests/place.test: Add test to check that a winfo manager call does not return incorrect results after an error condition is hit. [Patch 693063]
* The grid size was not updated properlypspjuth2002-10-101-1/+21
| | | | when removing a widget from a grid. [Bug #621241] (forssen)
* * Converted more files to tcltest and factored out common code.dgp2002-07-131-5/+8
|
* Added -uniform option to grid's row/columnconfigure.pspjuth2001-09-301-5/+104
|
* Added labelframe widget. TIP#18.pspjuth2001-09-261-1/+36
|
* Pack accepted asymmetric values for -ipadx/y.pspjuth2001-09-231-1/+13
| | | | Only -padx/y supports asymmetry. [Bug #462348]
* Fixed a bug where adjacent 'x' and '^' where not handled properly.pspjuth2001-08-221-1/+29
|
* Objectified grid and pack commands.pspjuth2001-08-211-22/+42
|
* Grid configure rejected initial "x" and "^". [Bug #418664]pspjuth2001-08-181-1/+17
|
* Asymmetric padding in "pack" and "grid" geometry managersdrh2001-02-121-20/+50
|
* * tests/grid.test: Added test for [grid propagate . 0] to not toggle.ericm2000-04-171-2/+11
|
* * tests/grid.test: Added a test for the consecutive ^ and multipleericm2000-01-201-1/+17
| | | | | | | | | | | | widget case (bug #1386). * generic/tkGrid.c: Fixed interpretation of consecutive ^ characters in grid command. Previously, ^ ^ was interpreted as meaning that there must be a 2-column widget above to extend, neglecting the case where there was actually 2 1-column widgets above. Now, ^ ^ is interpreted as a possible width; the gridder will consume as many ^'s as there are columns in the widget, and leave the rest for the extension of other widgets. (bug #1386).
* Removed bad option "-geometry" to toplevelwart1999-11-131-2/+2
|
* Added "wm geometry" calls in some tests that were waiting for the user towart1999-11-121-2/+3
| | | | | place a window manually. The Tk test suite can now run on twm with no user intervention.
* * Merged 8.1 branch into the main trunkstanton1999-04-161-24/+43
|
* * generic/tkGrid.c: Fixed bug in "grid forget" that failed to cancelscriptics_tclpro_1_2_b1stanton1999-01-061-19/+28
| | | | pending idle handlers, resulting in a crash in a few odd cases.
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+1205