OSDN Git Service

Fix: set wrap mode WRAP_CHAR, fix commit 9e3ca95a34bc5f46ad342d19adbefbce76d2e9ec
authorAiwota Programmer <aiwotaprog@tetteke.tk>
Wed, 12 Dec 2007 13:35:31 +0000 (22:35 +0900)
committerAiwota Programmer <aiwotaprog@tetteke.tk>
Wed, 12 Dec 2007 13:35:31 +0000 (22:35 +0900)
src/FukuiNoNamari/thread_window.py

index cd5caed..c24cb58 100644 (file)
@@ -110,6 +110,7 @@ class HTMLParserToThreadView:
 
     def to_thread_view(self, marginleft):
         layout = self.threadview.create_pango_layout(self.buf)
 
     def to_thread_view(self, marginleft):
         layout = self.threadview.create_pango_layout(self.buf)
+        layout.set_wrap(pango.WRAP_CHAR)
         layout.posY = 0
         layout.resnum = self.resnum
         layout.marginleft = marginleft
         layout.posY = 0
         layout.resnum = self.resnum
         layout.marginleft = marginleft