https://bugs.kde.org/show_bug.cgi?id=326844

--- Comment #9 from Saheb Preet Singh <saheb.pr...@gmail.com> ---
hi,

 I am able to resize the window now. I did some further work and stuck in a
problem.

First of all i created a new action in part.cpp and part.rc for fit window
option in view menu and connected it to a slot in the same file. From this slot
a signal is emitted which is declared in part.h and catched in shell.cpp. The
signal contain the size of the page using m_document. now i used this-> resize
function to resize the window and the window is resized.

Now there are two problems:-
1. Is the feature required in the maximized mode as it is not possible to
resize window in maximized mode.

2. The window is not resizing exactly to the page the problem occurs because
the size i provided is of the page and the window also contains thumbnails,
menubars etc. Now how to resize the page area so that window is resized to the
page???

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel

Reply via email to