Author Topic: Re:Patch 960-set status bar widths  (Read 3564 times)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2773
Re:Patch 960-set status bar widths
« on: March 29, 2006, 09:34:49 pm »
@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