Re: [Libreoffice] minor problem with Insert - indexes and tables dialog

2011-12-27 Thread Ivan Timofeev

Hi Kaplan,

27.12.2011 03:04, Lior Kaplan пишет:

The in Insert - Indexes and Tables dialog, the word Preview (bottom
right corner in English interface) is trimmed. See screenshot (3.5.0
beta2). In RTL interface the same problem happens, and with a longer
translation more of the text is trimmed.


No problem for me, but I use the other font...


As this is a minor issue, I preferred to mention it here instead of
opening a bug... (but I will if needed). I guess the change is at
sw/source/ui/index/* but not sure where exactly (sorry, not a programmer).


Not a great programmer too, but lets look together... :)

SwMultiTOXTabDialog is derived from TabDialog. TabDialog uses the weird 
automatic arrangement code, see vcl/source/window/tabdlg.cxx, method 
TabDialog::ImplPosControls(). After executing this method all controls 
below a TabControl will have the same width! And this width is 
calculated as max width of text of control plus some constant 
IMPL_EXTRA_BUTTON_WIDTH. For buttons this works. For checkbox this fails.


So what to do?

1. dirty hack: increase IMPL_EXTRA_BUTTON_WIDTH :)
2. consider type of controls and use an appropriate method to determine 
the width.

3. smth else?

Regards,
Ivan
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] minor problem with Insert - indexes and tables dialog

2011-12-27 Thread Regina Henschel

Hi,

Lior Kaplan schrieb:

Hi,

The in Insert -  Indexes and Tables dialog, the word Preview (bottom
right corner in English interface) is trimmed. See screenshot (3.5.0
beta2). In RTL interface the same problem happens, and with a longer
translation more of the text is trimmed.


There is enough space here, on WinXP.

But uncheck preview and check again. The preview is not refreshed. When 
you uncheck and check some other check box, the preview is refreshed, 
but containes the drawing toolbar, which I have docked at the bottom in 
my Writer, and a personal toolbar which is docked at top. The error is 
in LO3.5 and not in LO3.4.


Please test this.

Kind regards
Regina
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] minor problem with Insert - indexes and tables dialog

2011-12-27 Thread Jan Holesovsky
Hi Lior,

Lior Kaplan píše v Út 27. 12. 2011 v 01:04 +0200:

 The in Insert - Indexes and Tables dialog, the word Preview (bottom
 right corner in English interface) is trimmed. See screenshot (3.5.0
 beta2). In RTL interface the same problem happens, and with a longer
 translation more of the text is trimmed.
 
 As this is a minor issue, I preferred to mention it here instead of
 opening a bug... (but I will if needed). I guess the change is at
 sw/source/ui/index/* but not sure where exactly (sorry, not a
 programmer).

I had a look, but unfortunately it is something deeper; I think it is
limited to the size of the push buttons that are visible there, and the
fix might involve something in sfx2.  Please do file a bug report.

The good news is that I fixed an unrelated text cut in my native
language  a visual annoyance there ;-)

http://cgit.freedesktop.org/libreoffice/core/commit/?id=3a38a8514ab33f9d8b174000ca635db949c16940

Regards,
Kendy

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] minor problem with Insert - indexes and tables dialog

2011-12-27 Thread Ivan Timofeev

Hi Jan,

27.12.2011 17:45, Jan Holesovsky пишет:

The good news is that I fixed an unrelated text cut in my native
language  a visual annoyance there ;-)

http://cgit.freedesktop.org/libreoffice/core/commit/?id=3a38a8514ab33f9d8b174000ca635db949c16940


Our *.src-based UI is a real disaster. This is a never-ending fight with 
Pos and Size...


Ivan
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice