Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000332MPfmUI | Custom Controls | Windows (WinForms)public2012-04-09 09:162012-04-27 22:18
Reporterycastonguay 
Assigned Toycastonguay 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version0.6.0.0Fixed in Version0.6.0.0 
Summary0000332: Implement AutoSize on the Label, LinkLabel and Button controls
DescriptionThose controls will now resize correctly depending on the theme properties (i.e. font size).
TagsNo tags attached.
Attached Files

- Relationships
related to 0000333resolvedycastonguay Use the FlowLayoutPanel and TableLayoutPanel controls to group controls 
child of 0000307assignedycastonguay Add themes (only for the Windows platform) 

-  Notes
(0000587)
svn (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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

- Issue History
Date Modified Username Field Change
2012-04-09 09:16 ycastonguay New Issue
2012-04-09 09:16 ycastonguay Status new => assigned
2012-04-09 09:16 ycastonguay Assigned To => ycastonguay
2012-04-09 09:19 ycastonguay Relationship added related to 0000333
2012-04-09 09:19 ycastonguay Relationship added child of 0000307
2012-04-12 14:11 svn Checkin
2012-04-12 14:11 svn Note Added: 0000587
2012-04-12 14:37 svn Checkin
2012-04-12 14:37 svn Note Added: 0000588
2012-04-14 16:21 svn Checkin
2012-04-14 16:21 svn Note Added: 0000594
2012-04-14 16:22 ycastonguay Note Deleted: 0000594
2012-04-14 16:22 svn Checkin
2012-04-14 16:22 svn Note Added: 0000595
2012-04-14 17:02 svn Checkin
2012-04-14 17:02 svn Note Added: 0000596
2012-04-14 18:30 ycastonguay Status assigned => resolved
2012-04-14 18:30 ycastonguay Fixed in Version => 0.6.0.0
2012-04-14 18:30 ycastonguay Resolution open => fixed
2012-04-16 22:02 svn Checkin
2012-04-16 22:02 svn Note Added: 0000606
2012-04-17 17:38 svn Checkin
2012-04-17 17:38 svn Note Added: 0000607
2012-04-17 19:10 ycastonguay Category Controls => Windows Controls
2012-04-24 20:59 ycastonguay Category Windows Controls => UI | Windows | Custom Controls
2012-04-24 20:59 ycastonguay Category UI | Windows | Custom Controls => Custom Controls | Windows
2012-04-24 21:00 ycastonguay Category Custom Controls | Windows => UI | Custom Controls | Windows
2012-04-24 21:01 ycastonguay Category UI | Custom Controls | Windows => UI | Custom Controls | Windows (WinForms)
2012-04-27 22:18 svn Checkin
2012-04-27 22:18 svn Note Added: 0000623


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker