[Solved] Window size

Creating and using forms
Post Reply
banjoman
Posts: 9
Joined: Wed Jul 30, 2008 12:08 am

[Solved] Window size

Post by banjoman »

:?:

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
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Window size

Post by acknak »

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
banjoman
Posts: 9
Joined: Wed Jul 30, 2008 12:08 am

Re: Window size

Post by banjoman »

:?

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
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Window size

Post by acknak »

Do you see the same for regular text documents?
AOO4/LO5 • Linux • Fedora 23
User avatar
Villeroy
Volunteer
Posts: 31269
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Window size

Post by Villeroy »

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 with LibreOffice 6.0, latest OpenOffice and LibreOffice
banjoman
Posts: 9
Joined: Wed Jul 30, 2008 12:08 am

Re: Window size [SOLVED]

Post by banjoman »

: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
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Window size [SOLVED]

Post by acknak »

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
Villeroy
Volunteer
Posts: 31269
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: [Solved] Window size

Post by Villeroy »

@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 with LibreOffice 6.0, latest OpenOffice and LibreOffice
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: [Solved] Window size

Post by acknak »

NIce to know--thanks!
AOO4/LO5 • Linux • Fedora 23
olive
Posts: 1
Joined: Sun Jan 17, 2010 12:37 pm

Re: [Solved] Window size

Post by olive »

Open OOo and reposition, resize that launcher-window before invoking a program. That's it!
OOo 3.1.1 OSX 10.6
arfgh
Posts: 566
Joined: Tue Mar 05, 2013 6:44 pm

Re: [Solved] Window size

Post by arfgh »

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 | Mageia Linux x64 | Ubuntu Linux | Windows 8.1 Enterprise x64 | Java last version
Post Reply