Issue1038

Title Resizable windows
Priority wish Status chatting
Project CC OOo Addin Milestone
Superseder Nosy List ishanthilina
Assigned To Keywords

Created on 2012-04-13.07:15:02 by ishanthilina, last changed 2012-04-13.07:22:43 by ishanthilina.

Messages
msg3948 (view) Author: ishanthilina Date: 2012-04-13.07:22:43
Unfortunately due to some weird reason I cannot attach the file. So I'll put a 
link to see the screenshot.

http://ishans.info/ccoo/scr.png

Sorry for the inconvenience caused.
msg3947 (view) Author: ishanthilina Date: 2012-04-13.07:15:01
As the attachment shows, lower parts of the windows are not visible at lower 
resolutions (mine is 1366x768). So it will be convenient for the user if the 
windows can be resized. As I can see, there are two approaches to solve this 
problem.

Approach 1-

While keeping the existing com.sun.star.awt.UnoControlDialogModel, the existing 
code could be modified to add the SIZABLE capability from the 
com.sun.star.awt.WindowAttribute. I tried to do this as a quick hack, but was 
not able complete it due to the limited time I have in these days.

Approach 2-

By using com.sun.star.frame.Frame instead of 
com.sun.star.awt.UnoControlDialogModel we can achieve the functionality. This 
requires some work since most of the code have to re-written.



Whatever the approach taken to resize the windows,there should be ways to handle 
the resizing effect on the other controls inside the window(such as buttons). 
The only way I can see at the moment to tackle this issue is to listen to the 
window resize event and resize the other components accordingly. But this may be 
very troublesome to implement.
History
Date User Action Args
2012-04-13 07:22:43ishanthilinasetstatus: unread -> chatting
messages: + msg3948
2012-04-13 07:15:03ishanthilinacreate