vugie Posted September 16, 2009 Report Share Posted September 16, 2009 (edited) I'm facing similar problem as in this topic. I have a compact cluster of few controls and I would like to get listbox-like behavior with it. The natural way to do it is array of clusters. But even with transparent color the cluster frame still has its 4 px thickness, which makes 8 px gap between elements in array. I can't afford this as my cluster without a frame has 10 px height. Did anyone found any new way to overcome it? I have 8.2 - maybe in newer versions anything has changed at this field? What could be an alternative way to get listbox-like behavior without element gaps? I want to get sth like this (without these gaps): (it is just a sketch - I know that I can remove frame from individual controls, clip them a little, etc. - but still 8 px gap cannot be removed) Edited September 16, 2009 by vugie Quote Link to comment
MikaelH Posted September 16, 2009 Report Share Posted September 16, 2009 I'm sorry to say that you have to go for the Picture Control. It's lot of work but quite fun :-) Cheers, Mikael Quote Link to comment
Mellroth Posted September 16, 2009 Report Share Posted September 16, 2009 Did anyone found any new way to overcome it? I have 8.2 - maybe in newer versions anything has changed at this field? What could be an alternative way to get listbox-like behavior without element gaps? I want to get sth like this (without these gaps): (it is just a sketch - I know that I can remove frame from individual controls, clip them a little, etc. - but still 8 px gap cannot be removed) This has been asked for before and thanks to Aristos Queue we have a solution (only on LAVA ). http://lavag.org/top...dpost__p__28056 /J 1 Quote Link to comment
vugie Posted September 16, 2009 Author Report Share Posted September 16, 2009 (edited) This has been asked for before and thanks to Aristos Queue we have a solution (only on LAVA ). http://lavag.org/top...dpost__p__28056 /J Thanks! It's really cool. Of course LAVA lost the attachment, but I found it posted at OpenG forums: http://forums.openg.org/index.php?showtopic=594&mode=linearplus And here is how the control looks like now: Edited September 16, 2009 by vugie Quote Link to comment
jgcode Posted September 16, 2009 Report Share Posted September 16, 2009 Thanks! It's really cool. Of course LAVA lost the attachment, but I found it posted at OpenG forums: http://forums.openg.org/index.php?showtopic=594&mode=linearplus And here is how the control looks like now: Can someone please post the hack, the old LAVA links seem dead and I am having trouble (?) getting it from openG. Cheers Quote Link to comment
Francois Normandin Posted September 17, 2009 Report Share Posted September 17, 2009 You've got to be logged in to download it. Borderless Cluster.ctl 1 Quote Link to comment
jgcode Posted September 17, 2009 Report Share Posted September 17, 2009 You've got to be logged in to download it. Borderless Cluster.ctl Am logged in!! But still not working. I think there was a problem with my account activation?? Thanks heaps Quote Link to comment
tnt Posted September 17, 2009 Report Share Posted September 17, 2009 (edited) Borderless Cluster.ctl This is the cluster with the 1px-border, in post http://lavag.org/top...dpost__p__28056 AQ mentioned posting a real borderless (0px-border) version. I have not found this borderless cluster..., can someone also repost this ctl? THX, TNT Edited September 17, 2009 by tnt Quote Link to comment
Mellroth Posted September 17, 2009 Report Share Posted September 17, 2009 I have not found this borderless cluster..., can someone also repost this ctl? I checked all my backups, but no luck. Let's hope AQ can repost his hack. /J Quote Link to comment
vugie Posted September 17, 2009 Author Report Share Posted September 17, 2009 0 px border would be very hard (if no impossible) to do right-click on it. I think the most optimal solution would be to make such cluster control which clips its content with outside rectangle. Then even thick border made transparent would truly appear as no border (not clipping out controls it overlaps with), still being clickable. Also any border thickness (up to 4) might be applied then by "pasting at same size" any rectangular decoration. AQ: possible? Quote Link to comment
Jeffrey Habets Posted September 17, 2009 Report Share Posted September 17, 2009 I think these two are the ones that AQ posted originally.. (I safely tucked them away in my svn repo. ) I think these are saved in 8.6. TopLeftBorderOnlyCluster.ctl OnePixelBorderCluster.ctl 2 Quote Link to comment
vugie Posted September 17, 2009 Author Report Share Posted September 17, 2009 I think these two are the ones that AQ posted originally.. (I safely tucked them away in my svn repo. ) I think these are saved in 8.6. Great. They work in 8.2 Quote Link to comment
jgcode Posted September 17, 2009 Report Share Posted September 17, 2009 I think these two are the ones that AQ posted originally.. (I safely tucked them away in my svn repo. ) I think these are saved in 8.6. What is the functional difference between the three controls now posted? They all look like they give the same effect to my eye. ??? Quote Link to comment
vugie Posted September 17, 2009 Author Report Share Posted September 17, 2009 What is the functional difference between the three controls now posted? They all look like they give the same effect to my eye. ??? The difference will be clearly visible when you put something into a cluster, set "Size to fit" and then make an array of clusters. It is a difference between 1 px and 2 px element gap. Quote Link to comment
Daklu Posted September 17, 2009 Report Share Posted September 17, 2009 The difference will be clearly visible when you put something into a cluster, set "Size to fit" and then make an array of clusters. It is a difference between 1 px and 2 px element gap. I get no visual difference between OnePixelBorder and TopLeftBorder. Functional difference is the TopLeftBorder cluster is harder to select--I have to go to the top or left border to do so since there is no bottom or right border. Quote Link to comment
jgcode Posted September 17, 2009 Report Share Posted September 17, 2009 The difference will be clearly visible when you put something into a cluster, set "Size to fit" and then make an array of clusters. It is a difference between 1 px and 2 px element gap. Of course this is what I did when I said I could not see any difference. It all looks the same to me My eye maybe out tho?? Quote Link to comment
Mellroth Posted September 18, 2009 Report Share Posted September 18, 2009 Of course this is what I did when I said I could not see any difference. It all looks the same to me My eye maybe out tho?? Can it be that the hack is no longer working in LV 8.6 and higher? (I think the original was made in LV8.5) /J Quote Link to comment
jgcode Posted September 18, 2009 Report Share Posted September 18, 2009 Can it be that the hack is no longer working in LV 8.6 and higher? (I think the original was made in LV8.5) /J Sorry, to correct my grammer... I can see the difference between the native LabVIEW cluster and the three posted .ctls when I create arrays of these clusters. I cannot see any difference between each of the three posted .ctls when I create arrays of these clusters. Quote Link to comment
Mellroth Posted September 18, 2009 Report Share Posted September 18, 2009 Sorry, to correct my grammer... No need to correct your grammar (but probably mine ) I just meant that there might be a difference in LV8.5 and 8.6, that prevents the 0 pixel version from working in LV8.6 and higher. /J Quote Link to comment
jgcode Posted September 18, 2009 Report Share Posted September 18, 2009 No need to correct your grammar (but probably mine ) I just meant that there might be a difference in LV8.5 and 8.6, that prevents the 0 pixel version from working in LV8.6 and higher. /J Ok, I misread your post Quote Link to comment
Jeffrey Habets Posted September 18, 2009 Report Share Posted September 18, 2009 For all who don't see the difference, here's an example comparisson: It's very subtle, but it's there. Quote Link to comment
jgcode Posted September 18, 2009 Report Share Posted September 18, 2009 For all who don't see the difference, here's an example comparisson: It's very subtle, but it's there. I can see the difference in your post What version did you post in as I am getting this in LV09? (I even downloaded everything again just to make sure) Quote Link to comment
Jeffrey Habets Posted September 18, 2009 Report Share Posted September 18, 2009 I can see the difference in your post What version did you post in as I am getting this in LV09? (I even downloaded everything again just to make sure) This was in version 8.6.. I just checked 2009 and have to confirm they now look the same.. Looks like this little gem of a hack is broken in LV2009. Quote Link to comment
jgcode Posted September 18, 2009 Report Share Posted September 18, 2009 This was in version 8.6.. I just checked 2009 and have to confirm they now look the same.. Looks like this little gem of a hack is broken in LV2009. Well its not completely broken - its much better then the native version. I am happy to gave gotten the downloads form this topic, even if it is one. Quote Link to comment
vugie Posted September 18, 2009 Author Report Share Posted September 18, 2009 What is the functional difference between the three controls now posted? They all look like they give the same effect to my eye. ??? In fact there is no difference when used directly after "sizing to fit". But after additional clipping difference is visible: Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.