Code: Pascal [Select] TPanel.BorderWidth: = 10; TPanel.Height := 50; TSpeedButton.Align := Alright; TSpeedButton.Width := TSpeedButton.Height;
?? That code does not even compile, using type names (TPanel) instead of instance names (Panel1 or whatever).
Executed as expected - SpeedButton is located over the entire height of the Panel, taking into account, of course, Panel.BorderWidth.
should not TSpeedButton.Height be changed to 30 by new align?