On Thursday 16 August 2001 16:02, John Levon wrote:
> > - "Language:" is not aligned correctly in the character dialog
>
> this might be a WONTFIX, let me try again.
This is probably my fault. What works on my screen need not work on yours.
The real thing to do is ascertain how wide the label actually is and then
position it so that the right hand edge is 5 pixels or so away from the left
hand edge of the combox.
Either move
int string_width(string const & str)
from Menubar_pimpl.C to xforms_helpers.[Ch] so that you can make use of it
and then do as you have done here,
Or add a method to the combox to define the label. This would be cleanest I
think.
> Angus, I think this is because you have made bm_ptr to be
shared_ptr-managed.
> This should be reverted to a normal pointer yes ?
To a scoped_ptr I think.