From a6f1c692187db71e2e582a1bbcd409224c510c0a Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Fri, 19 May 2017 21:51:57 +0000 Subject: [PATCH] tvplanit: Update PrintPreviewForm to scale correctly in the HighDpi mode of Lazarus 1.8. Fix typo in German translation. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5878 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/tvplanit/languages/vpsr.de.po | 5 ++--- components/tvplanit/source/vpprtprvdlg.lfm | 22 +++++++++++++--------- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/components/tvplanit/languages/vpsr.de.po b/components/tvplanit/languages/vpsr.de.po index 3ac57b10d..891f6c7be 100644 --- a/components/tvplanit/languages/vpsr.de.po +++ b/components/tvplanit/languages/vpsr.de.po @@ -9,7 +9,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" "Language: de\n" -"X-Generator: Poedit 1.8.9\n" +"X-Generator: Poedit 1.8.11\n" #: vpsr.rs1day msgid "1 day" @@ -965,7 +965,7 @@ msgstr "Abbrechen" #: vpsr.rsprintprvcancelhint msgid "Cancel preview" -msgstr "Durckvorschau abbrechen" +msgstr "Druckvorschau abbrechen" #: vpsr.rsprintprvfirstpage msgid "&First page" @@ -1613,4 +1613,3 @@ msgstr "Unbekannte Achsen-Spezifikation: %s" #: vpsr.sxmldecnotatbeg msgid "The XML declaration must appear before the first element" msgstr "Die XML-Deklaration muss vor dem ersten Element erscheinen." - diff --git a/components/tvplanit/source/vpprtprvdlg.lfm b/components/tvplanit/source/vpprtprvdlg.lfm index e59002cac..715308c5d 100644 --- a/components/tvplanit/source/vpprtprvdlg.lfm +++ b/components/tvplanit/source/vpprtprvdlg.lfm @@ -14,7 +14,7 @@ object frmPrintPreview: TfrmPrintPreview OnCreate = FormCreate OnKeyDown = FormKeyDown OnShow = FormShow - LCLVersion = '1.7' + LCLVersion = '1.9.0.0' object Panel1: TPanel Left = 0 Height = 58 @@ -45,53 +45,57 @@ object frmPrintPreview: TfrmPrintPreview Left = 1 Top = 0 Action = actPrint + AutoSize = True end object ToolButton3: TToolButton Left = 52 Height = 25 Top = 0 - Width = 8 Caption = 'ToolButton3' ImageIndex = 2 Style = tbsDivider end object btnFirstPage: TToolButton - Left = 60 + Left = 57 Top = 0 Action = actFirstPage + AutoSize = True ShowCaption = False end object btnPrevPage: TToolButton - Left = 85 + Left = 82 Top = 0 Action = actPrevPage + AutoSize = True ShowCaption = False end object btnNextPage: TToolButton - Left = 110 + Left = 107 Top = 0 Action = actNextPage + AutoSize = True ShowCaption = False end object btnLastPage: TToolButton - Left = 135 + Left = 132 Top = 0 Action = actLastPage + AutoSize = True ShowCaption = False end object ToolButton8: TToolButton - Left = 160 + Left = 157 Height = 25 Top = 0 - Width = 8 Caption = 'ToolButton8' ImageIndex = 6 Style = tbsDivider end object btnCancel: TToolButton - Left = 168 + Left = 162 Top = 0 Action = actCancel + AutoSize = True end end object Panel2: TPanel