Description: in the IDE I set the firstIconCollapsed of the tree to the ID of an image (closed book)
--
set the firstIconCollapsed of group "TOCNavigation" card "Table of Contents" to 1060 # closed arrow
--
However, in the IDE the firstIconCollapsed appears as a triangle (triangle2.gif I think, not my open book)
In my standalone the firstIconCollapsed doesn't appear at all!
1. How do I actually set the firstIconCollapsed?
2. How can I get it to appear in my standalone?
Note: the firstIconExapanded works fine (in my case an open book)
also the secondIconCollapsed also works fine (a page icon)
It is only the first IconCollapsed that doesn't play ball.
(also submitted as an issue on tapirsoft)
firstIconCollapsed lost in standalone, unsettable in IDE
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: firstIconCollapsed lost in standalone, unsettable in IDE
Hi James,
if you use your own icon images, it is a good idea to set the images ID first, in order to avoid conflicts with image IDs that are already in use by other stacks, like the one you are seeing now. To do that, either use the inspector, or the message box.
set the ID of image "myImage" to 444001
That number is high enough to avoid conflicts with already existing images. In rTree then use the new ID to make it work.
Hope that helps,
Malte
if you use your own icon images, it is a good idea to set the images ID first, in order to avoid conflicts with image IDs that are already in use by other stacks, like the one you are seeing now. To do that, either use the inspector, or the message box.
set the ID of image "myImage" to 444001
That number is high enough to avoid conflicts with already existing images. In rTree then use the new ID to make it work.
Hope that helps,
Malte
-
- VIP Livecode Opensource Backer
- Posts: 474
- Joined: Thu Sep 04, 2008 6:23 am
- Location: Melbourne Australia
Re: firstIconCollapsed lost in standalone, unsettable in IDE
thanks for that.
took a while as it seems I was setting the icons in two places and was only modifying one.
all fixed now.
BTW What are the constraints in the icons.
Size wise, how big can they be?
took a while as it seems I was setting the icons in two places and was only modifying one.
all fixed now.
BTW What are the constraints in the icons.
Size wise, how big can they be?
Re: firstIconCollapsed lost in standalone, unsettable in IDE
Hi James,
And that is: The sky erm... RAM is the limit
Best
Klaus
since "icons" in LC are just the IDs of images, only the limits for images apply here.jameshale wrote:BTW What are the constraints in the icons.
Size wise, how big can they be?
And that is: The sky erm... RAM is the limit
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 474
- Joined: Thu Sep 04, 2008 6:23 am
- Location: Melbourne Australia
Re: firstIconCollapsed lost in standalone, unsettable in IDE
@klaus, yes for LC there are no limits as such.
But for rTree there are.
It appears the space available for any of the icons is determined by the textsize (more correctly the lineheight I guess) of a node.
there is a textsize node property which i have yet to get working but there also doesn't seem to be a single setting for the textsize/lineheight of the tree.
So my question remains, what are the limits for the icon sizes and in addition, how does one modify them for the whole tree?
But for rTree there are.
It appears the space available for any of the icons is determined by the textsize (more correctly the lineheight I guess) of a node.
there is a textsize node property which i have yet to get working but there also doesn't seem to be a single setting for the textsize/lineheight of the tree.
So my question remains, what are the limits for the icon sizes and in addition, how does one modify them for the whole tree?