|
10 | 10 | DialogTitle="[ProductName] Setup" |
11 | 11 | mc:Ignorable="d"> |
12 | 12 |
|
13 | | - |
14 | | - <Border |
| 13 | + <Viewbox> |
| 14 | + <Border |
| 15 | + Width="497" |
| 16 | + Height="409" |
15 | 17 | Margin="5,5,5,5" |
16 | 18 | Background="{DynamicResource BackgroundColor}" |
17 | 19 | BorderBrush="Transparent" |
18 | 20 | BorderThickness="1" |
19 | 21 | CornerRadius="15,15,15,15" |
20 | 22 | HorizontalAlignment="Stretch" |
21 | 23 | VerticalAlignment="Stretch"> |
22 | | - <!--<Border.Effect> |
23 | | - <DropShadowEffect BlurRadius="20" |
24 | | - Color="Gray" |
25 | | - Opacity="0.3" |
26 | | - ShadowDepth="0" |
27 | | - Direction="0"></DropShadowEffect> |
28 | | - </Border.Effect>--> |
29 | 24 |
|
30 | | - <Grid x:Name="Root" Background="Transparent" Margin="-1,0,-1,0"> |
| 25 | + <Grid x:Name="Root" Background="Transparent"> |
31 | 26 |
|
32 | | - <Button |
| 27 | + <Button |
33 | 28 | Style="{DynamicResource CloseButtonStyle}" |
34 | 29 | Name="TitleButton" |
35 | 30 | Foreground="Black" |
|
40 | 35 | FontSize="20" |
41 | 36 | FontWeight="Light" |
42 | 37 | Margin="20,10,362,0" VerticalAlignment="Top"> |
43 | | - <Button.Template> |
44 | | - <ControlTemplate TargetType="Button"> |
45 | | - <Border x:Name="border" Width="290" Background="Transparent"> |
46 | | - <Grid> |
47 | | - <Image Name="SlideUp_Image" |
| 38 | + <Button.Template> |
| 39 | + <ControlTemplate TargetType="Button"> |
| 40 | + <Border x:Name="border" Width="290" Background="Transparent"> |
| 41 | + <Grid> |
| 42 | + <Image Name="SlideUp_Image" |
48 | 43 | Visibility="Visible" |
49 | 44 | Source="/e-verse.Navisworks.SelectByRevitId.Installer;component/Resources/SelectByRevitId.png" |
50 | 45 | HorizontalAlignment="Left" |
|
53 | 48 | RenderOptions.BitmapScalingMode="HighQuality" |
54 | 49 | RenderOptions.EdgeMode="Aliased" |
55 | 50 | Margin="2,5,0,5"/> |
56 | | - </Grid> |
57 | | - </Border> |
58 | | - <ControlTemplate.Triggers > |
59 | | - <Trigger Property="IsDefaulted" Value="True"> |
60 | | - </Trigger> |
61 | | - <Trigger Property="IsMouseOver" Value="True"> |
62 | | - <Setter Property="Opacity" TargetName="border" Value="0.5"/> |
63 | | - </Trigger> |
64 | | - <Trigger Property="IsPressed" Value="True"> |
65 | | - <Setter Property="Opacity" TargetName="border" Value="0.2"/> |
66 | | - </Trigger> |
67 | | - </ControlTemplate.Triggers> |
68 | | - </ControlTemplate> |
69 | | - </Button.Template> |
70 | | - </Button> |
71 | | - |
72 | | - <Button |
| 51 | + </Grid> |
| 52 | + </Border> |
| 53 | + <ControlTemplate.Triggers > |
| 54 | + <Trigger Property="IsDefaulted" Value="True"> |
| 55 | + </Trigger> |
| 56 | + <Trigger Property="IsMouseOver" Value="True"> |
| 57 | + <Setter Property="Opacity" TargetName="border" Value="0.5"/> |
| 58 | + </Trigger> |
| 59 | + <Trigger Property="IsPressed" Value="True"> |
| 60 | + <Setter Property="Opacity" TargetName="border" Value="0.2"/> |
| 61 | + </Trigger> |
| 62 | + </ControlTemplate.Triggers> |
| 63 | + </ControlTemplate> |
| 64 | + </Button.Template> |
| 65 | + </Button> |
| 66 | + |
| 67 | + <Button |
73 | 68 | Style="{DynamicResource CloseButtonStyle}" |
74 | | - Margin="332,376,13,0" |
| 69 | + Margin="325,367,20,20" |
75 | 70 | Background="Transparent" |
76 | 71 | Click="Contact_Link" |
77 | 72 | FontWeight="Light" |
78 | 73 | FontSize="12" |
79 | | - Foreground="{DynamicResource MainGray}" |
80 | | - VerticalAlignment="Top" Height="20"> |
81 | | - <Button.Template> |
82 | | - <ControlTemplate TargetType="Button"> |
83 | | - <Border x:Name="border" Background="Transparent" Margin="0,0,3,0"> |
84 | | - <Grid> |
85 | | - <Grid.ColumnDefinitions> |
86 | | - <ColumnDefinition Width="243*"/> |
87 | | - <ColumnDefinition Width="47*"/> |
88 | | - </Grid.ColumnDefinitions> |
89 | | - <TextBlock |
| 74 | + Foreground="{DynamicResource MainGray}" Height="NaN"> |
| 75 | + <Button.Template> |
| 76 | + <ControlTemplate TargetType="Button"> |
| 77 | + <Border x:Name="border" Background="Transparent" Margin="0,0,3,0"> |
| 78 | + <Grid> |
| 79 | + <Grid.ColumnDefinitions> |
| 80 | + <ColumnDefinition Width="243*"/> |
| 81 | + <ColumnDefinition Width="47*"/> |
| 82 | + </Grid.ColumnDefinitions> |
| 83 | + <TextBlock |
90 | 84 | Text="Made with by e-verse" |
91 | 85 | Margin="0,1,5,-1" |
92 | 86 | FontWeight="Bold" Grid.ColumnSpan="2"> |
93 | | - </TextBlock> |
| 87 | + </TextBlock> |
94 | 88 |
|
95 | | - <Image Name="heartImage" |
| 89 | + <Image Name="heartImage" |
96 | 90 | Visibility="Visible" |
97 | 91 | Source="/e-verse.Navisworks.SelectByRevitId.Installer;component/Resources/Heart.png" |
98 | 92 | HorizontalAlignment="Left" |
|
101 | 95 | RenderOptions.BitmapScalingMode="HighQuality" |
102 | 96 | RenderOptions.EdgeMode="Aliased" |
103 | 97 | Margin="63,0,0,3" RenderTransformOrigin="0.5,0.5"> |
104 | | - <Image.RenderTransform> |
105 | | - <TransformGroup> |
106 | | - <ScaleTransform ScaleY="1"/> |
107 | | - <SkewTransform/> |
108 | | - <RotateTransform/> |
109 | | - <TranslateTransform/> |
110 | | - </TransformGroup> |
111 | | - </Image.RenderTransform> |
112 | | - </Image> |
113 | | - </Grid> |
114 | | - </Border> |
115 | | - <ControlTemplate.Triggers > |
116 | | - <Trigger Property="IsDefaulted" Value="True"> |
117 | | - </Trigger> |
118 | | - <Trigger Property="IsMouseOver" Value="True"> |
119 | | - <Setter Property="Opacity" TargetName="border" Value="0.5"/> |
120 | | - </Trigger> |
121 | | - <Trigger Property="IsPressed" Value="True"> |
122 | | - <Setter Property="Opacity" TargetName="border" Value="0.2"/> |
123 | | - </Trigger> |
124 | | - </ControlTemplate.Triggers> |
125 | | - </ControlTemplate> |
126 | | - </Button.Template> |
127 | | - </Button> |
128 | | - |
129 | | - <TextBlock |
| 98 | + <Image.RenderTransform> |
| 99 | + <TransformGroup> |
| 100 | + <ScaleTransform ScaleY="1"/> |
| 101 | + <SkewTransform/> |
| 102 | + <RotateTransform/> |
| 103 | + <TranslateTransform/> |
| 104 | + </TransformGroup> |
| 105 | + </Image.RenderTransform> |
| 106 | + </Image> |
| 107 | + </Grid> |
| 108 | + </Border> |
| 109 | + <ControlTemplate.Triggers > |
| 110 | + <Trigger Property="IsDefaulted" Value="True"> |
| 111 | + </Trigger> |
| 112 | + <Trigger Property="IsMouseOver" Value="True"> |
| 113 | + <Setter Property="Opacity" TargetName="border" Value="0.5"/> |
| 114 | + </Trigger> |
| 115 | + <Trigger Property="IsPressed" Value="True"> |
| 116 | + <Setter Property="Opacity" TargetName="border" Value="0.2"/> |
| 117 | + </Trigger> |
| 118 | + </ControlTemplate.Triggers> |
| 119 | + </ControlTemplate> |
| 120 | + </Button.Template> |
| 121 | + </Button> |
| 122 | + |
| 123 | + <TextBlock |
130 | 124 | x:Name="DialogDescription" |
131 | 125 | Margin="34,112,34,188" |
132 | 126 | Background="Transparent" |
|
137 | 131 | LineHeight="20" |
138 | 132 | TextWrapping="WrapWithOverflow"> |
139 | 133 | [ExitDialogDescription] |
140 | | - </TextBlock> |
| 134 | + </TextBlock> |
141 | 135 |
|
142 | | - <!--<Label |
| 136 | + <!--<Label |
143 | 137 | x:Name="DialogNextProjects1" |
144 | 138 | Margin="38,180,34,200" |
145 | 139 | Background="Transparent" |
|
156 | 150 | Content="projects?" |
157 | 151 | HorizontalContentAlignment="Center"></Label>--> |
158 | 152 |
|
159 | | - <Button |
| 153 | + <Button |
160 | 154 | Style="{DynamicResource CloseButtonStyle}" |
161 | | - Margin="183,241,189,0" |
| 155 | + Margin="183,229,189,0" |
162 | 156 | Background="Transparent" |
163 | 157 | Click="Contact_Link" |
164 | 158 | FontWeight="Light" |
165 | 159 | FontSize="12" |
166 | 160 | Foreground="{DynamicResource MainGray}" |
167 | 161 | VerticalAlignment="Top" Height="26"> |
168 | | - <Button.Template> |
169 | | - <ControlTemplate TargetType="Button"> |
170 | | - <Border x:Name="border" Background="Transparent" Margin="0,0,3,0"> |
171 | | - <Grid Margin="0,0,0,-4"> |
172 | | - <Grid.ColumnDefinitions> |
173 | | - <ColumnDefinition Width="243*"/> |
174 | | - <ColumnDefinition Width="47*"/> |
175 | | - </Grid.ColumnDefinitions> |
176 | | - <TextBlock |
| 162 | + <Button.Template> |
| 163 | + <ControlTemplate TargetType="Button"> |
| 164 | + <Border x:Name="border" Background="Transparent" Margin="0,0,3,0"> |
| 165 | + <Grid Margin="0,0,0,-4"> |
| 166 | + <Grid.ColumnDefinitions> |
| 167 | + <ColumnDefinition Width="243*"/> |
| 168 | + <ColumnDefinition Width="47*"/> |
| 169 | + </Grid.ColumnDefinitions> |
| 170 | + <TextBlock |
177 | 171 | Text="Drop us a line" |
178 | 172 | Margin="31,0,11,13" |
179 | 173 | FontWeight="Bold" Grid.ColumnSpan="2"> |
180 | | - </TextBlock> |
181 | | - <Path |
| 174 | + </TextBlock> |
| 175 | + <Path |
182 | 176 | x:Name="Cross" |
183 | 177 | Data="M 0 0 L 80 0 M 70 10 L 80 0 L 70 -10" |
184 | 178 | Stretch="Fill" |
|
190 | 184 | VerticalAlignment="Bottom" |
191 | 185 | Height="12" Grid.ColumnSpan="2"/> |
192 | 186 |
|
193 | | - </Grid> |
194 | | - </Border> |
195 | | - <ControlTemplate.Triggers > |
196 | | - <Trigger Property="IsDefaulted" Value="True"> |
197 | | - </Trigger> |
198 | | - <Trigger Property="IsMouseOver" Value="True"> |
199 | | - <Setter Property="Opacity" TargetName="border" Value="0.5"/> |
200 | | - </Trigger> |
201 | | - <Trigger Property="IsPressed" Value="True"> |
202 | | - <Setter Property="Opacity" TargetName="border" Value="0.2"/> |
203 | | - </Trigger> |
204 | | - </ControlTemplate.Triggers> |
205 | | - </ControlTemplate> |
206 | | - </Button.Template> |
207 | | - |
208 | | - </Button> |
209 | | - |
210 | | - <Button Style="{DynamicResource MainButtonStyle}" |
| 187 | + </Grid> |
| 188 | + </Border> |
| 189 | + <ControlTemplate.Triggers > |
| 190 | + <Trigger Property="IsDefaulted" Value="True"> |
| 191 | + </Trigger> |
| 192 | + <Trigger Property="IsMouseOver" Value="True"> |
| 193 | + <Setter Property="Opacity" TargetName="border" Value="0.5"/> |
| 194 | + </Trigger> |
| 195 | + <Trigger Property="IsPressed" Value="True"> |
| 196 | + <Setter Property="Opacity" TargetName="border" Value="0.2"/> |
| 197 | + </Trigger> |
| 198 | + </ControlTemplate.Triggers> |
| 199 | + </ControlTemplate> |
| 200 | + </Button.Template> |
| 201 | + |
| 202 | + </Button> |
| 203 | + |
| 204 | + <Button Style="{DynamicResource MainButtonStyle}" |
211 | 205 | x:Name="GoExit" |
212 | 206 | Content="Finish" |
213 | 207 | MinWidth="73" |
214 | | - Margin="181,302,181,0" |
215 | | - VerticalAlignment="Top"> |
216 | | - </Button> |
| 208 | + Margin="181,285,181,84"/> |
217 | 209 |
|
218 | | - <Button |
| 210 | + <Button |
219 | 211 | Style="{DynamicResource TabCloseButtonStyle}" |
220 | 212 | Name="Cancel" |
221 | 213 | VerticalAlignment="Top" |
222 | 214 | Margin="452,13,17,0"/> |
223 | 215 |
|
224 | | - </Grid> |
225 | | - </Border> |
226 | | - |
| 216 | + </Grid> |
| 217 | + </Border> |
| 218 | + </Viewbox> |
227 | 219 | <wixsharp:WpfDialog.Resources> |
228 | 220 | <ResourceDictionary> |
229 | 221 | <ResourceDictionary.MergedDictionaries> |
|
0 commit comments