[Solved] Window size

Creating and using forms

[Solved] Window size

Postby banjoman » Thu Sep 18, 2008 2:11 pm

:?:

is there a way of setting the window size of a form - I have a database which is my address/contacts 'book', when I view the form the window is always a little to short (height-wise) and covers the bottom couple of fields, it is not a big deal resizing the window, but would be more 'elegant' if the window opened the right size!!
Last edited by banjoman on Fri Sep 19, 2008 12:04 am, edited 1 time in total.
OOo 2.3.X on Mandriva + windows xp
banjoman
 
Posts: 9
Joined: Wed Jul 30, 2008 12:08 am

Re: Window size

Postby acknak » Thu Sep 18, 2008 4:32 pm

On Linux at least, OOo remembers the window size that was last used. But that is an application setting, not a document setting. There's no way to specify a window size for a specific document, however each OOo document stores it's last view parameters: zoom and position.

Under X (Linux/Unix), the window size is set through the window manager. In the old days, you could specify a default window size for a specific type of window using X resources. I'm not sure whether newer WMs still support that, but they may have some other way to configure it.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Window size

Postby banjoman » Thu Sep 18, 2008 6:07 pm

:?

well my form window always opens in same position and size (a little too short!!) even though I resize it and perhaps move it to a different position on screen!!
OOo 2.3.X on Mandriva + windows xp
banjoman
 
Posts: 9
Joined: Wed Jul 30, 2008 12:08 am

Re: Window size

Postby acknak » Thu Sep 18, 2008 8:50 pm

Do you see the same for regular text documents?
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Window size

Postby Villeroy » Thu Sep 18, 2008 9:25 pm

Open the form in edit mode (right-click>Edit), resize, save form, close form, save database, open form.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04, OpenOffice 4.x & LibreOffice 6.x
User avatar
Villeroy
Volunteer
 
Posts: 26399
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Window size [SOLVED]

Postby banjoman » Fri Sep 19, 2008 12:04 am

:D

1) Writer does remember window position and size after a close then open

2) thanks for edit process, that worked with the addition of a couple of stages

Open the form in edit mode (right-click>Edit), resize, save form, close form, save database, close database, open database, open form

Thanks for help and advice - I'm happy with my address/contact 'book' now!!
OOo 2.3.X on Mandriva + windows xp
banjoman
 
Posts: 9
Joined: Wed Jul 30, 2008 12:08 am

Re: Window size [SOLVED]

Postby acknak » Fri Sep 19, 2008 12:44 am

Nice to know; thanks for the follow up!

Just so I'm sure I understand: this procedure saves the size of the form window specifically, or is it Writer's window size that's saved? If you open a new Writer window, resize that and save the document, then exit OOo and restart, will the form still open with the size you set for it, or will it use the new window size?
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: [Solved] Window size

Postby Villeroy » Fri Sep 19, 2008 1:17 pm

@banjoman,
No, I don't have to reload the database. Could be due to my version beeing newer than yours.
@acknak,
Seemingly the size and position is restored from the form's view-settings in archive-file/forms/Obj11/settings.xml.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04, OpenOffice 4.x & LibreOffice 6.x
User avatar
Villeroy
Volunteer
 
Posts: 26399
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: [Solved] Window size

Postby acknak » Fri Sep 19, 2008 2:54 pm

NIce to know--thanks!
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: [Solved] Window size

Postby olive » Sun Jan 17, 2010 12:41 pm

Open OOo and reposition, resize that launcher-window before invoking a program. That's it!
OOo 3.1.1 OSX 10.6
olive
 
Posts: 1
Joined: Sun Jan 17, 2010 12:37 pm

Re: [Solved] Window size

Postby arfgh » Tue Oct 10, 2017 4:59 pm

guys, is there a way to detect the window frame resolution change ? in forms.
I have seen that dont exist events for that, maximize, resize, etc
OpenOffice last version - Windows 8.1 Enterprise x64 - Windows XP x64 SP2
arfgh
 
Posts: 430
Joined: Tue Mar 05, 2013 6:44 pm


Return to Forms

Who is online

Users browsing this forum: No registered users and 1 guest