-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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(qt): remove stretchers from Overview page when it's not needed #5992
Conversation
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.
utACK (assuming bitcoin-core/gui#176 is going to be backported soon/before v21 release cause otherwise it looks a bit weird when tx list starts to lean left on resize)
due to feature_proxy.py failed without IPv6. rebased on the top of develop |
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.
light-ACK
… qt improvements and related fixes 2917c33 partial Merge bitcoin-core/gui#205: Save/restore TransactionView and recentRequestsView tables column sizes (Konstantin Akimov) e5c2c03 Merge bitcoin-core/gui#154: qt: Support macOS Dark mode (MarcoFalke) 29a98c7 Merge bitcoin-core/gui#251: Improve URI/file handling message (MarcoFalke) 48d66fd Merge bitcoin-core/gui#248: Fix: For values of "Bytes transferred" and "Bytes/s" with 1000-based prefix names use 1000-based divisor instead of 1024-based (MarcoFalke) 63b1800 Merge bitcoin-core/gui#221: qt, refactor: rpcconsole translatable string fixes and improvements (MarcoFalke) 0d1faa2 fix: removed maximum width of transaction list on overview page (Konstantin Akimov) 458384a Merge bitcoin-core/gui#176: Fix TxViewDelegate layout (MarcoFalke) d670240 Revert "fix: remove stretching from Overview page when it's not needed" (Konstantin Akimov) Pull request description: ## Issue being fixed or feature implemented Backports of QT related improvements from bitcoin v22 ## What was done? See commits for list of backports. Changes related to improved behavior of columns while resizing for Transactions List and Recent Requests is dropped due to low performance and buggy behaviour. bitcoin-core/gui#205 and bitcoin-core/gui#229 are DNM due to incompatibility with our table view. It reverts also #5992 as better fix is found (see css changes). ## How Has This Been Tested? Run qt app, try to resize main view with overview page. ## Breaking Changes N/A ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone ACKs for top commit: UdjinM6: light ACK 2917c33 (CI failure is unrelated) PastaPastaPasta: light-ACK 2917c33 Tree-SHA512: b84c7e254562d86da30515d05572587edd1b451d988bbcfe16b8874f13d6b581910bed9008a7f8a408aae9181faa86703463fd508711e6e09b299be232ba3f48
Issue being fixed or feature implemented
Overview page has strange stretching on sides, which make balance moving left-right when window is scalled.
![image](https://private-user-images.githubusercontent.com/545784/324839758-a2b3332a-55f4-4abc-a96f-9ca6c1184360.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NjQ5NTYsIm5iZiI6MTczOTQ2NDY1NiwicGF0aCI6Ii81NDU3ODQvMzI0ODM5NzU4LWEyYjMzMzJhLTU1ZjQtNGFiYy1hOTZmLTljYTZjMTE4NDM2MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QxNjM3MzZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jYTk2OWI0Yjc2N2U3NzdkZWMyNmVlZjdiZTNkOWNlMzZlNWQ2MWNmNTg0NmM2Zjg5NzhkYTc1NmRlODMzODY1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.zvFbFAQP3FEnwfr3ytNrmb2hHoZF4mggUZaLrrmc1Yw)
![image](https://private-user-images.githubusercontent.com/545784/324839867-1b8e7eca-d0db-4574-a337-096bfa645242.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NjQ5NTYsIm5iZiI6MTczOTQ2NDY1NiwicGF0aCI6Ii81NDU3ODQvMzI0ODM5ODY3LTFiOGU3ZWNhLWQwZGItNDU3NC1hMzM3LTA5NmJmYTY0NTI0Mi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QxNjM3MzZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04ZDYxMzZlZjQ5NjAyMzIxMzI2MDhhYzJkMTEwNGMzOWQxZmI2NmZjYWJlOGFjOGM1MzJmYjFkNjBkODM1MmQyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.HkKnKP6ETLsA0esLnkbt0FNHFFTPBFOrEGtRPIRwNSQ)
What was done?
Removed stretches for Overview Page from the sides, it makes window a little more balanced. This PR lets to do backport of bitcoin-core/gui#176 which improves behavior further more be increasing size of "transaction list" part of window.
How Has This Been Tested?
See screenshot. Resized window with/without patch, in "Discreet mode" off and on. Both looks not perfect but better than before.
Breaking Changes
N/A
Checklist: