From d3ebcb4666261d09f841366eb593db57aa6ae750 Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 30 Jun 2024 11:05:25 +1200 Subject: [PATCH] gui: fix popup position for redis connection dialog --- redisConnectionDialog.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redisConnectionDialog.go b/redisConnectionDialog.go index 3a9a6da..c9da828 100644 --- a/redisConnectionDialog.go +++ b/redisConnectionDialog.go @@ -26,9 +26,9 @@ type TRedisConnectionDialog struct { func (f *TRedisConnectionDialog) OnFormCreate(sender vcl.IObject) { f.SetCaption("Connect to Redis...") - f.ScreenCenter() f.SetWidth(320) f.SetHeight(160) + f.SetPosition(types.PoOwnerFormCenter) // row 1