Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window Width and White Border #203

Closed
tensei opened this issue Dec 18, 2024 · 5 comments
Closed

Window Width and White Border #203

tensei opened this issue Dec 18, 2024 · 5 comments
Labels
External bug Bugs caused by other dependencies

Comments

@tensei
Copy link

tensei commented Dec 18, 2024

Love your package! I have two problems, though:

  1. After setting the width of the window, it still appears larger than expected.
  2. I'm not sure if this is related to the package, but when I set presenter.SetBorderAndTitleBar(false, false);, I get a strange white border. Is there a way to hide it?

image
image

<?xml version="1.0" encoding="utf-8" ?>

<winUiEx:WindowEx
    x:Class="MiddleClickScroll.Features.Overlay.CursorOverlayWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:winUiEx="using:WinUIEx"
    IsAlwaysOnTop="True"
    IsShownInSwitchers="False"
    PresenterKind="Overlapped"
    mc:Ignorable="d">

    <Window.SystemBackdrop>
        <winUiEx:TransparentTintBackdrop />
    </Window.SystemBackdrop>


    <Image
        Width="36"
        Height="36"
        Source="ms-appx:///Assets/scroll.png" />

</winUiEx:WindowEx>
@AkilanRagavaswamy
Copy link

I dont think this is related to this package. What is the windows app SDK version which you use?

@tensei
Copy link
Author

tensei commented Dec 18, 2024

@AkilanRagavaswamy 1.7.241114004-experimantal1

@AkilanRagavaswamy
Copy link

Yeah I have updated my app to the latest stable SDK version 1.6.241114003

I am also facing the same problem since today. Might be the cause for it.

@ghost1372
Copy link

WinUI bug
microsoft/microsoft-ui-xaml#9978

@dotMorten
Copy link
Owner

Size: Duplicate of #200 and
The border is WinUI bug as @ghost1372 linked to.

@dotMorten dotMorten added the External bug Bugs caused by other dependencies label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
External bug Bugs caused by other dependencies
Projects
None yet
Development

No branches or pull requests

4 participants