Repository navigation
Replies: 1 comment 5 replies
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




Uh oh!
There was an error while loading. Please reload this page.
Setup:
Linux - Debian Pixie with KDE desktop and Wayland
FPC: 3.2.2 installed using fpcupdeluxe
FPGui: 2.1.0 - compiled with unix
also tried with FPGui Development
Using MigLayout, the checkbox does not get right-aligned in its column. Not sure if I'm doing something wrong with the layout or checkbox (or maybe its wider than I think). I cut down the code to give a basic example:
WindowTitle := 'Test UI';
Width := 800;
Height := 400;
mig := TfpgMigLayoutManager.Create;
LayoutManager := mig;
lPath := TfpgLabel.Create(Self);
lPath.Text := '';
mig.AddLayoutComponent(lPath, TfpgMigCC.Create.SpanX(3));
bPath := TfpgButton.Create(Self);
bPath.Text := 'Start Directory';
mig.AddLayoutComponent(bPath, TfpgMigCC.Create.GrowX.AlignX('right').Wrap);
lMessage := TfpgLabel.Create(Self);
lMessage.Text := 'Not Scanned';
lMessage.TextColor := clBlue;
mig.AddLayoutComponent(lMessage, TfpgMigCC.Create.SpanX(3));
cbxStop := TfpgCheckBox.Create(Self);
cbxStop.Text := 'Allow Stop';
cbxStop.Checked := true;
mig.AddLayoutComponent(cbxStop, TfpgMigCC.Create.AlignX('right').Wrap);
All reactions