diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-10-03 20:22:29 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-10-03 20:22:29 +1100 |
commit | ff006c440b90f1fdcfc47f8d809e07fbe54951ac (patch) | |
tree | 8caedef72cc2fadef1b99ba684fccfa26b3684cb /src/adapad.adb | |
parent | 678d77f43136347199e7d4bfddaca4e634e02dc3 (diff) |
Find/Replace window appearance added
Diffstat (limited to 'src/adapad.adb')
-rw-r--r-- | src/adapad.adb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/adapad.adb b/src/adapad.adb index 03ace13..7ba743e 100644 --- a/src/adapad.adb +++ b/src/adapad.adb @@ -37,9 +37,9 @@ function Adapad return Integer is Editor : Editor_Window := Create (800, 500); Buffer : Text_Buffer := Create; - About : About_Window := Create (350, 250); - Find : Find_Window := Create (200, 100); - Replace : Replace_Window := Create (200, 100); + About : About_Window := Create; + Find : Find_Window := Create; + Replace : Replace_Window := Create; Changed : Boolean := False; Filename : Unbounded_String := To_Unbounded_String (0); @@ -216,7 +216,6 @@ function Adapad return Integer is Item : in out Widget'Class) is begin Centre (Find); - Find.Reset; Find.Show; end Call; @@ -231,7 +230,6 @@ function Adapad return Integer is Item : in out Widget'Class) is begin Centre (Replace); - Replace.Reset; Replace.Show; end Call; |