Skip to content

Commit

Permalink
Fixes #344 by changing binding from Width to MaxWidth
Browse files Browse the repository at this point in the history
  • Loading branch information
batzen committed Aug 18, 2017
1 parent 25fd53e commit b63a1e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
</p></details>

- ### Bug fixes
- [#344](../../issues/344) - Invisible header of combobox on QuickAccessToolBar.
- [#395](../../issues/395) - issues with contextual tab group
- [#405](../../issues/405) - InRibbonGallery when loaded, mouse wheel up or down cause crash. (thanks @Yumeryu)
- [#419](../../issues/419) - BackstageTabItem Is Never Deselected if BackstageTabControl is not Logical Parent
Expand Down
2 changes: 1 addition & 1 deletion Fluent.Ribbon/Controls/ComboBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ public virtual FrameworkElement CreateQuickAccessItem()
{
var combo = new ComboBox();
RibbonControl.BindQuickAccessItem(this, combo);
RibbonControl.Bind(this, combo, nameof(this.ActualWidth), WidthProperty, BindingMode.OneWay);
RibbonControl.Bind(this, combo, nameof(this.ActualWidth), MaxWidthProperty, BindingMode.OneWay);
RibbonControl.Bind(this, combo, nameof(this.InputWidth), InputWidthProperty, BindingMode.OneWay);
RibbonControl.Bind(this, combo, nameof(this.IsEditable), IsEditableProperty, BindingMode.OneWay);
RibbonControl.Bind(this, combo, nameof(this.IsReadOnly), IsReadOnlyProperty, BindingMode.OneWay);
Expand Down

0 comments on commit b63a1e1

Please sign in to comment.