News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Re:Patch 960-set status bar widths

Started by Pecan, March 29, 2006, 09:34:49 PM

Previous topic - Next topic

Pecan

@thomas

I dont know about others, but the last letter of
"Overwrite" and "Modified" are getting truncated
by the status separation bars on Linux Ubuntu 510.

In the second version of the patch, I added another
character at the end of these strings because of
this problem.

Maybe its just my old laptop screen, but  aren't
you also getting truncated?

Here's a third patch if helps....
Index: src/src/main.cpp
===================================================================
--- src/src/main.cpp   (revision 2274)
+++ src/src/main.cpp   (working copy)
@@ -1203,8 +1203,8 @@
     width[0] = -1;
     dc.GetTextExtent(_(" WINDOWS-1252 "), &width[1], &h);
     dc.GetTextExtent(_(" Line 12345, Column 123 "), &width[2], &h);
-    dc.GetTextExtent(_(" Overwrite"),  &width[3], &h);
-    dc.GetTextExtent(_(" Modified"),   &width[4], &h);
+    dc.GetTextExtent(_(" Overwrite_"),  &width[3], &h);
+    dc.GetTextExtent(_(" Modified_"),   &width[4], &h);
     dc.GetTextExtent(_(" Read/Write....."), &width[5], &h);

     SetStatusWidths(num, width);

thanks
pecan