Thanks, it works. Doesn't make sense entirely, though. If it does autoresize, it doesn't fit anyway. Even if it does, explicitly telling it not to wrap (or as in my latest case as quoted below, to wrap with a wide setting that won't alter the smaller text display) should override automatic behaviour. If it doesn't, there seems to be no point to the wxStaticText:Wrap() setting.
John Labenski <jlaben...@gmail.com> wrote: (22/06/2009 23:40) > >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 ------------------------------------------------------------------------------ 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