Commit Graph
13 Commits
Author SHA1 Message Date
Jonathan Pobst f8eb8e7388 This goes before the }, not after it. Fixes build.
svn path=/trunk/mcs/; revision=75486
2007-04-06 16:31:18 +00:00
Jonathan Pobst 0aa73c3e5b 2007-04-06 Jonathan Pobst <[email protected]>
* ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
	infinite loop.  (Forgot to copy to the horizontal toolstrip case.)

svn path=/trunk/mcs/; revision=75485
2007-04-06 16:04:50 +00:00
Jonathan Pobst b04ab62c78 2007-04-05 Jonathan Pobst <[email protected]>
* ToolStripSplitStackLayout.cs: Support Alignment property.
	* ToolStripItem.cs: Remove MonoTODO from the Alignment property.

svn path=/trunk/mcs/; revision=75454
2007-04-05 18:48:19 +00:00
Jonathan Pobst 907207b56f 2007-04-02 Jonathan Pobst <[email protected]>
* StatusStrip.cs: Layout fixes for PDN.
	* ToolStrip.cs: Set item's available to true, and placement to main when
	added.
	* ToolStripItem.cs: Fix an Available issue, check that Parent is really
	changing in setter before doing any work, add InternalVisible.
	* ToolStripPanel.cs: Remove unused variable to fix compiler warning.
	* ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
	infinite loop.

svn path=/trunk/mcs/; revision=75312
2007-04-02 21:24:42 +00:00
Jonathan Pobst b415b416cd 2007-03-16 Jonathan Pobst <[email protected]>
* ToolStrip.cs, ToolStripProfessionalRenderer.cs,
	ToolStripSplitStackLayout.cs: Implement some basic vertical toolbar support.

svn path=/trunk/mcs/; revision=74490
2007-03-16 20:37:39 +00:00
Jonathan Pobst b1e56d1b55 2007-02-14 Jonathan Pobst <[email protected]>
* ToolStrip.cs: Allow LayoutStyle.Flow, make sure to call OnOpening when
	showing DropDowns, don't show a Grip when doing Flow layout.
	[This fixes the toolbox in PDN 2.72.]
	* ToolStripItem.cs: Add Anchor property and some internal properties to
	reduces needed changes to FlowLayout.
	* ToolStripOverflow.cs: Remove unused variable.
	* ToolStripSplitStackLayout.cs: If a ToolStripItem isn't visible, don't
	use it in the layout calculations.

2007-02-14  Jonathan Pobst  <[email protected]>

	* FlowLayout.cs: Add support for laying out ToolStrips, which
	use ToolStripItems instead of Controls.

svn path=/trunk/mcs/; revision=72874
2007-02-14 21:49:39 +00:00
Jonathan Pobst 5dc908b700 2007-02-08 Jonathan Pobst <[email protected]>
* Form.cs: Tell MenuStrips to close when the form is clicked.
	* MenuStrip.cs, ToolStrip.cs, ToolStripControlHost.cs, 
	ToolStripDropDown.cs, ToolStripDropDownItem.cs, ToolStripItem.cs,
	ToolStripItemCollection.cs, ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs,
	ToolStripSplitButton.cs, ToolStripSplitStackLayout.cs: Add 
	support for Overflow, where items that do not fit are automatically
	reparented to a drop down menu.
	* ToolStripOverflow.cs, ToolStripOverflowButton.cs: Added.
	Also: fixes bug #80747.

svn path=/trunk/mcs/; revision=72492
2007-02-08 17:24:43 +00:00
Jonathan Pobst 26f2a1adbc 2006-12-07 Jonathan Pobst <[email protected]>
* ToolStrip*: Add some small properties reported by MoMA, fix event
	firing and default properties based off of unit tests, and add some
	attributes based off of the class status page.

svn path=/trunk/mcs/; revision=69212
2006-12-07 23:29:21 +00:00
Jonathan Pobst de8294eced 2006-11-30 Jonathan Pobst <[email protected]>
* Control.cs: Tweak 2.0 layout properties.
	* Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
	* TextRenderer.cs: Add a new overload.
	* ToolStrip*: Huge amount of changes and new features.

svn path=/trunk/mcs/; revision=68754
2006-11-30 16:10:04 +00:00
Jonathan Pobst a8143f480b 2006-10-31 Jonathan Pobst <[email protected]>
* ToolStrip*: Version 0.2.

	* MenuStrip.cs: Version 0.1.

	* Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.

svn path=/trunk/mcs/; revision=67177
2006-10-31 15:11:28 +00:00
Jonathan Pobst 055a828947 2006-10-12 Jonathan Pobst <[email protected]>
* ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
	  ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
	  ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
	  ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
	  ToolStripTextBox.cs: Add accessibility, fix attributes/API and
	add additional functionality.

svn path=/trunk/mcs/; revision=66640
2006-10-13 02:32:38 +00:00
Miguel de Icaza 594f055832 Set eol style
svn path=/trunk/mcs/; revision=66635
2006-10-12 19:22:37 +00:00
Jonathan Pobst 08d58178ff 2006-10-02 Jonathan Pobst <[email protected]>
* ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
	  ToolStripItemCollection.cs, ToolStripLabel.cs,
	  ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
	  ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
	  Initial implementation.
	* TextRenderer.cs: Provide padding to MeasureText.

2006-10-02  Jonathan Pobst <[email protected]>
	* ArrangedElementCollection.cs: Initial commit.

2006-10-02  Jonathan Pobst  <[email protected]>
	* System.Windows.Forms.dll.sources: Add ToolStrip* classes.

svn path=/trunk/mcs/; revision=66167
2006-10-02 18:33:39 +00:00