View Single Post
  #1  
Old 28-04-2020, 08:24
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,405 Times in 637 Posts
Masquerade is on a distinguished road
I was wondering if it's possible to change the button placement in compact mode? I'm having a little play around with the layout and I can move everything so far except from the install, pause and cancel buttons. Is there something I'm missing?

Code:
  PauseButton := TNewButton.Create(WizardForm);
  with PauseButton do
  begin
    Parent  := WizardForm;
    Left    := ScaleX(10);
    Top     := ScaleY(310);
    Width   := ScaleX(225);
    Height  := ScaleY(23);
    Caption := ExpandConstant('{cm:Pause}');
    OnClick := @PauseButtonClick;
  end;
Here's an example. According to the above config, the button should be larger and on the left instead of the right, however ther button still appears in the top right.

I extended the installer slightly to 500 (Y) value, so that's why the button can go lower than the normal compact mode window.

Is there some kind of lock on the button / or can buttons not be resized or moved?
Reply With Quote
Sponsored Links