프로젝트

일반

사용자정보

개정판 4fcb686a

ID4fcb686a2d4740f5eee8d44f69429ab17bd7489f
상위 a7bee7cf
하위 5ba8f2d5

김태성이(가) 2년 이상 전에 추가함

issue #000 font가 적용 되지 않아 box size가 작게 출력되는 문제

Change-Id: Ie07531db96d56e8d5c2bbdbf0786d053ad39747c

차이점 보기:

KCOM/Resources/RadPasswordPromptStyle.xaml
1
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2
                       xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
3
                    xmlns:local="clr-namespace:KCOM.Controls"
4
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
5
    <SolidColorBrush x:Key="BorderLineOuterColor" Color="#26000000"/>
6
    <SolidColorBrush x:Key="BorderLineInnerColor" Color="#FFFFFFFF"/>
1
<ResourceDictionary
2
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
    xmlns:local="clr-namespace:KCOM.Controls"
5
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
6
    <SolidColorBrush x:Key="BorderLineOuterColor" Color="#26000000" />
7
    <SolidColorBrush x:Key="BorderLineInnerColor" Color="#FFFFFFFF" />
7 8
    <Style x:Key="RadPasswordPromptStyle" TargetType="telerik:RadPrompt">
8 9
        <Setter Property="Template">
9 10
            <Setter.Value>
10 11
                <ControlTemplate TargetType="telerik:RadPrompt">
11 12
                    <Grid x:Name="LayoutRoot">
12 13
                        <Grid.RowDefinitions>
13
                            <RowDefinition Height="*"/>
14
                            <RowDefinition Height="Auto"/>
14
                            <RowDefinition Height="*" />
15
                            <RowDefinition Height="Auto" />
15 16
                        </Grid.RowDefinitions>
16 17
                        <Grid.ColumnDefinitions>
17
                            <ColumnDefinition Width="Auto"/>
18
                            <ColumnDefinition Width="*"/>
18
                            <ColumnDefinition Width="Auto" />
19
                            <ColumnDefinition Width="*" />
19 20
                        </Grid.ColumnDefinitions>
20
                        <ContentPresenter x:Name="Icon" VerticalAlignment="Top" Margin="16 8 8 8" ContentTemplate="{TemplateBinding IconTemplate}"/>
21
                        <StackPanel x:Name="PromptContent" Grid.Row="0" Grid.Column="1" FocusManager.FocusedElement="{Binding ElementName=PromptTextBox}">
22
                            <ScrollViewer IsTabStop="False" Grid.Row="0" Grid.Column="1" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Margin="0 0 0 8">
23
                                <ContentPresenter x:Name="PromptText" Margin="8 8 8 0"/>
21
                        <ContentPresenter
22
                            x:Name="Icon"
23
                            Margin="16,8,8,8"
24
                            VerticalAlignment="Top"
25
                            ContentTemplate="{TemplateBinding IconTemplate}" />
26
                        <StackPanel
27
                            x:Name="PromptContent"
28
                            Grid.Row="0"
29
                            Grid.Column="1"
30
                            FocusManager.FocusedElement="{Binding ElementName=PromptTextBox}">
31
                            <ScrollViewer
32
                                Grid.Row="0"
33
                                Grid.Column="1"
34
                                Margin="0,0,0,8"
35
                                HorizontalScrollBarVisibility="Auto"
36
                                IsTabStop="False"
37
                                VerticalScrollBarVisibility="Auto">
38
                                <ContentPresenter x:Name="PromptText" Margin="8,8,8,0" />
24 39
                            </ScrollViewer>
25
                            <telerik:RadPasswordBox x:Name="PromptPasswordBox" Margin="8" IsTabStop="True" TabIndex="0" Focusable="True"
26
                                                        local:PasswordBoxUtilities.SendPasswordToPromptResult="True"
27
                                                        local:PasswordBoxUtilities.IsFocused="True"/>
40
                            <telerik:RadPasswordBox
41
                                x:Name="PromptPasswordBox"
42
                                Margin="8"
43
                                local:PasswordBoxUtilities.IsFocused="True"
44
                                local:PasswordBoxUtilities.SendPasswordToPromptResult="True"
45
                                Focusable="True"
46
                                IsTabStop="True"
47
                                TabIndex="0" />
28 48
                        </StackPanel>
29
                        <Border x:Name="HorizontalRule"
30
                                Grid.Row="1"
31
                                Grid.ColumnSpan="2"
32
                                BorderThickness="0 0 0 1"
33
                                Height="2"
34
                                Background="{StaticResource BorderLineOuterColor}"
35
                                BorderBrush="{StaticResource BorderLineInnerColor}"
36
                                VerticalAlignment="Top"/>
37
                        <StackPanel x:Name="DialogButtons" Grid.Row="1" Grid.ColumnSpan="2" Orientation="Horizontal" HorizontalAlignment="Right">
38
                            <telerik:RadButton x:Name="OK"
39
                                    Command="{x:Static telerik:WindowCommands.Confirm}"
40
                                    telerik:RadWindow.ResponseButton="Accept"
41
                                    MinWidth="70"
42
                                    IsTabStop="True"
43
                                    TabIndex="1"
44
                                    HorizontalAlignment="Right"
45
                                    telerik:LocalizationManager.ResourceKey="Ok"
46
                                    Margin="0 10 8 8"/>
47
                            <telerik:RadButton x:Name="Cancel"
48
                                    Command="{x:Static telerik:WindowCommands.Cancel}"
49
                                    telerik:RadWindow.ResponseButton="Cancel"
50
                                    MinWidth="70"
51
                                    IsTabStop="True"
52
                                    TabIndex="2"
53
                                    HorizontalAlignment="Right"
54
                                    telerik:LocalizationManager.ResourceKey="Cancel"
55
                                    Margin="0 10 8 8"/>
49
                        <Border
50
                            x:Name="HorizontalRule"
51
                            Grid.Row="1"
52
                            Grid.ColumnSpan="2"
53
                            Height="2"
54
                            VerticalAlignment="Top"
55
                            Background="{StaticResource BorderLineOuterColor}"
56
                            BorderBrush="{StaticResource BorderLineInnerColor}"
57
                            BorderThickness="0,0,0,1" />
58
                        <StackPanel
59
                            x:Name="DialogButtons"
60
                            Grid.Row="1"
61
                            Grid.ColumnSpan="2"
62
                            HorizontalAlignment="Right"
63
                            Orientation="Horizontal">
64
                            <telerik:RadButton
65
                                x:Name="OK"
66
                                MinWidth="70"
67
                                Margin="0,10,8,8"
68
                                HorizontalAlignment="Right"
69
                                telerik:LocalizationManager.ResourceKey="Ok"
70
                                telerik:RadWindow.ResponseButton="Accept"
71
                                Command="{x:Static telerik:WindowCommands.Confirm}"
72
                                IsTabStop="True"
73
                                TabIndex="1" />
74
                            <telerik:RadButton
75
                                x:Name="Cancel"
76
                                MinWidth="70"
77
                                Margin="0,10,8,8"
78
                                HorizontalAlignment="Right"
79
                                telerik:LocalizationManager.ResourceKey="Cancel"
80
                                telerik:RadWindow.ResponseButton="Cancel"
81
                                Command="{x:Static telerik:WindowCommands.Cancel}"
82
                                IsTabStop="True"
83
                                TabIndex="2" />
56 84
                        </StackPanel>
57 85
                    </Grid>
58 86
                </ControlTemplate>

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)