Open logixoul opened 2 weeks ago
Try removing your stackpanel from within the ExperimentalAcrylicBorder. Your content should be after the ExperimentalAcrylicBorder.
<Panel>
<ExperimentalAcrylicBorder IsHitTestVisible="True">
<ExperimentalAcrylicBorder.Material>
<ExperimentalAcrylicMaterial
BackgroundSource="Digger"
TintColor="Black"
TintOpacity="0"
MaterialOpacity="0.0" />
</ExperimentalAcrylicBorder.Material>
</ExperimentalAcrylicBorder>
<StackPanel>
<!--<TextBlock>Welcome to Tonemapster!</TextBlock>-->
<Button Click="LoadSingle">Tonemap a single image</Button>
<Button Click="LoadMulti">Merge bracketed exposures</Button>
</StackPanel>
</Panel>
@Eugenenoble2005 Thanks, but this doesn't change the rendering.
Your MaterialOpacity and TintOpacity is 0.0. That makes the effect as close to glass as possible, and you can't really see transparent items on glass. Fluent buttons have low alpha and tend to be translucent. Adjust the MaterialOpacity and TintOpacity till you get a suitable transparency. You can also set a semi-transparent background to the StackPanel to give a more visible surface to the buttons to render on. You can have your controls in the ExperimentalAcrylicBorder like you did earlier.
Describe the bug
When I use the below setup, the text on my buttons becomes unreadable (see screenshot). Btw the same is true for the minimize/maximize/close buttons.
To Reproduce
Expected behavior
No response
Avalonia version
11.0.10
OS
Windows
Additional context
No response