diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-21 08:30:08 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-21 08:30:09 +0200 |
| commit | f662d49464e2b8326522aad67761ffdcb8a5e5f6 (patch) | |
| tree | f767f75977721299da029518ec938bfa0366597b /src/GraphicObjects/TemplatedContainer.cs | |
| parent | db3a636d9c4de1e4ee1d4e79e6dfeae738daac8d (diff) | |
* BmpPicture.cs:
allow unscalled picture
* GraphicObject.cs:
background image path, problems with repaint of background
* Group.cs:
background image
* HorizontalStack.cs:
clean code
* Label.cs:
debug
* TemplatedContainer.cs:
fix dataSource==null to clear binding successfully
* Window.cs:
resizable or not
* OpenTKGameWindow.cs:
RenderCustomTextureOnUIQuad (usefull for cached content)
* Picture.cs:
Scale boolean
* ListBox.cs:
remove debug loading time
Diffstat (limited to 'src/GraphicObjects/TemplatedContainer.cs')
| -rw-r--r-- | src/GraphicObjects/TemplatedContainer.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/GraphicObjects/TemplatedContainer.cs b/src/GraphicObjects/TemplatedContainer.cs index 56217419..dcea97d7 100644 --- a/src/GraphicObjects/TemplatedContainer.cs +++ b/src/GraphicObjects/TemplatedContainer.cs @@ -35,8 +35,11 @@ namespace go #region GraphicObject overrides public override void ClearBinding () { - if (Content != null) + if (Content != null) { + //fix datasource = null to clear bindings, but it's illogic + Content.DataSource = this.DataSource; Content.ClearBinding (); + } base.ClearBinding (); } |