1
0
Fork 0
mirror of https://github.com/wagesj45/butterflow-ui.git synced 2025-09-09 03:00:39 -05:00

Basic pieces seem to be in place

Got the controls working in the way that I wanted them.
This commit is contained in:
Jordan Wages 2018-06-24 02:56:03 -05:00
commit d5f58560fd
10 changed files with 184 additions and 97 deletions

View file

@ -68,7 +68,7 @@
<RadioButton GroupName="PlaybackRate" />
</butterflow_ui:ButterflowOption>
<butterflow_ui:ButterflowOption LabelValue="{x:Static loc:Localization.CustomPlaybackRateLabel}">
<TextBox Text="{Binding PlaybackRate, ElementName=butterflowUIWindow}" />
<TextBox Text="{Binding OptionsConfiguration.PlaybackRate, Mode=TwoWay, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type butterflow_ui:MainWindow}}, UpdateSourceTrigger=PropertyChanged}" />
</butterflow_ui:ButterflowOption>
</StackPanel>
</butterflow_ui:ButterflowOption>
@ -85,10 +85,10 @@
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<butterflow_ui:ButterflowOption Grid.Column="0" LabelValue="{x:Static loc:Localization.WidthLabel}">
<TextBox />
<TextBox Name="txtWidth" />
</butterflow_ui:ButterflowOption>
<butterflow_ui:ButterflowOption Grid.Column="1" LabelValue="{x:Static loc:Localization.HeightLabel}">
<TextBox />
<TextBox Name="txtHeight" Text="" />
</butterflow_ui:ButterflowOption>
</Grid>
</butterflow_ui:ButterflowOption>