[Roam-commit] SF.net SVN: roam: [100] Trunk/Source
Status: Alpha
Brought to you by:
jonfroehlich
|
From: <jon...@us...> - 2007-10-22 18:16:34
|
Revision: 100
http://roam.svn.sourceforge.net/roam/?rev=100&view=rev
Author: jonfroehlich
Date: 2007-10-22 11:16:32 -0700 (Mon, 22 Oct 2007)
Log Message:
-----------
fixed bug in ScrollableLabel where UpdateLayout was not called when a new font was set
Modified Paths:
--------------
Trunk/Source/Roam.Test/Roam.Test.csproj
Trunk/Source/Roam.UI/Controls/ScrollableLabel.cs
Trunk/Source/Roam.suo
Modified: Trunk/Source/Roam.Test/Roam.Test.csproj
===================================================================
--- Trunk/Source/Roam.Test/Roam.Test.csproj 2007-10-14 07:46:15 UTC (rev 99)
+++ Trunk/Source/Roam.Test/Roam.Test.csproj 2007-10-22 18:16:32 UTC (rev 100)
@@ -560,7 +560,7 @@
<DependentUpon>TextBoxFilteredListTest.cs</DependentUpon>
</Compile>
<Compile Include="UI\Controls\FontTest.cs">
- <SubType>Form</SubType>
+ <SubType>Component</SubType>
</Compile>
<Compile Include="UI\Controls\FontTest.Designer.cs">
<DependentUpon>FontTest.cs</DependentUpon>
Modified: Trunk/Source/Roam.UI/Controls/ScrollableLabel.cs
===================================================================
--- Trunk/Source/Roam.UI/Controls/ScrollableLabel.cs 2007-10-14 07:46:15 UTC (rev 99)
+++ Trunk/Source/Roam.UI/Controls/ScrollableLabel.cs 2007-10-22 18:16:32 UTC (rev 100)
@@ -257,6 +257,19 @@
get { return _beginUpdate; }
}
+ public override Font Font
+ {
+ get { return base.Font; }
+ set
+ {
+ if (!base.Font.Equals(value))
+ {
+ base.Font = value;
+ UpdateLayout();
+ }
+ }
+ }
+
protected VScrollBar VScrollBar
{
get { return _vScrollBar; }
Modified: Trunk/Source/Roam.suo
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|