pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: difficulty adjusting vertical and horizontal panel sizes in gtk3 programs



On 3/29/25 05:57, Ramiro Aceves wrote:

Try creating a file ~/.config/gtk-3.0/gtk.css with:

   separator {
       min-width: 6px;
       min-height: 6px;
   }

But some applications seem to use custom widgets and ignore this. For Thunderbird you need to create a file ~/.thunderbird/{your-profile}/ chrome/userChrome.css with:

   hr[is="pane-splitter"][resize-direction="horizontal"] {
       width: 6px !important;
       cursor: crosshair !important;
   }
   hr[is="pane-splitter"][resize-direction="vertical"] {
       height: 6px !important;
       cursor: crosshair !important;
   }


Hello PHO,

Thanks so much for the tips and suggestions. I have tried both and I have not seen any change in thunderbird behaviour. I think I have done it well following your advice.

Oh I forgot that Mozilla disabled userChrome.css by default. Try this:

- Open "Settings" in the "Edit" menu.
- Choose the "General" tab.
- Scroll the window to the bottom. There is a button "Config Editor". Click it. - Type "legacyUser" to the search field. A configuration item "toolkit.legacyUserProfileCustomizations.stylesheets" will show up. It's set to "false" by default, so change it to "true".

Now you can customize the UI with userChrome.css.


Home | Main Index | Thread Index | Old Index