Allow configuration of entry width
This commit is contained in:
@@ -26,12 +26,19 @@ public partial class ItemEntryCollectionViewModel<TItem> :
|
||||
ItemState state,
|
||||
ItemEntryConfiguration configuration,
|
||||
string key,
|
||||
object value) : base(provider, factory, mediator, publisher, subscriber, disposer, key, value)
|
||||
object value,
|
||||
double width) : base(provider, factory, mediator, publisher, subscriber, disposer, key, value)
|
||||
{
|
||||
this.configuration = configuration;
|
||||
|
||||
State = state;
|
||||
Width = width;
|
||||
}
|
||||
|
||||
[ObservableProperty]
|
||||
private double width;
|
||||
|
||||
|
||||
public ItemEntryCollectionViewModel(IServiceProvider provider,
|
||||
IServiceFactory factory,
|
||||
IMediator mediator,
|
||||
@@ -42,10 +49,13 @@ public partial class ItemEntryCollectionViewModel<TItem> :
|
||||
ItemState state,
|
||||
ItemEntryConfiguration configuration,
|
||||
string key,
|
||||
object value) : base(provider, factory, mediator, publisher, subscriber, disposer, items, key, value)
|
||||
object value,
|
||||
double width) : base(provider, factory, mediator, publisher, subscriber, disposer, items, key, value)
|
||||
{
|
||||
this.configuration = configuration;
|
||||
|
||||
State = state;
|
||||
Width = width;
|
||||
}
|
||||
|
||||
protected override void OnValueChanged()
|
||||
|
||||
Reference in New Issue
Block a user