If you want to do just the sides it would be as easy as stretching tiled backgrounds from one point to the other..
If you want the triangle to be filled I would recommend looking at either the canvas or the paster third party plugin, from the plugin section of this forum..
(If you would change the title of this topic to something more descriptive it might get you more response and help others find it in the future when they have similar questions)