Skip to content

Commit ca1ad2b

Browse files
committed
ux: makes BranchSelector looks like normal ComboBox
Signed-off-by: leo <longshuang@msn.cn>
1 parent 52d9270 commit ca1ad2b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/Views/BranchSelector.axaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,15 @@
147147
<Setter Property="Background" Value="{DynamicResource ComboBoxBackgroundUnfocused}" />
148148
</Style>
149149
</Style>
150+
151+
<Style Selector="^:disabled">
152+
<Setter Property="Opacity" Value="0.6"/>
153+
154+
<Style Selector="^ /template/ Border#PART_Background">
155+
<Setter Property="Background" Value="Transparent" />
156+
<Setter Property="BorderBrush" Value="{DynamicResource Brush.Border2}"/>
157+
</Style>
158+
</Style>
150159
</Style>
151160
</UserControl.Styles>
152161
</UserControl>

0 commit comments

Comments
 (0)