Coder Social home page Coder Social logo

Comments (12)

punker76 avatar punker76 commented on June 3, 2024 1

@batzen I really don't know exactly what it was. I looked at the issues and found some related ones, maybe this helps to understand this. But I'm with you, we should keep showing it.

from controlzex.

batzen avatar batzen commented on June 3, 2024 1

Strange. Will check on a windows 10 machine after my vacation.

from controlzex.

batzen avatar batzen commented on June 3, 2024

@punker76 can you remember why we disable the glow when the window can't be resized? IMHO we should just show it and disable its ability to resize the window. If someone wants to hide it the depth can be reduced to 0.

from controlzex.

dcm99 avatar dcm99 commented on June 3, 2024

Thank you for looking into it.
I am not entirely sure if this is related to this issue or a different problem.
Currently it is a bit difficult to get a fully borderless window. I achieved this by setting the GlowColor to Transparent. I thought this was intended so, but after I ran into the problem with the ResizeMode, I checked in the MahApps.Metro Demo Application. There is a borderless Window Example, and in the current Dev Branch it shows a border.

grafik
Borderless Window by setting Glow Colors to transparent
grafik
Window without Border in MahApps.Metro

from controlzex.

batzen avatar batzen commented on June 3, 2024

Setting the glow to transparent does not remove the glow.
If you want to remove the glow you either have to set the glow colors to null or set the depth to 0.
Will fix the MahApps.Metro sample.

from controlzex.

dcm99 avatar dcm99 commented on June 3, 2024

Sorry my previous post was a bit misunderstanding.
what I meant was that currently it is not possible to get a borderless window. The only workaround is setting the Glow Color to the background color of the window. The glow border covers the border of the window and the window "appears" to be borderless.
For me the workaround is ok. But if you fix the MahApps.Metro sample you see it yourself.

from controlzex.

batzen avatar batzen commented on June 3, 2024

I might not understand what you are trying to achieve.
If you set the glow colors to null the glow is completely removed.

from controlzex.

dcm99 avatar dcm99 commented on June 3, 2024

I am trying to get a window without a visible border. But setting BorderThicknes to 0 is not working
grafik
there is a thin gray border visible. It is also visible if i set the content of the demo project to hidden, the border seems not to be part of any control.
My workaround was to set the glow color to the color of the background, but I dont think this is the intendet way to do so.
grafik

from controlzex.

batzen avatar batzen commented on June 3, 2024

Could you try to change the WindowStyle to None? I don't have a windows 10 machine to test it and it works on windows 11 without changing the window style.

from controlzex.

dcm99 avatar dcm99 commented on June 3, 2024

There is no visible change if i change WindowsStyle to None
tested on Windows 10 21H2 and Windows 10 1607 (LTSB)
grafik

from controlzex.

punker76 avatar punker76 commented on June 3, 2024

@batzen I think under Windows 10 there is still some chrome border visible, which shows the selected accent form the settings.

  • WindowsStyle=None
  • BorderThickness=0
  • Glow=0
  • Brushes=Null

image

from controlzex.

batzen avatar batzen commented on June 3, 2024

Ok, that was enough info. Found it. ;-)
I guess we should discuss the consequences of what we'd have to change after my vacation @punker76.

from controlzex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.