iptux-src / iptux

A software for sharing in LAN
GNU General Public License v2.0
445 stars 130 forks source link

#627: fix wrap mode #628

Closed lidaobing closed 4 months ago

lidaobing commented 4 months ago

Summary by Sourcery

This pull request addresses an issue with the text wrapping mode in various text view widgets within the application. The wrapping mode has been updated to 'GTK_WRAP_WORD_CHAR' to ensure proper handling of both words and characters.

sourcery-ai[bot] commented 4 months ago

Reviewer's Guide by Sourcery

This pull request addresses the text wrapping behavior in the application by changing the wrap mode of text views from GTK_WRAP_WORD and GTK_WRAP_NONE to GTK_WRAP_WORD_CHAR. This change ensures that text wraps at both word boundaries and character boundaries, improving the display of text in various dialog areas.

File-Level Changes

Files Changes
src/iptux/DialogBase.cpp
src/iptux/DialogPeer.cpp
Updated text view wrap modes to GTK_WRAP_WORD_CHAR for better text wrapping behavior.

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.
codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 52.47%. Comparing base (e3ce5a8) to head (23ca0ca).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #628 +/- ## ======================================= Coverage 52.47% 52.47% ======================================= Files 64 64 Lines 8520 8520 ======================================= Hits 4471 4471 Misses 4049 4049 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

lidaobing commented 4 months ago
image