discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Status of NSToolbar


From: Quentin Mathé
Subject: Re: Status of NSToolbar
Date: Mon, 26 Jul 2004 19:21:38 +0200

Le 26 juil. 04, à 18:28, Yen-Ju Chen a écrit :

Hi,

 I am just wondering how complete the NSToolbar is right now.

Right now, NSToolbar should support most of the toolbar features smoothly except toolbar items rearranging and customizing.

 I try to add a toolbar and toggle it,
 but it didn't work as expected.
 (The contentView become smaller and smaller,
but the area of toolbar never disappear even though the icon is gone).

I would like to see an example of that, but what I can said is that currently -contentView returns a view which includes the toolbar area when the toolbar is set; to obtain strictly the content view you need to call -contentViewWithoutToolbar. May be the problem is here… I plan to rewrite later this implementation in order to have a behavior which would be 100 % cocoa compatible.

 And I try to add a view into toolbar item by -setView:
 and it never shows up.

Probably your view height is higher than what is permitted by the toolbar height.

 If toolbar supposes to work fine,
 it may be the problem of my program.

You can take a look at ToolbarExample application which is located in /gnustep/usr-apps/examples/gui/ to see a working toolbar based application; I need to update this example, but the basic functionality should give you an idea and should work. You can send me a mail directly; with the possibility to take a look at your program I would be able to help you more easily.

Quentin.

--
Quentin Mathé
qmathe@club-internet.fr




reply via email to

[Prev in Thread] Current Thread [Next in Thread]