[Libreoffice] [GSOC][PATCH] Multiline inputbar

Anurag Jain anuragjainfzd at gmail.com
Sun Jul 24 11:57:07 PDT 2011


Hello Kohei,

Please find the patch for resizing the ScInputWindow. I've tried doing
it the way you suggested; using proper typecasting I've moved the
bIsMultiLine to the ScInputWindow and able to access the status in
other classes too. Still this patch needs lots of improvement as the
transition is not smooth. On first click the textbox resizes outwards
which used to resize in hidden manner previously.  But when the
textbox is given focus in multiline mode,  the whole toolbar resizes
to the desired state. Similar is the case for reverse process. As of
now I do not know why is it becoming a two state process. Please
review this patch and please

1: Make me figure out where the mistake might be. I guess there are
some more functions in ScInputWindow I'd need to touch into and also
some methods from Window.hxx.
2: Check the order in which various resize are getting called. I guess
there are various do's and undo's happening under the hood.
3: Still I'm not able to figure out what Invalidate() is for and when
it should be used and when not.

Thanks and regards.
-- 
Anurag Jain
Final yr B.Tech CSE
SASTRA University
Thanjavur(T.N.)-613402
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Made-the-tool-bar-to-resize.-But-still-the-transitio.patch
Type: text/x-patch
Size: 6782 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110725/de453be2/attachment.bin>


More information about the LibreOffice mailing list