Skip to content
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

Fix tile titles #198

Merged
merged 6 commits into from
Sep 30, 2017
Merged

Conversation

SamCarlberg
Copy link
Member

Sets the text overrun to the left side to make titles look like ...system/Victor/Speed instead of /LiveWindow/MySub...

Uses the tab source prefix to remove redundant leading information

Changing the widget title no longer changes the name of its source

Fixes #29

@SamCarlberg SamCarlberg added the ui label Sep 21, 2017
@SamCarlberg SamCarlberg added this to the Alpha milestone Sep 21, 2017
@codecov-io
Copy link

Codecov Report

Merging #198 into master will decrease coverage by 0.07%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master     #198      +/-   ##
============================================
- Coverage     15.12%   15.05%   -0.08%     
  Complexity      241      241              
============================================
  Files           149      150       +1     
  Lines          3834     3853      +19     
  Branches        290      290              
============================================
  Hits            580      580              
- Misses         3223     3242      +19     
  Partials         31       31

@@ -48,7 +48,6 @@ public EditableLabel() {
if (isEditing) {
editField.requestFocus();
}
label.setVisible(!isEditing);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The visible property is already bound so all this does is throw an exception

@bradamiller bradamiller modified the milestones: Alpha, Beta Sep 28, 2017
log.log(Level.SEVERE, "Could not get the tab containing the widget pane!", e);
}
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from discussion: let's leave this off for now until we can refactor auto-population

@SamCarlberg SamCarlberg merged commit 81e1408 into wpilibsuite:master Sep 30, 2017
@SamCarlberg SamCarlberg deleted the fix/tile-titles branch October 6, 2017 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Widget titlebar probably should default to the root name
4 participants