MantisBT - MPfm
View Issue Details
0000332MPfmUI | Custom Controls | Windows (WinForms)public2012-04-09 09:162012-04-27 22:18
ycastonguay 
ycastonguay 
normalfeatureN/A
resolvedfixed 
 
0.6.0.00.6.0.0 
0000332: Implement AutoSize on the Label, LinkLabel and Button controls
Those controls will now resize correctly depending on the theme properties (i.e. font size).
No tags attached.
related to 0000333resolved ycastonguay Use the FlowLayoutPanel and TableLayoutPanel controls to group controls 
child of 0000307assigned ycastonguay Add themes (only for the Windows platform) 
Issue History
2012-04-09 09:16ycastonguayNew Issue
2012-04-09 09:16ycastonguayStatusnew => assigned
2012-04-09 09:16ycastonguayAssigned To => ycastonguay
2012-04-09 09:19ycastonguayRelationship addedrelated to 0000333
2012-04-09 09:19ycastonguayRelationship addedchild of 0000307
2012-04-12 14:11svnCheckin
2012-04-12 14:11svnNote Added: 0000587
2012-04-12 14:37svnCheckin
2012-04-12 14:37svnNote Added: 0000588
2012-04-14 16:21svnCheckin
2012-04-14 16:21svnNote Added: 0000594
2012-04-14 16:22ycastonguayNote Deleted: 0000594
2012-04-14 16:22svnCheckin
2012-04-14 16:22svnNote Added: 0000595
2012-04-14 17:02svnCheckin
2012-04-14 17:02svnNote Added: 0000596
2012-04-14 18:30ycastonguayStatusassigned => resolved
2012-04-14 18:30ycastonguayFixed in Version => 0.6.0.0
2012-04-14 18:30ycastonguayResolutionopen => fixed
2012-04-16 22:02svnCheckin
2012-04-16 22:02svnNote Added: 0000606
2012-04-17 17:38svnCheckin
2012-04-17 17:38svnNote Added: 0000607
2012-04-17 19:10ycastonguayCategoryControls => Windows Controls
2012-04-24 20:59ycastonguayCategoryWindows Controls => UI | Windows | Custom Controls
2012-04-24 20:59ycastonguayCategoryUI | Windows | Custom Controls => Custom Controls | Windows
2012-04-24 21:00ycastonguayCategoryCustom Controls | Windows => UI | Custom Controls | Windows
2012-04-24 21:01ycastonguayCategoryUI | Custom Controls | Windows => UI | Custom Controls | Windows (WinForms)
2012-04-27 22:18svnCheckin
2012-04-27 22:18svnNote Added: 0000623

Notes
(0000587)
svn   
2012-04-12 14:11   
The user animal has checked in files related to this issue (revision 417).

Comment:
MPfm 0.6.0.0
- Label: The control now depends on the Control class instead of the System.Windows.Forms.Label class. This enables custom autosizing.
- LabelTheme: Added the TextAlign property (which is only found in the System.Windows.Forms.Label class).

Related to issue 0000332.



Files modified:
U MPfm/branches/current/MPfm/Other Screens/frmEffects.Designer.cs
U MPfm/branches/current/MPfm/Other Screens/frmLoadPlaylist.Designer.cs
U MPfm/branches/current/MPfm/Other Screens/frmThemes.Designer.cs
U MPfm/branches/current/MPfm/frmMain.Designer.cs
U MPfm/branches/current/MPfm/frmMain.resx
U MPfm/branches/current/MPfm/frmSplash.Designer.cs
U MPfm/branches/current/MPfm/frmUpdateLibraryStatus.Designer.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/Label.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/LabelTheme.cs
(0000588)
svn   
2012-04-12 14:37   
The user animal has checked in files related to this issue (revision 418).

Comment:
MPfm 0.6.0.0
- Label: Removed methods and properties that were already in the Control class.
- LinkLabel: The control now depends on the Control class instead of the System.Windows.Forms.LinkLabel class. This enables custom autosizing.
- LinkLabelTheme: Added the TextAlign property (which is only found in the System.Windows.Forms.LinkLabel class).

Related to issue 0000332.



Files modified:
U MPfm/branches/current/MPfm/Other Screens/frmThemes.Designer.cs
U MPfm/branches/current/MPfm/frmMain.Designer.cs
U MPfm/branches/current/MPfm/frmMain.resx
U MPfm/branches/current/MPfm/frmUpdateLibraryStatus.Designer.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/Label.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/LinkLabel.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/LinkLabelTheme.cs
(0000595)
svn   
2012-04-14 16:22   
The user animal has checked in files related to this issue (revision 425).

Comment:
MPfm 0.6.0.0
* Label
  - Added auto-sizing (see IsAutoSized property).
* LinkLabel
  - Added auto-sizing (see IsAutoSized property).

Related to issue 0000332.



Files modified:
U MPfm/branches/current/MPfm.WindowsControls/Labels/Label.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/LinkLabel.cs
(0000596)
svn   
2012-04-14 17:02   
The user animal has checked in files related to this issue (revision 426).

Comment:
MPfm 0.6.0.0
* Button
  - Added auto-sizing (see IsAutoSized property).
* Label
  - Autosizing bug fix (now updating size only when value is different).
* LinkLabel
  - Autosizing bug fix (now updating size only when value is different).
* Panel
  - Fixed artifacts with header rendering (once again -1, -1, width+2, height+2).

Related to issue 0000332.



Files modified:
U MPfm/branches/current/MPfm/frmMain.Designer.cs
U MPfm/branches/current/MPfm/frmMain.resx
U MPfm/branches/current/MPfm.WindowsControls/Buttons-Toolbars/Button.cs
U MPfm/branches/current/MPfm.WindowsControls/Containers/Panel.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/Label.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/LinkLabel.cs
(0000606)
svn   
2012-04-16 22:02   
The user animal has checked in files related to this issue (revision 434).

Comment:
MPfm 0.6.0.0
* Panel
  - Fixed bug where container items would not be auto-sized. Reverting to inheriting from System.Windows.Forms.Panel.
    Now works propertly.

Related to issue 0000332.



Files modified:
U MPfm/branches/current/MPfm.WindowsControls/Containers/Panel.cs
(0000607)
svn   
2012-04-17 17:38   
The user animal has checked in files related to this issue (revision 435).

Comment:
MPfm 0.6.0.0
* FlowLayoutPanel
  - Added transparency
* Label
  - Fixed autosize (when content is empty and padding=0)
* LinkLabel
  - Fixed autosize (when content is empty and padding=0)
* Main Window
  - Added more flow layout panels and reorganized some panels.

Related to issue 0000332 and issue 0000333.



Files modified:
U MPfm/branches/current/MPfm/frmMain.Designer.cs
U MPfm/branches/current/MPfm/frmMain.cs
U MPfm/branches/current/MPfm/frmMain.resx
U MPfm/branches/current/MPfm.WindowsControls/Containers/FlowLayoutPanel.cs
U MPfm/branches/current/MPfm.WindowsControls/Containers/FlowLayoutPanelTheme.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/Label.cs
(0000623)
svn   
2012-04-27 22:18   
The user animal has checked in files related to this issue (revision 450).

Comment:
MPfm 0.6.0.0
* Panel (Windows Controls)
  - Fixed header background gradient position issue.
* TableLayoutPanel (Windows Controls)
  - Added control and TableLayoutPanelTheme object.
* Label and PaintHelper (Windows Controls)
  - Fixed issues with centering and autosizing (not done yet).

Related to issue 0000332 and issue 0000334.



Files modified:
U MPfm/branches/current/MPfm.WindowsControls/Containers/Panel.cs
A MPfm/branches/current/MPfm.WindowsControls/Containers/TableLayoutPanel.cs
A MPfm/branches/current/MPfm.WindowsControls/Containers/TableLayoutPanelTheme.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/Label.cs
U MPfm/branches/current/MPfm.WindowsControls/MPfm.WindowsControls.csproj
U MPfm/branches/current/MPfm.WindowsControls/Misc/PaintHelper.cs