You are not logged in.


Hi,
I've been using the xfce4-docklike-plugin from ppa xubutnu-dev extras, the version i'm using is: 0.4.2-0ppa1~bpo24.04
I've been able to style it pretty much like I wanted to, but few things are missing:
1 - I'd like to make the Window Preview "float", to have some space between the panel and the Window Preview.
What've been trying for this is to make background-color transparent and add some margin, but I cannot access the window specifically for the docklike-plugin.
It the white part in this image

When viewing the Css Selectors, it seems like it is the window.background that could do the trick but it also used many times in many other window and not just in side the panel.
2 - When the window is minimized, I want the preview to be smaller. I did not achieve to reduce the yellow part.

Here is the css I get for the moment:
box.menu{
background-color: greenyellow;
border-radius: 5px;
margin: 15px;
padding: 5px;
}
box.menu>widget.menu_item{
background-color: red;
border-radius: 10px;
padding:0;
margin:0;
}
box.menu>widget.menu_item>grid{
background-color: magenta;
padding:0;
margin:0;
}
box.menu>widget.menu_item>grid>image:first-child{
background-color: green;
padding:0;
margin:0;
}
box.menu>widget.menu_item>grid>image:last-child{
background-color: yellow;
padding:0;
margin:0;
}
box.menu>widget.menu_item>grid>label{
background-color: aqua;
padding:0;
margin:0;
}
box.menu>widget.menu_item>grid>button{
background-color: blue;
padding:0;
margin:0;
}Thanks for your time and help!
Last edited by moooartin (Yesterday 10:09:29)
Offline


but I cannot access the window specifically for the docklike-plugin.
I don't think its possible. In the code, the preview window is a new GtkWindow element that is created but it has no style class associated with it. You can affect it with "window" directives (as you have noted), but these will affect all windows. Even in the code that you have, any other applications that use that hierarchy will be impacted.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline


Dannnng...
Even in the code that you have, any other applications that use that hierarchy will be impacted.
Yeah true it misses some "id" or "class" to be more specific... for the moment nothing other than the docklike-plugin Window Preview seems impacted. We'll see in the future.
I've open a "issue" on gitlab maybe there will be some answer.
https://gitlab.xfce.org/panel-plugins/x … issues/102
Thanks @ToZ for your answer
Offline
[ Generated in 0.009 seconds, 8 queries executed - Memory usage: 552.34 KiB (Peak: 553.19 KiB) ]