Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-04-29 06:28:28

k-3.14
Member
From: Rhineland
Registered: 2017-02-18
Posts: 151

Xfce setting manager - cropped text

Debain Bullseye.

This is, how the setting manager looks in language setting EN

[url=https://imgur.com/N4yi7sA.png]
  N4yi7sA.png
[/url]

and this in setting DE

[url=https://imgur.com/oYJ6Y61.png]
  oYJ6Y61.png
[/url]

Nearly half of the text is somehow cropped.

Is there a way to change the icon spacing or the text itself?

It just looks a mess .....

br KH

Offline

#2 2022-04-29 08:16:44

KBar
Member
Registered: 2021-11-05
Posts: 372

Re: Xfce setting manager - cropped text

Unfortunately, you can't apply rules to individual icons and items in the list. You can decrease text size until everything fits in with this rule:

.exoiconview.view * {
	font-size: 10px;
}

You can also try adding this declaration:

-gtk-icon-transform: scale(0.5);

but that doesn't seem to be affecting text spacing at all, only scales the icons down.

You need to append these to your ~/.config/gtk-3.0/gtk.css file.


Xubuntu 20.04

Offline

#3 2022-04-29 08:32:37

KBar
Member
Registered: 2021-11-05
Posts: 372

Re: Xfce setting manager - cropped text

If you don't mind recompiling yourself, you can edit this line and set TEXT_WIDTH to whatever you see fit:
https://gitlab.xfce.org/xfce/xfce4-sett … alog.c#L45

#define TEXT_WIDTH (128)

Perhaps you can even modify it to ellipsize long words:
https://gitlab.xfce.org/xfce/xfce4-sett … og.c#L1153

                  "wrap-mode", PANGO_ELLIPSIZE_END,

I don't know if this'll work, but worth a shot.

Last edited by KBar (2022-04-29 08:33:02)


Xubuntu 20.04

Offline

#4 2022-04-30 06:02:19

k-3.14
Member
From: Rhineland
Registered: 2017-02-18
Posts: 151

Re: Xfce setting manager - cropped text

@KBar. Thank you for having a look.

I think, the Debian developers handled the transformation to DE a bit sloppy here.

Have to admit, recompiling is out of scope for me, but anyway ....

br KH

Offline

Board footer

Powered by FluxBB