Skip to content

Conversation

@Lenart12
Copy link
Contributor

@Lenart12 Lenart12 commented Nov 7, 2022

Change mainFrame and eastPanel from JPanel to JSplitPane.
This allows the users to resize different views as they want.

Change `mainFrame` and `eastPanel` from `JPanel` to `JSplitPane`.
This allows the users to resize different views as they want.
This updates the row count based on height when the component is resized.
Lenart12 added a commit to Lenart12/SicTools that referenced this pull request Nov 7, 2022
This commit assumes that `tabDis` rows can be resized and adds guards to
prevent UB when updating the view with arbitrary
row count.

This is done in prepration for PR jurem#35
Lenart12 added a commit to Lenart12/SicTools that referenced this pull request Nov 7, 2022
This commit assumes that `tabDis` rows can be resized and adds guards to
prevent UB when updating the view with arbitrary
row count.

This is done in prepration for PR jurem#35
jurem pushed a commit that referenced this pull request Nov 9, 2022
* Make `DisassemblyView` scrollable

This commit adds scroll wheel listener to
`DissasemblyView` which moves the view up or down.

* Make `MemoryView` scrollable

This commit adds scroll wheel listener to
`MemoryView` which moves the view up or down.

* Scroll `DissasemblyView` with PC while executing code

This moves the `DissasemblyView` with the PC
instead of resetting the view with PC on top.

* Make `updateDis` calculations row resizing aware

This commit assumes that `tabDis` rows can be resized and adds guards to
prevent UB when updating the view with arbitrary
row count.

This is done in prepration for PR #35

* Fix bug scrolling with touchpad in `MemoryView`
@Lenart12
Copy link
Contributor Author

Lenart12 commented Nov 9, 2022

Ready to merge

@jetomit
Copy link
Collaborator

jetomit commented Nov 9, 2022

There appears to be a (possibly preexisting) issue with the CPU view when resizing:

resize

The actual contents should fit normally, and by increasing the size just a bit everything looks OK again. I’ll try to reproduce on another system, but maybe you could take a look.

Other than that the change looks good, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants