Closed mr-luiks closed 5 months ago
using DrawerHost fixes floating hint background issue tough.
but i also noticed that foreground is different from release version and pre-release version. on 5.0.0 floating hint foreground colour is muted version of a elements foreground colour. on pre-release it is a same colour. is this a new look or is a bug?
... but i also noticed that foreground is different from release version and pre-release version. on 5.0.0 floating hint foreground colour is muted version of a elements foreground colour. on pre-release it is a same colour. is this a new look or is a bug?
This was probably something that happened while aligning the "field" styles while incorporating the new SmartHint
. Judging from the MD2 "spec" I would say it is a bug though. @Keboo thoughts?
@mr-luiks Have you tried setting the Style
on the window explicitly: Style="{StaticResource MaterialDesignWindow}"
@mr-luiks Have you tried setting the
Style
on the window explicitly:Style="{StaticResource MaterialDesignWindow}"
yes, this is how i apply window style for my program and result is same as previous examples.
... but i also noticed that foreground is different from release version and pre-release version. on 5.0.0 floating hint foreground colour is muted version of a elements foreground colour. on pre-release it is a same colour. is this a new look or is a bug?
This was probably something that happened while aligning the "field" styles while incorporating the new
SmartHint
. Judging from the MD2 "spec" I would say it is a bug though. @Keboo thoughts?
Yea I am thinking it looks like a bug. From the spec I would expect the floating color to follow the primary color.
@Keboo I think what the OP is referring to here is not actually the floating color, but rather that the resting color should be a dimmed version of the TextElement.Foreground
color.
The floating color I believe is correct, it follows the primary color when the control has focus, otherwise it falls back to TextElement.Foreground
.
Also, it is obvious that there is a difference when looking at the SmartHint
demo page. It seems the outlined style is correctly dimming the hint, whereas the other styles are not.
This is the same for all the input controls; I'll have a look at aligning that across the styles.
@nicolaihenriksen ah thank you, yes i misread the original issue. And thank you for the PR
@mr-luiks @Keboo after digging a little, I can see that this is the PR that introduced the issue: #3544
Reverting that change fixes the chrome issue, but of course re-introduces the clipping issue which the PR was fixing.
I'll spend some time looking into a solution...
Bug explanation
Using
tags on WPF Window turns floating hints background and border black
this issue started on 5.0.1-ci615
Version
5.0.1-ci633