summaryrefslogtreecommitdiff
path: root/UFileTypeSettings.pas
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2025-01-04 20:41:26 +0100
committerTomas Bzatek <tbzatek@redhat.com>2025-11-27 21:42:57 +0100
commit90db8b6652f73ddc335922d3a7c593878d83c45e (patch)
tree6b3f8ed57d4dc3358c2965bf41f6e613b8b80bf0 /UFileTypeSettings.pas
parent63ff1bea9bb1e87a7e2643f680d04f2b9c00d072 (diff)
downloadtuxcmd-90db8b6652f73ddc335922d3a7c593878d83c45e.tar.xz
Basic ListView CSS styling
Diffstat (limited to 'UFileTypeSettings.pas')
-rw-r--r--UFileTypeSettings.pas10
1 files changed, 5 insertions, 5 deletions
diff --git a/UFileTypeSettings.pas b/UFileTypeSettings.pas
index f868715..de89fd1 100644
--- a/UFileTypeSettings.pas
+++ b/UFileTypeSettings.pas
@@ -97,7 +97,7 @@ var Column: TGTKTreeViewColumn;
l: TGTKLabel;
begin
FUseGnomeIconEntry := Assigned(gnome_icon_entry_new) and Assigned(gnome_icon_entry_get_filename) and Assigned(gnome_icon_entry_set_filename);
- SetDefaultSize(450, 620);
+ SetDefaultSize(470, 700);
Caption := LANGEditFileTypesCaption;
Buttons := [mbOK, mbCancel];
TitleEventBox := TGTKEventBox.Create(Self);
@@ -230,12 +230,12 @@ begin
DescriptionLabel.UseUnderline := True;
Grid := TGTKGrid.Create(Self);
Grid.RowHomogeneous := False;
- Grid.ColHomogeneous := False;
+ Grid.ColHomogeneous := True;
Grid.RowSpacing := 1;
Grid.AddControl(0, 0, 1, 1, DescriptionLabel);
- Grid.AddControl(1, 0, 3, 1, DescriptionEntry);
+ Grid.AddControl(1, 0, 4, 1, DescriptionEntry);
Grid.AddControl(0, 1, 1, 1, CommandLabel);
- Grid.AddControl(1, 1, 3, 1, CommandEntry);
+ Grid.AddControl(1, 1, 4, 1, CommandEntry);
ActionsHBox2.Homogeneous := False;
ActionsHBox2.AddControlEx(AutodetectCheckBox, True, True, 5);
ActionsHBox2.AddControlEx(RunInTerminalCheckBox, True, True, 5);
@@ -431,7 +431,7 @@ begin
Item.ActionList.Add(Action)
end;
end;
- IntAssocList.Add(Item);
+ IntAssocList.Add(Item);
end;
end;