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

Colapsed Itens #165

Open
Onutirachi opened this issue Jan 10, 2025 · 5 comments
Open

Colapsed Itens #165

Onutirachi opened this issue Jan 10, 2025 · 5 comments

Comments

@Onutirachi
Copy link

Onutirachi commented Jan 10, 2025

Hello,

I notice that when I have a collapsed item, the background item does not appear if it is not active or if the pointer is not over it.
Screenshot_2

But if it is active or hovered over, the collapsed item will appear.
Screenshot_3

Is there a way to keep showing the collapsed item every time?

I'm using RosePine Theme

Thanks!

@SandTechStuff
Copy link

You seem to be using a modified version of RosePine with different running indicators, so my implementation may not work for you if you changed any other styles.

The MultiWindowElement is difficult to style, but I came up with this:
image

bbmaster can probably come up with something better if you wait for him to respond.

To try my configuration, copy and paste the text below into the Mod Settings box in the Advanced section.

{
	"theme": "RosePine",
	"controlStyles[0].target": "Windows.UI.Xaml.Controls.Border#MultiWindowElement",
	"controlStyles[0].styles[0]": "Background=#302d47",
	"controlStyles[0].styles[1]": "BorderThickness=2",
	"controlStyles[0].styles[2]": "BorderBrush=#302d47",
	"controlStyles[0].styles[3]": "Margin=0,0,1,0"
}

@Onutirachi
Copy link
Author

This works perfectly!

I was using custom running indicators but I managed to get both work together.

image

Thank you!

@SandTechStuff
Copy link

SandTechStuff commented Jan 12, 2025

They seem to be a little uneven. If this bothers you, you can try and adjust the Margin property. Replacing it with Margin=0,1,1,0 might fix it, but your custom RosePine version is responding differently to styles than mine, so it is hard to tell.

@Onutirachi
Copy link
Author

Hello,

I adjusted the margin like you said.
image

But sometimes some multi-window icons don't work, I don't know if it's just with explorer, I'll keep testing.
image

@bbmaster123
Copy link
Collaborator

hey I'm back!
Sorry, my account was suspended for the last week...

I'm not sure about #MultiwindowElement in the target, I've always used @stategroup (@CommonStates, @MarginStates, etc) along with @StateName in the style (@Active, @PointerOver, etc).
Try:
Target:
Windows.UI.Xaml.Controls.Border@CommonStates

Styles:
Background@MultiWindowActive=#302D47
Background@MultiWindowNormal=#302D47
Background@MultiWindowPointerOver=#302D47
Background@RequestingAttentionMulti=#302D47
Background@RequestingAttentionMultiPointerOver=#302D47
Background@RequestingAttentionMultiPressed=#302D47

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants