Hi everybody. When creating z textEdit instance, the richtext property contains something like that:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" " http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> After that, each time you create a paragraph or somenthing that, that default styles are included (like the -qt-block-Indent:0px by excample) but I want change that "by default", in other words, if I change Indent: 30px, for example, I want that value to be maintained in <p> tag until I change again... It's posible get access to that default style chain and manipulate it? Thanks in advance Regards ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
