dialog box ignores width setting
Submitted by Thursday, 21 May, 2009 - 03:55
on
I'm using 4.2final
When doing File|Open or File|Save As, the resultant dialog box is very narrow horizontally.
If I type "jEdit.getProperty("vfs.browser.dialog.width")" into the BeanShell, I get a value of 112 (on startup - as indicated in the properties file). If I manually resize the window (by dragging its edge), and check
on the window width, I'll get a value in the range of 600-700 (depending on how I resize it). I can also set the width by jEdit.setProperty("vfs.browser.dialog.width", "650"). If I check the width by jEdit.getProperty("vfs.browser.dialog.width"), the width is reported as I have set it.
If I then try and open (or save) another file, the dialog box opens as a narrow box, and the width reverts back to 112.
I can manually set the height by either dragging the window or using jEdit.setProperty and it is remembered.
I can manually set the x position by using jEdit.setProperty and it is remembered. If I drag it, it isn't remembered.
If I try to set a y value, jEdit forgets it.
I have tried exiting jEdit and editing the properties files to change the vfs.browser.dialog.width to a larger number. If I edit it, and then check on the value (jEdit.getProperty) before opening any dialog boxes, the value is reported as I have set it. After I try to open a file, the dialog box opens up as narrow, and the dialog box width is now reported as 112.
Any ideas?
When doing File|Open or File|Save As, the resultant dialog box is very narrow horizontally.
If I type "jEdit.getProperty("vfs.browser.dialog.width")" into the BeanShell, I get a value of 112 (on startup - as indicated in the properties file). If I manually resize the window (by dragging its edge), and check
on the window width, I'll get a value in the range of 600-700 (depending on how I resize it). I can also set the width by jEdit.setProperty("vfs.browser.dialog.width", "650"). If I check the width by jEdit.getProperty("vfs.browser.dialog.width"), the width is reported as I have set it.
If I then try and open (or save) another file, the dialog box opens as a narrow box, and the width reverts back to 112.
I can manually set the height by either dragging the window or using jEdit.setProperty and it is remembered.
I can manually set the x position by using jEdit.setProperty and it is remembered. If I drag it, it isn't remembered.
If I try to set a y value, jEdit forgets it.
I have tried exiting jEdit and editing the properties files to change the vfs.browser.dialog.width to a larger number. If I edit it, and then check on the value (jEdit.getProperty) before opening any dialog boxes, the value is reported as I have set it. After I try to open a file, the dialog box opens up as narrow, and the dialog box width is now reported as 112.
Any ideas?