Jump to content

Cluster border thickness


vugie

Recommended Posts

Posted (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):

post-7450-125309113975_thumb.png

(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 by vugie
Posted

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):

post-7450-125309113975_thumb.png

(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 :yes:).

http://lavag.org/top...dpost__p__28056

/J

  • Like 1
Posted (edited)

This has been asked for before and thanks to Aristos Queue we have a solution (only on LAVA :yes:).

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:

post-7450-125309983219_thumb.png

Edited by vugie
Posted

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?

Posted

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

Posted

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.

???

Posted

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.

Posted

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.

Posted

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?? :wacko:

Posted

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?? :wacko:

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

Posted

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.

Posted

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

Posted

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 :P

Posted

For all who don't see the difference, here's an example comparisson:

post-906-125325911131_thumb.png

It's very subtle, but it's there. :)

I can see the difference in your post :yes:

What version did you post in as I am getting this in LV09?

(I even downloaded everything again just to make sure)

post-10325-125326209262_thumb.png

Posted

I can see the difference in your post :yes:

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. :(

Posted

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.

:lol:

Posted

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:

post-7450-125326705219_thumb.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.