Button bar as menu is ignoring icon sizes

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
ado
Senior Member
Senior Member
Posts: 445
Joined: 2003-02-18, 13:22 UTC
Location: Slovakia, Pezinok

Button bar as menu is ignoring icon sizes

Post by *ado »

no sure if this is bug or intention. I added into one button bar another and I want to display it as menu. It works nice. The problem is that, since it is possible to specify the size of icons for the button bar, I would expect TC will respect it also for that bar displayed as menu, but apparently it does not.
..so bug or feature? ;-)

ado
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

IT DOES !

Post by *Clo »

2ado

:) Hello !

• Here, I stated 24² icons for the bars, and I get also 24² in the menu of a bar…

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

2ado
Maybe you have set PopupIconSize, it has high priority than the size of icons for the button bar
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

"Small Icons" checked with a size 16 setted could also limit resulting size.
User avatar
ado
Senior Member
Senior Member
Posts: 445
Joined: 2003-02-18, 13:22 UTC
Location: Slovakia, Pezinok

Re: IT DOES !

Post by *ado »

Clo wrote:2ado

:) Hello !

• Here, I stated 24² icons for the bars, and I get also 24² in the menu of a bar…

:mrgreen: KR
Claude
Clo
Clo,
maybe I didn't wrote clear - I want to have regular button bar with let's say 24, but "nested" button bar displayed as menu with icons 16x16 or 12x12... you can specify that size in each button bar; but as I see in .bar file that size is shared in all button bars.
So now i see it is not bug, it is feature ;-)
There is TCMenu "plug-in" that i am using now and it has an option to display "regular" or "small" icons. That's want I wanted...

ado
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

2ado

To use different icon size for button dropdown menu add PopupIconSize=desired_size under Buttonbar section in your Wincmd.ini

Code: Select all

[Buttonbar]
PopupIconSize=16
User avatar
ado
Senior Member
Senior Member
Posts: 445
Joined: 2003-02-18, 13:22 UTC
Location: Slovakia, Pezinok

Post by *ado »

nice. It is just one size for all popups, but I like it. Originally I though I have to add it into my popup menu .bar file - what would be exactly what I wanted :idea:

thank you

ado
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Why…

Post by *Clo »

2ado

:) Hello !

Help and Tuto wrote :
PopupIconSize=Value
Size of icons in dropdown menu when showing a .bar file as a menu.
Default: Same as icon size in the currently shown button bar.
;)

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

ado wrote:Originally I though I have to add it into my popup menu .bar file - what would be exactly what I wanted :idea:
Actually while some TC 7.50 private beta versions, PopupIconSize was written in .bar file but a tester reported that if the .bar file edited via TC 7 or older version, PopupIconSize will lost, so for compatibility with TC 7 and older this setting moved to Wincmd.ini file.
User avatar
ado
Senior Member
Senior Member
Posts: 445
Joined: 2003-02-18, 13:22 UTC
Location: Slovakia, Pezinok

Post by *ado »

Do I understand correctly? Nice new feature killed only because someone may decide to go to previous version? Or actually use older and 7.5 in the same time using the same .ini file?
It does not sounds right for me :-|

ado
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2ado
You're right and it's so called "backward compatibility" ;)
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

fenix_productions,
Actually, "forward compatibility". ;)
I wonder if one couldn't have values both in the ini and the bar files, what would happen in old TC versions.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ado
Senior Member
Senior Member
Posts: 445
Joined: 2003-02-18, 13:22 UTC
Location: Slovakia, Pezinok

Post by *ado »

yep - it is "forward compatibility" and not backward. It is useful only when you decide go back and forth between old and new version. If you stick to one, everything is fine, if you simply upgrade everything is fine too. Only problem is that you would loose one setting when you are going back to previous version.
I'd say Christian should "undo" he fix ;-)

ado
User avatar
theosdikaios
Senior Member
Senior Member
Posts: 228
Joined: 2006-02-04, 13:02 UTC

Post by *theosdikaios »

I'd say Christian should "undo" he fix
Full ACK. The problem is important only if somebody uses two versions at the same time (or uses in sequence new - old - new). If somebody change from new to old version only all is fine because the old version has no need for this option.
"Since there are many things which have never happened and never will happen,
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3378
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

ts4242 wrote:2ado

To use different icon size for button dropdown menu add PopupIconSize=desired_size under Buttonbar section in your Wincmd.ini

Code: Select all

[Buttonbar]
PopupIconSize=16

Thanks - I for one was expecting to find such Parameter in the Bar-File.

PS: Am I the only one missing a section in the help file under 4. b) with telling all .bar-Parameters?
Hoecker sie sind raus!
Post Reply