New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow empty LabelFrame name/title #246

Closed
mpmc opened this Issue Sep 10, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@mpmc
Contributor

mpmc commented Sep 10, 2017

I noticed something while trying to create blank label frames..

It's not possible just to have a blank labelframe, startlabelframe always requires a name. You can pass an empty string but this result's in a broken box rendered.

image

Would it be possible to add a name but hide it?

EDIT:

After zooming right into the box, I can see it's rendered correctly, I've gotten fooled by my very poor sight again, the embossing tricks me into seeing a broken box on the top right! I'm blaming my alternating strabismus!

Sorry!

@jarvisteach

This comment has been minimized.

Show comment
Hide comment
@jarvisteach

jarvisteach Sep 10, 2017

Owner

So, this creates a LabelFrame, with no title as desired - but is stored in the widget dictionary with no name - not ideal.

There should be a way to create a labelFrame but specify the title isn't displayed.

Issue #207 introduced a way to change the text/anchor of label frames in version 0.08 - so it would be better to create a named labelFrame and then set the label to be empty. As you cn then have multiple labelFrames.

These two steps can be bundled into one...

Owner

jarvisteach commented Sep 10, 2017

So, this creates a LabelFrame, with no title as desired - but is stored in the widget dictionary with no name - not ideal.

There should be a way to create a labelFrame but specify the title isn't displayed.

Issue #207 introduced a way to change the text/anchor of label frames in version 0.08 - so it would be better to create a named labelFrame and then set the label to be empty. As you cn then have multiple labelFrames.

These two steps can be bundled into one...

@jarvisteach

This comment has been minimized.

Show comment
Hide comment
@jarvisteach

jarvisteach Sep 10, 2017

Owner

Will just add a hideTitle flag to .startLabelFrame()

Owner

jarvisteach commented Sep 10, 2017

Will just add a hideTitle flag to .startLabelFrame()

@jarvisteach jarvisteach added this to the 0.08 milestone Sep 14, 2017

jarvisteach added a commit that referenced this issue Sep 14, 2017

Hide labelFrameTitle #246
Now possible to hide the title on a label frame
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment