You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2023/01/27 00:18:31 UTC

[openoffice] branch trunk updated: Resized dialog, removed unused elements

This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/trunk by this push:
     new f4701358be Resized dialog, removed unused elements
f4701358be is described below

commit f4701358be627f6019b7ee44e13b6feb195401d2
Author: mseidel <ms...@apache.org>
AuthorDate: Fri Jan 27 01:18:09 2023 +0100

    Resized dialog, removed unused elements
---
 main/cui/source/dialogs/postdlg.hrc | 35 ++++++++++---------
 main/cui/source/dialogs/postdlg.src | 68 ++++++++++++++++++-------------------
 2 files changed, 51 insertions(+), 52 deletions(-)

diff --git a/main/cui/source/dialogs/postdlg.hrc b/main/cui/source/dialogs/postdlg.hrc
index aca752a6fa..6e2c00a852 100644
--- a/main/cui/source/dialogs/postdlg.hrc
+++ b/main/cui/source/dialogs/postdlg.hrc
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,41 +7,40 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
 
+
 #ifndef _SVX_POSTDLG_HRC
 #define _SVX_POSTDLG_HRC
 
 // defines ------------------------------------------------------------------
 
-#define	FT_LASTEDITLABEL	10
-#define	FT_LASTEDIT			11
-#define FT_EDIT                         12
-#define	ED_EDIT				13
-#define FL_POSTIT                       14
-#define	BTN_PREV			15
-#define	BTN_NEXT 			16
-#define	BTN_AUTHOR			17
-#define FT_AUTHOR           18
+#define FT_LASTEDITLABEL	10
+#define FT_LASTEDIT			11
+#define FT_EDIT				12
+#define ED_EDIT				13
+#define FL_POSTIT			14
+#define BTN_PREV			15
+#define BTN_NEXT			16
+#define BTN_AUTHOR			17
+#define FT_AUTHOR			18
 
 #define STR_NOTIZ_EDIT		20
 #define STR_NOTIZ_INSERT	21
 
-#define	BTN_POST_OK	   		30
-#define	BTN_POST_CANCEL		31
-#define	BTN_POST_HELP		32
-
+#define BTN_POST_OK			30
+#define BTN_POST_CANCEL		31
+#define BTN_POST_HELP		32
 
 #endif
-
diff --git a/main/cui/source/dialogs/postdlg.src b/main/cui/source/dialogs/postdlg.src
index 2fed679e73..9aa2e3c36f 100644
--- a/main/cui/source/dialogs/postdlg.src
+++ b/main/cui/source/dialogs/postdlg.src
@@ -33,20 +33,20 @@ ModalDialog RID_SVXDLG_POSTIT
 	HelpId = HID_POSTIT_DIALOG ;
 	OutputSize = TRUE ;
 	SvLook = TRUE ;
-	Size = MAP_APPFONT ( 198, 134 ) ;
-	Text [ en-US ] = "Note" ;
+	Size = MAP_APPFONT ( 228, 120 ) ;
+	Text [ en-US ] = "Comment" ;
 	Moveable = TRUE ;
 	FixedText FT_LASTEDITLABEL
 	{
 		Pos = MAP_APPFONT ( 12, 14 ) ;
 		Size = MAP_APPFONT ( 34, 8 ) ;
-		Text [ en-US ] = "Author" ;
+		Text [ en-US ] = "Author:" ;
 		Left = TRUE ;
 	};
 	FixedText FT_LASTEDIT
 	{
-		Pos = MAP_APPFONT ( 48, 14 ) ;
-		Size = MAP_APPFONT ( 83, 8 ) ;
+		Pos = MAP_APPFONT ( 45, 14 ) ;
+		Size = MAP_APPFONT ( 120, 8 ) ;
 		Left = TRUE ;
 	};
 	FixedText FT_EDIT
@@ -61,7 +61,7 @@ ModalDialog RID_SVXDLG_POSTIT
 		HelpID = "cui:MultiLineEdit:RID_SVXDLG_POSTIT:ED_EDIT" ;
 		Border = TRUE ;
 		Pos = MAP_APPFONT ( 12, 38 ) ;
-		Size = MAP_APPFONT ( 123, 72 ) ;
+		Size = MAP_APPFONT ( 153, 75 ) ;
 		Left = TRUE ;
 		VScroll = TRUE ;
 		HScroll = TRUE ;
@@ -70,61 +70,61 @@ ModalDialog RID_SVXDLG_POSTIT
 	FixedLine FL_POSTIT
 	{
 		Pos = MAP_APPFONT ( 6, 3 ) ;
-		Size = MAP_APPFONT ( 129, 8 ) ;
+		Size = MAP_APPFONT ( 159, 8 ) ;
 		Text [ en-US ] = "Contents" ;
 	};
 	OKButton BTN_POST_OK
 	{
-		Pos = MAP_APPFONT ( 141, 6 ) ;
+		Pos = MAP_APPFONT ( 171, 6 ) ;
 		Size = MAP_APPFONT ( 50, 15 ) ;
 		DefButton = TRUE ;
 	};
 	CancelButton BTN_POST_CANCEL
 	{
-		Pos = MAP_APPFONT ( 141, 23 ) ;
+		Pos = MAP_APPFONT ( 171, 23 ) ;
 		Size = MAP_APPFONT ( 50, 15 ) ;
 	};
 	HelpButton BTN_POST_HELP
 	{
-		Pos = MAP_APPFONT ( 141, 40 ) ;
+		Pos = MAP_APPFONT ( 171, 40 ) ;
 		Size = MAP_APPFONT ( 50, 15 ) ;
 	};
 	ImageButton BTN_PREV
 	{
 		HelpID = "cui:ImageButton:RID_SVXDLG_POSTIT:BTN_PREV" ;
-		Pos = MAP_APPFONT ( 141, 60 ) ;
+		Pos = MAP_APPFONT ( 171, 60 ) ;
 		Size = MAP_APPFONT ( 24, 14 ) ;
 		Symbol = IMAGEBUTTON_ARROW_LEFT ;
 	};
 	ImageButton BTN_NEXT
 	{
 		HelpID = "cui:ImageButton:RID_SVXDLG_POSTIT:BTN_NEXT" ;
-		Pos = MAP_APPFONT ( 167, 60 ) ;
+		Pos = MAP_APPFONT ( 197, 60 ) ;
 		Size = MAP_APPFONT ( 24, 14 ) ;
 		Symbol = IMAGEBUTTON_ARROW_RIGHT ;
 	};
-	FixedText FT_AUTHOR
-	{
-		Pos = MAP_APPFONT ( 12, 116 ) ;
-		Size = MAP_APPFONT ( 60, 8 ) ;
-		Text [ en-US ] = "~Insert" ;
-	};
-	PushButton BTN_AUTHOR
-	{
-		HelpID = "cui:PushButton:RID_SVXDLG_POSTIT:BTN_AUTHOR" ;
-		Pos = MAP_APPFONT ( 75, 114 ) ;
-		Size = MAP_APPFONT ( 60, 14 ) ;
-		Text [ en-US ] = "Author" ;
-	};
-	// local strings
-	String STR_NOTIZ_EDIT
-	{
-		Text [ en-US ] = "Edit Note" ;
-	};
-	String STR_NOTIZ_INSERT
-	{
-		Text [ en-US ] = "Insert note" ;
-	};
+//	FixedText FT_AUTHOR
+//	{
+//		Pos = MAP_APPFONT ( 12, 116 ) ;
+//		Size = MAP_APPFONT ( 60, 8 ) ;
+//		Text [ en-US ] = "~Insert" ;
+//	};
+//	PushButton BTN_AUTHOR
+//	{
+//		HelpID = "cui:PushButton:RID_SVXDLG_POSTIT:BTN_AUTHOR" ;
+//		Pos = MAP_APPFONT ( 75, 114 ) ;
+//		Size = MAP_APPFONT ( 60, 14 ) ;
+//		Text [ en-US ] = "Author" ;
+//	};
+//	// local strings
+//	String STR_NOTIZ_EDIT
+//	{
+//		Text [ en-US ] = "Edit Note" ;
+//	};
+//	String STR_NOTIZ_INSERT
+//	{
+//		Text [ en-US ] = "Insert note" ;
+//	};
 };
 
 // ********************************************************************** EOF