• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#windowsobjective-ccocoaqt誰得pythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

http://sourceforge.jp/projects/futonwriter/の旧リポジトリ


Commit MetaInfo

Revisionf94c73a7f05cb6e97ccde967c70c60c95e4761d2 (tree)
Zeit2011-05-12 16:57:06
Autorazyobuzin <azyobuzin@user...>
Commiterazyobuzin

Log Message

ボタンにアイコンを付けてみた

Ändern Zusammenfassung

Diff

--- a/HatenaDiaryClient/HatenaDiaryClient.csproj
+++ b/HatenaDiaryClient/HatenaDiaryClient.csproj
@@ -112,6 +112,7 @@
112112 <AppDesigner Include="Properties\" />
113113 </ItemGroup>
114114 <ItemGroup>
115+ <Resource Include="Images\Send Document.png" />
115116 <Content Include="InfrastructureAssemblies\Design\Livet.Design.dll" />
116117 <Content Include="InfrastructureAssemblies\Design\Livet.Expression.Design.dll" />
117118 <Content Include="InfrastructureAssemblies\Livet.dll" />
Binary files /dev/null and b/HatenaDiaryClient/Images/Send Document.png differ
--- a/HatenaDiaryClient/Views/MainWindow.xaml
+++ b/HatenaDiaryClient/Views/MainWindow.xaml
@@ -27,7 +27,26 @@
2727 </Menu>
2828
2929 <StackPanel Grid.Row="1" Orientation="Horizontal" Background="LightSteelBlue">
30- <Button Content="投稿" Width="50" Height="40"/>
30+ <StackPanel.Resources>
31+ <Style TargetType="Image">
32+ <Setter Property="HorizontalAlignment" Value="Center"/>
33+ <Setter Property="Width" Value="32"/>
34+ <Setter Property="Height" Value="32"/>
35+ </Style>
36+ <Style TargetType="TextBlock">
37+ <Setter Property="HorizontalAlignment" Value="Center"/>
38+ </Style>
39+ <Style TargetType="Button">
40+ <Setter Property="Width" Value="50"/>
41+ </Style>
42+ </StackPanel.Resources>
43+
44+ <Button>
45+ <StackPanel>
46+ <Image Source="/HatenaDiaryClient;component/Images/Send%20Document.png" />
47+ <TextBlock Text="投稿"/>
48+ </StackPanel>
49+ </Button>
3150 </StackPanel>
3251
3352 <Grid Grid.Row="2" Background="LightBlue">