Skip to content

Commit 90afc53

Browse files
Change the size of setting panel.
1 parent e84493c commit 90afc53

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

src/Riter/Core/UI/SettingPanel.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
xmlns:viewmodel="clr-namespace:Riter.ViewModel"
88
d:DataContext="{d:DesignInstance Type=viewmodel:PaletteStateOrchestratorViewModel}"
99
mc:Ignorable="d"
10-
Width="580" Height="340" DataContext="{Binding}" >
10+
Width="573" Height="340" DataContext="{Binding}" >
1111
<Grid Margin="0,0,0,4">
1212
<Border Padding="8,8" CornerRadius="12" Visibility="{Binding SettingPanelViewModel.SettingPanelVisibility}" Background="#FFF" BorderBrush="#E5E5E5" BorderThickness="1">
1313
<Border.Effect>

src/Riter/Resources/Icons.xaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@
5050
Data="M1.70743,1.69767L5.04076,4.30233L8.3741,1.69767"/>
5151
</Canvas>
5252
<Canvas x:Key="Icon_RoundedRectangle" Width="24" Height="24">
53-
<!--<Path Opacity="0.4" Data="M6 2.75C4.20507 2.75 2.75 4.20507 2.75 6V18C2.75 19.7949 4.20507 21.25 6 21.25H18C19.7949 21.25 21.25 19.7949 21.25 18V12C21.25 11.5858 21.5858 11.25 22 11.25C22.4142 11.25 22.75 11.5858 22.75 12V18C22.75 20.6234 20.6234 22.75 18 22.75H6C3.37665 22.75 1.25 20.6234 1.25 18V6C1.25 3.37665 3.37665 1.25 6 1.25H12C12.4142 1.25 12.75 1.58579 12.75 2C12.75 2.41421 12.4142 2.75 12 2.75H6Z" Fill="#28303F"/>
54-
<Path Opacity="0.4" Data="M2.80261 18.0803C2.81823 19.8751 4.28591 21.3175 6.08076 21.3019L18.0803 21.1975C19.8752 21.1819 21.3175 19.7142 21.3019 17.9193L21.1975 5.91977C21.1819 4.12491 19.7142 2.68255 17.9194 2.69817L11.9196 2.75037C11.5054 2.75397 11.1667 2.42112 11.1631 2.00692C11.1595 1.59273 11.4923 1.25403 11.9065 1.25043L17.9063 1.19823C20.5296 1.1754 22.6746 3.28347 22.6975 5.90672L22.8019 17.9063C22.8247 20.5295 20.7166 22.6746 18.0934 22.6974L6.09381 22.8018C3.47056 22.8246 1.32549 20.7166 1.30267 18.0933L1.25047 12.0935C1.24686 11.6793 1.57972 11.3407 1.99391 11.337C2.40811 11.3334 2.74681 11.6663 2.75041 12.0805L2.80261 18.0803Z" Fill="#28303F"/>-->
55-
<Path Data="M21.375 16.4383L21.375 16.4405C21.375 16.4405 21.3723 16.8444 21.168 17.193C21.168 17.193 20.9633 17.5426 20.611 17.7427L12.7348 22.1965C12.7348 22.1965 12.3969 22.3916 12 22.3916C12 22.3916 11.6031 22.3916 11.2594 22.1931L3.3902 17.7433C3.3902 17.7433 3.03671 17.5426 2.83195 17.193C2.83195 17.193 2.62719 16.8434 2.62501 16.4383L2.625 7.5655C2.625 7.5655 2.62719 7.15633 2.83195 6.80673C2.83195 6.80673 3.03671 6.45714 3.38902 6.25707L11.2652 1.80327C11.2652 1.80327 11.6031 1.60815 12 1.60815C12 1.60815 12.3969 1.60815 12.7406 1.8066L20.6098 6.2564C20.6098 6.2564 20.9633 6.45714 21.168 6.80673C21.168 6.80673 21.3728 7.15633 21.375 7.56147L21.375 16.4342L21.375 16.4383ZM19.875 7.56952L19.875 16.4302C19.875 16.4302 19.8749 16.4329 19.8737 16.4349C19.8737 16.4349 19.8734 16.4355 19.8728 16.4362C19.8722 16.4369 19.8713 16.4377 19.8703 16.4383L12 20.8888L4.12855 16.4376C4.12855 16.4376 4.12755 16.4371 4.12627 16.4349C4.12627 16.4349 4.125 16.4327 4.12499 16.4302L4.125 7.5655C4.125 7.5655 4.12547 7.56621 4.12627 7.56484C4.12627 7.56484 4.12755 7.56267 4.12973 7.56142L12 3.11096L19.8715 7.5621C19.8715 7.5621 19.8725 7.56267 19.8737 7.56484C19.8737 7.56484 19.875 7.56701 19.875 7.56952Z" Fill="#1C1C1C"/>
53+
<Path Data="M15.4219 3H8.57812C8.48071 2.99963 8.38422 3.01849 8.29413 3.05557C8.20404 3.09256 8.12219 3.14694 8.05316 3.21561L3.21561 8.05316C3.14694 8.12219 3.09256 8.20404 3.05557 8.29413C3.01849 8.38422 2.99963 8.48071 3 8.57812V15.4219C2.99963 15.5193 3.01849 15.6158 3.05557 15.7059C3.09256 15.796 3.14694 15.8778 3.21561 15.9468L8.05316 20.7844C8.12219 20.8531 8.20404 20.9074 8.29413 20.9445C8.38422 20.9815 8.48071 21.0004 8.57812 21H15.4219C15.5193 21.0004 15.6158 20.9815 15.7059 20.9445C15.796 20.9074 15.8778 20.8531 15.9468 20.7844L20.7844 15.9468C20.8531 15.8778 20.9074 15.796 20.9445 15.7059C20.9815 15.6158 21.0004 15.5193 21 15.4219V8.57812C21.0004 8.48071 20.9815 8.38422 20.9445 8.29413C20.9074 8.20404 20.8531 8.12219 20.7844 8.05316L15.9468 3.21561C15.8778 3.14694 15.796 3.09256 15.7059 3.05557C15.6158 3.01849 15.5193 2.99963 15.4219 3V3Z" Fill="black" Opacity="0.1"/>
54+
<Path Data="M15.9908 2.36177C15.7174 2.24947 15.4219 2.25 15.4219 2.25L15.4208 2.25H15.4192L8.58076 2.25001C8.28386 2.24897 8.00921 2.36177 8.00921 2.36177C7.73457 2.47456 7.5228 2.6853 7.5228 2.6853L2.68399 7.52411C2.47457 7.73457 2.36177 8.00921 2.36177 8.00921C2.24897 8.28386 2.25 8.57813 2.25 8.57813L2.25001 15.4192C2.24897 15.7161 2.36177 15.9908 2.36177 15.9908C2.47456 16.2654 2.6853 16.4772 2.6853 16.4772L7.52411 21.316C7.73457 21.5254 8.00921 21.6382 8.00921 21.6382C8.28386 21.751 8.57813 21.75 8.57813 21.75L15.4192 21.75C15.7161 21.751 15.9908 21.6382 15.9908 21.6382C16.2654 21.5254 16.4772 21.3147 16.4772 21.3147L21.316 16.4759C21.5254 16.2654 21.6382 15.9908 21.6382 15.9908C21.751 15.7161 21.75 15.4219 21.75 15.4219L21.75 8.58076C21.751 8.28386 21.6382 8.00921 21.6382 8.00921C21.5254 7.73457 21.3147 7.5228 21.3147 7.5228L16.4759 2.68398C16.2654 2.47456 15.9908 2.36177 15.9908 2.36177ZM15.4219 3V3.74963C15.4232 3.75 15.4245 3.75 15.4245 3.75L15.4219 3ZM8.57942 3.75L15.4206 3.75L20.25 8.57942L20.25 15.4206L15.4206 20.25L8.57941 20.25L3.75 15.4206L3.75 8.57941L8.57942 3.75Z" Fill="#1C1C1C"/>
5655

5756
</Canvas>
5857
<Canvas Width="24" Height="24" x:Key="Icon_Pen">
@@ -254,10 +253,7 @@
254253
<Path Data="M17.25 6.75V15.75C17.25 16.1642 17.5858 16.5 18 16.5C18.4142 16.5 18.75 16.1642 18.75 15.75V6C18.75 5.58579 18.4142 5.25 18 5.25H8.25C7.83579 5.25 7.5 5.58579 7.5 6C7.5 6.41421 7.83579 6.75 8.25 6.75H17.25Z" Fill="#1C1C1C"/>
255254
</Canvas>
256255

257-
<Canvas Width="16" Height="16" x:Key="Icon_hexagonal">
258-
<Path Data="M14.25 10.959L14.25 10.9605C14.25 10.9605 14.2482 11.2297 14.112 11.4622C14.112 11.4622 13.9755 11.6952 13.7407 11.8286L8.48986 14.7978C8.48986 14.7978 8.2646 14.9279 8 14.9279C8 14.9279 7.7354 14.9279 7.50625 14.7956L2.26014 11.8291C2.26014 11.8291 2.02447 11.6952 1.88797 11.4622C1.88797 11.4622 1.75146 11.2291 1.75001 10.959L1.75 5.04383C1.75 5.04383 1.75146 4.77105 1.88797 4.53799C1.88797 4.53799 2.02447 4.30492 2.25934 4.17154L7.51014 1.20235C7.51014 1.20235 7.7354 1.07227 8 1.07227C8 1.07227 8.2646 1.07227 8.49375 1.20457L13.7399 4.17109C13.7399 4.17109 13.9755 4.30492 14.112 4.53798C14.112 4.53798 14.2485 4.77105 14.25 5.04114L14.25 10.9563L14.25 10.959ZM13.25 5.04651L13.25 10.9536C13.25 10.9536 13.2499 10.9554 13.2492 10.9568C13.2492 10.9568 13.2489 10.9571 13.2485 10.9576C13.2481 10.9581 13.2476 10.9586 13.2468 10.959L7.99998 13.926L2.75236 10.9586C2.75236 10.9586 2.7517 10.9582 2.75085 10.9568C2.75085 10.9568 2.75 10.9553 2.74999 10.9536L2.75 5.04383C2.75 5.04383 2.75031 5.04431 2.75085 5.04339C2.75085 5.04339 2.7517 5.04194 2.75316 5.04111L8.00002 2.07414L13.2476 5.04156C13.2476 5.04156 13.2483 5.04194 13.2492 5.04339C13.2492 5.04339 13.25 5.04484 13.25 5.04651Z" Fill="#1C1C1C"/>
259-
</Canvas>
260-
256+
261257
<Canvas Width="24" Height="24" x:Key="Icon_Database">
262258
<Path Data="M18 5.4375C18 7.19788 15.3137 8.625 12 8.625C8.68629 8.625 6 7.19788 6 5.4375C6 3.67712 8.68629 2.25 12 2.25C15.3137 2.25 18 3.67712 18 5.4375Z" Fill="black" Opacity="0.1"/>
263259
<Path Data="M12 1.5C12 1.5 14.6721 1.5 16.5945 2.52126C16.5945 2.52126 17.5627 3.0356 18.1152 3.72963C18.1152 3.72963 18.75 4.5269 18.75 5.4375C18.75 5.4375 18.75 6.3481 18.1152 7.14537C18.1152 7.14537 17.5627 7.8394 16.5945 8.35374C16.5945 8.35374 14.6721 9.375 12 9.375C12 9.375 9.32787 9.375 7.40549 8.35374C7.40549 8.35374 6.43733 7.8394 5.88476 7.14537C5.88476 7.14537 5.25 6.3481 5.25 5.4375C5.25 5.4375 5.25 4.5269 5.88476 3.72963C5.88476 3.72963 6.43733 3.0356 7.40549 2.52126C7.40549 2.52126 9.32787 1.5 12 1.5ZM12 3C12 3 9.70157 3 8.10923 3.84593C8.10923 3.84593 6.75 4.56802 6.75 5.4375C6.75 5.4375 6.75 6.30698 8.10923 7.02907C8.10923 7.02907 9.70157 7.875 12 7.875C12 7.875 14.2984 7.875 15.8908 7.02907C15.8908 7.02907 17.25 6.30698 17.25 5.4375C17.25 5.4375 17.25 4.56802 15.8908 3.84593C15.8908 3.84593 14.2984 3 12 3Z" Fill="#1C1C1C"/>
@@ -283,9 +279,7 @@
283279

284280
</Canvas>
285281

286-
<Canvas Width="16" Height="16" x:Key="Icon_hexagonal_Toolbox">
287-
<Path Data="M14.25 10.959L14.25 10.9605C14.25 10.9605 14.2482 11.2297 14.112 11.4622C14.112 11.4622 13.9755 11.6952 13.7407 11.8286L8.48986 14.7978C8.48986 14.7978 8.2646 14.9279 8 14.9279C8 14.9279 7.7354 14.9279 7.50625 14.7956L2.26014 11.8291C2.26014 11.8291 2.02447 11.6952 1.88797 11.4622C1.88797 11.4622 1.75146 11.2291 1.75001 10.959L1.75 5.04383C1.75 5.04383 1.75146 4.77105 1.88797 4.53799C1.88797 4.53799 2.02447 4.30492 2.25934 4.17154L7.51014 1.20235C7.51014 1.20235 7.7354 1.07227 8 1.07227C8 1.07227 8.2646 1.07227 8.49375 1.20457L13.7399 4.17109C13.7399 4.17109 13.9755 4.30492 14.112 4.53798C14.112 4.53798 14.2485 4.77105 14.25 5.04114L14.25 10.9563L14.25 10.959ZM13.25 5.04651L13.25 10.9536C13.25 10.9536 13.2499 10.9554 13.2492 10.9568C13.2492 10.9568 13.2489 10.9571 13.2485 10.9576C13.2481 10.9581 13.2476 10.9586 13.2468 10.959L7.99998 13.926L2.75236 10.9586C2.75236 10.9586 2.7517 10.9582 2.75085 10.9568C2.75085 10.9568 2.75 10.9553 2.74999 10.9536L2.75 5.04383C2.75 5.04383 2.75031 5.04431 2.75085 5.04339C2.75085 5.04339 2.7517 5.04194 2.75316 5.04111L8.00002 2.07414L13.2476 5.04156C13.2476 5.04156 13.2483 5.04194 13.2492 5.04339C13.2492 5.04339 13.25 5.04484 13.25 5.04651Z" Fill="#1C1C1C"/>
288-
</Canvas>
282+
289283

290284
<Canvas Width="24" Height="24" x:Key="Icon_Database_Toolbox">
291285
<Path Data="M18 5.4375C18 7.19788 15.3137 8.625 12 8.625C8.68629 8.625 6 7.19788 6 5.4375C6 3.67712 8.68629 2.25 12 2.25C15.3137 2.25 18 3.67712 18 5.4375Z" Fill="black" Opacity="0.1"/>

0 commit comments

Comments
 (0)