Use the wx.wxST_NO_AUTORESIZE window style to not have it resize. See the comment for the style here: http://docs.wxwidgets.org/stable/wx_wxstatictext.html
Regards, John On Mon, Jun 22, 2009 at 5:16 PM, lostgallifreyan<lostgallifre...@gmail.com> wrote: > LABEL= > "LINE_01:\txx = x1;\n" > .."LINE_02:\tyy = y1*Cos(XTheta) + z1*Sin(XTheta);\n" > .."LINE_03:\tzz = z1*Cos(XTheta) - y1*Sin(XTheta);\n" > .."LINE_04:\ty1 = yy;\n" > .."LINE_05:\tx1 = xx*Cos(YTheta) - zz*Sin(YTheta);\n" > .."LINE_06:\tz1 = xx*Sin(YTheta) + zz*Cos(YTheta);\n" > .."LINE_07:\tzz = z1;\n" > .."LINE_08:\txx = x1*Cos(ZTheta) - y1*Sin(ZTheta);\n" > .."LINE_09:\tyy = x1*Sin(ZTheta) + y1*Cos(ZTheta);\n" > > STAT=wx.wxDialog(wx.NULL,-1,"Stuff",wx.wxPoint(-1,-1),wx.wxSize(800,800)) > XXXX=wx.wxPanel(STAT,-1) XXXX:SetSize(1200,1200) > TEXT=wx.wxStaticText(XXXX,-1,"",wx.wxPoint(-1,-1),wx.wxSize(900,900)) > TEXT:Wrap(1000) > TEXT:SetLabel(LABEL) STAT:Show() > > > > > I deliberately and explicitly set huge sizes to be sure that no wrap is > forced on the label text, but still it ALWAYS wraps lines and fails to show > text beyond the first few lines. Why? > > (Note that I have no intention of using such silly sizes as those for a small > modeless dialog, I'm just doing it to make the point that some hidden > nonsense is restricting what should not be restricted!) > > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > wxlua-users mailing list > wxlua-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wxlua-users > ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users