didu
(didu)
February 12, 2007, 5:18am
1
Hi guys,
I’ve been writing some Blender GUI code (nothing fancy, just buttons and popups) and it seems that there is a hard limit on the width of the PupBlocks, I’ve tried to set buttons and strings with about 30-40 characters in a PupBlock, and only about 20 characters show up, and there doesn’t seem to be a way to make the PupBlock wider so that all the text in my buttons could show.
Would anyone know how to do this?
Thanks a lot!
-D
ideasman42
(ideasman42)
February 12, 2007, 9:08am
2
You cant do it. its possible to make it change but probably wont be added. you could add the longer text into the tooltip.
Note that 2.43 has the height of a pupBlock set to 8, after that the buttons wrap and become 2 or more columns.
didu
(didu)
February 12, 2007, 4:49pm
3
ideasman42:
You cant do it. its possible to make it change but probably wont be added. you could add the longer text into the tooltip.
Note that 2.43 has the height of a pupBlock set to 8, after that the buttons wrap and become 2 or more columns.
Oh ok, that’s sort of what I thought, so what’s the reason for not allowing people to change the dimensions of the PupBlocks?
The tool tips is an ok solution, but not ideal as you have to wait for it to appear.
It doesn’t matter, I’ve changed my code to use PupMenu which allows you to have pretty long lines.
Thanks a lot!
-D
ideasman42
(ideasman42)
February 12, 2007, 5:31pm
4
just a note that text was limited in 2.42, Id did a hack that allows longer text in 2.43 - for text only lines.
If you need descriptive text it can go there.