Xfce Forum

Sub domains
 

You are not logged in.

#1 2010-05-23 20:40:28

punx69
Member
Registered: 2009-02-14
Posts: 15
Website

Set a minimum menuentry height?

Hi,

is there an gtkoption to have a minimum menuentry height, i hate that menuentrys have different sizes?

aaace.png


i know my english is poor...

Offline

#2 2010-05-24 01:02:51

gnome_refugee
Member
Registered: 2010-01-15
Posts: 169

Re: Set a minimum menuentry height?

That's interesting. It looks like your menu item height is set by the size of the icon next to the text, so to make all entries the same height, you could make the icons smaller or the text bigger. But I don't know how! On my desktop menu the icons are smaller, and all entries are the same height.

Offline

#3 2010-05-24 05:07:19

vrkalak
Member
From: Santa Fe, NM, USA
Registered: 2010-03-05
Posts: 63

Re: Set a minimum menuentry height?

I 'turned off' the icons in my Xfce menu.

So, I don't have this problem and my right-click Menu responds much quicker.

No body really pays any attention to the icons in the menu anyway ... do we?

Offline

#4 2010-05-24 12:45:26

etnlWings
Member
Registered: 2007-10-30
Posts: 218

Re: Set a minimum menuentry height?

This can be caused by one of two things.

The first, is a fixed-size icon theme. Editing your icon theme's index.theme file so all the Type= lines read Type=scalable, will mean the icons will fit the Gtk+ theme.

The other option is to add the following to your ~/.gtkrc-2.0 file:

style "theme-menuitem"
{
ythickness=2 #more as needed
}

class "GtkMenuItem" style "theme-menuitem"
widget_class "*MenuItem*" style "theme-menuitem"

Offline

#5 2010-05-24 16:25:54

punx69
Member
Registered: 2009-02-14
Posts: 15
Website

Re: Set a minimum menuentry height?

etnlWings wrote:

The first, is a fixed-size icon theme. Editing your icon theme's index.theme file so all the Type= lines read Type=scalable, will mean the icons will fit the Gtk+ theme.

some menus have no icons, so i think it won't wonk


etnlWings wrote:

The other option is to add the following to your ~/.gtkrc-2.0 file:

i know, but this breaks GtkSeparatorMenuItem


i know my english is poor...

Offline

#6 2010-05-24 16:35:45

etnlWings
Member
Registered: 2007-10-30
Posts: 218

Re: Set a minimum menuentry height?

punx69 wrote:

some menus have no icons, so i think it won't wonk

The menus without icons are the proper size. The ones with icons are getting stretched out by the fixed-size icons. Make the icons scalable and they'll all shrink down to the base size.


i know, but this breaks GtkSeparatorMenuItem

Breaks them how?

Offline

#7 2010-05-24 16:55:06

punx69
Member
Registered: 2009-02-14
Posts: 15
Website

Re: Set a minimum menuentry height?

etnlWings wrote:

Breaks them how?

it makes seperators bigger

aaaaom.png


i know my english is poor...

Offline

#8 2010-05-24 17:07:25

etnlWings
Member
Registered: 2007-10-30
Posts: 218

Re: Set a minimum menuentry height?

What happens if you comment out one window match, then switch? The widget_class "*MenuItem*", one is probably a bit broad.

Offline

#9 2010-05-24 17:33:13

punx69
Member
Registered: 2009-02-14
Posts: 15
Website

Re: Set a minimum menuentry height?

ok, found a solution i had to set ythickness = 0 again for GtkSeparatorMenuItem


i know my english is poor...

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 544.7 KiB (Peak: 545.33 KiB) ]