Hello.
I'm starting with an empty NavBar and I populate it dynamically. Populate the NavBar the first time, all panel navigation cells at the bottom are shown correctly but when I remove all panels at runtime and repopulate the NavBar again, then the first element is shown squeezed.
This is how I clear the NavBar at leaving the form, in order to avoid to have all panel navigation cells twice.
var
Pan, I : Integer;
begin
Pan := nbNewsstand.PanelCount;
nbNewsstand.BeginUpdate;
for I := Pan-1 downto 0 do
nbNewsstand.RemovePanel(nbNewsstand.Panels[I]);
nbNewsstand.EndUpdate;
end;
Thanks for any help