|
1562 | 1562 | <RowDefinition Height="Auto"/>
|
1563 | 1563 | <RowDefinition Height="Auto"/>
|
1564 | 1564 | <RowDefinition Height="Auto"/>
|
1565 |
| - <RowDefinition Height="Auto"/> |
1566 | 1565 | </Grid.RowDefinitions>
|
1567 | 1566 |
|
1568 | 1567 | <StackPanel Margin="0,0,0,5"
|
|
1591 | 1590 | </Image.ToolTip>
|
1592 | 1591 | </Image>
|
1593 | 1592 | </Label>
|
1594 |
| - </StackPanel> |
1595 |
| - |
| 1593 | + </StackPanel> |
| 1594 | + |
| 1595 | + <ComboBox Grid.Row="1" |
| 1596 | + Width="213" |
| 1597 | + HorizontalAlignment="Left" |
| 1598 | + ItemsSource="{Binding Path=UnitList}" |
| 1599 | + SelectedItem="{Binding Path=SelectedUnits}" |
| 1600 | + Style="{StaticResource NoBordersComboBoxStyle}" |
| 1601 | + IsEnabled="{Binding EnableManualScaleOverrides}"> |
| 1602 | + </ComboBox> |
| 1603 | + <TextBlock Grid.Row="1" |
| 1604 | + x:Name="HostUnitsTextBlock" |
| 1605 | + Padding="2" |
| 1606 | + Margin="0 2" |
| 1607 | + Width="190" |
| 1608 | + FontWeight="Regular" |
| 1609 | + HorizontalAlignment="Left" |
| 1610 | + Text="{Binding HostGenericScaleUnits}" |
| 1611 | + Foreground="#888888" |
| 1612 | + Background="{StaticResource PreferencesWindowBackgroundColor}" |
| 1613 | + Visibility="{Binding EnableManualScaleOverrides, Converter={StaticResource InverseBoolToVisibilityConverter}}"> |
| 1614 | + </TextBlock> |
| 1615 | + |
| 1616 | + <!-- Use Revit scale toggle (only visible in DynamoRevit) --> |
1596 | 1617 | <StackPanel Orientation="Horizontal"
|
1597 |
| - Margin="0,6,0,8" |
1598 |
| - Grid.Row="1" |
| 1618 | + Margin="0,8,0,8" |
| 1619 | + Grid.Row="2" |
1599 | 1620 | Visibility="{Binding IsDynamoRevit, Converter={StaticResource BooleanToVisibilityConverter}}">
|
1600 | 1621 | <ToggleButton Name="UseHostScaleUnitsToggle"
|
1601 | 1622 | Width="{StaticResource ToggleButtonWidth}"
|
|
1626 | 1647 | </Image.ToolTip>
|
1627 | 1648 | </Image>
|
1628 | 1649 | </Label>
|
1629 |
| - </StackPanel> |
1630 |
| - |
1631 |
| - <ComboBox Grid.Row="3" |
1632 |
| - Width="213" |
1633 |
| - HorizontalAlignment="Left" |
1634 |
| - ItemsSource="{Binding Path=UnitList}" |
1635 |
| - SelectedItem="{Binding Path=SelectedUnits}" |
1636 |
| - Style="{StaticResource NoBordersComboBoxStyle}" |
1637 |
| - IsEnabled="{Binding EnableManualScaleOverrides}"> |
1638 |
| - </ComboBox> |
1639 |
| - <TextBlock Grid.Row="3" |
1640 |
| - x:Name="HostUnitsTextBlock" |
1641 |
| - Padding="2" |
1642 |
| - Margin="0 2" |
1643 |
| - Width="190" |
1644 |
| - FontWeight="Regular" |
1645 |
| - HorizontalAlignment="Left" |
1646 |
| - Text="{Binding HostGenericScaleUnits}" |
1647 |
| - Foreground="#888888" |
1648 |
| - Background="{StaticResource PreferencesWindowBackgroundColor}" |
1649 |
| - Visibility="{Binding EnableManualScaleOverrides, Converter={StaticResource InverseBoolToVisibilityConverter}}"> |
1650 |
| - </TextBlock> |
| 1650 | + </StackPanel> |
1651 | 1651 |
|
1652 | 1652 | </Grid>
|
1653 | 1653 |
|
|
0 commit comments