-
Notifications
You must be signed in to change notification settings - Fork 2
Copy from table / log level default / some settings tab improvements[CPP-281][CPP-403][CPP-483][CPP-474][CPP-476][CPP-460][CPP-461] #257
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
Conversation
4194ad0 to
923e9f0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few comments in here.
I really do think that making a SwiftTableView custom table view would make the table maintenance easier.
Hmm think it should be all good |
Create the SwiftTableView reusable component and use it in one location in the app as a sample - the ThreadStateTable.
Prevent the SolutionTable rows from drawing over the table header. They were drawing outside of the boundary of their item. The solution is to turn on clipping. Clipping is not enabled by default because it does incur some performance penalty, however in this case it is pretty negligible. I also removed clipping for the items in the table header, as there was no reason to clip those - they do not draw outside of their boundaries.
* Remove Layout.preferredHeight from Solution table's HorizontalHeaderView, as it already defines it's own height to be that value.
* Select table rows on a mouse click instead of a mouse press. This is so that one can flick scroll a table view without selecting a row.
…aelburke/copy-table
…onsole_pp into john-michaelburke/copy-table
|
@keithel-qt I implemented the table everywhere except for the Observation tab and additionally tried to sprucen up the Settings tab slightly. I switched the buttons to be flat and above the icons to match the old console. I also added a SplitView so we could resize the pane and added column resizing functionality. I was wondering if you could do a pass over the settings tab for me. I'm struggling to get the anchoring between the table and SplitView working correctly. It seems after resizing the columns and then moving the SplitView, the scrollbar remains where the splitview was last moved to and subsequently borks the splitview. Here is a video describing the behavior I'm trying to fix. I think the issues I'm having may be related to relying on widths of parents but had difficulty getting anchors.fill: parent to solve all my problems 🤦 Kazam_screencast_00011.mp4 |
|
You still need a review on this, right? |
Yes |
…aelburke/copy-table
|
@keithel-qt false alarm I believe I have figured it out. One line missing seems to do the trick. I'm going to polish it off and push a commit. |
…aelburke/copy-table
929c098 to
6a6c575
Compare
|
apologies - I was on vacation yesterday. |
No problem I was able to figure out the issue! |
Implements
Does not implement