I am having a issue with the ToolBar.AutoSize not working under Gtk
1.x and 2.x (haven't tested the other widget sets).  All buttons
always have the default size, even if the Caption is more than 2
characters long.  Trying to find out why, I traced the code all the
way back to the TGtkWSToolBar class.  From the code below, I gather
that most of the functionality of ToolBars under Gtk 1.x and 2.x is
still missing?  Is this correct - though I ain't sure, because the
Project Roadmap says the TToolBar status is "Working".


  TGtkWSToolBar = class(TWSToolBar)
  private
  protected
  public
{$ifdef OldToolbar}
    class function  GetButtonCount(const AToolBar: TToolBar): integer; override;
    class procedure InsertToolButton(const AToolBar: TToolbar; const
AControl: TControl); override;
    class procedure DeleteToolButton(const AToolBar: TToolbar; const
AControl: TControl); override;
{$endif}
  end;


and

  TGtk2WSToolBar = class(TGtkWSToolBar)
  private
  protected
  public
  end;



Regards,
  - Graeme -


--
There's no place like 127.0.0.1

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to