dail8859 / NotepadNext

A cross-platform, reimplementation of Notepad++
GNU General Public License v3.0
9.24k stars 554 forks source link

Find/Replace dialog UI arrangement issues for Mac Version #535

Closed ErickWei closed 7 months ago

ErickWei commented 7 months ago

Wish that the dialog box could be updated to be as perfectly arranged as the one in Windows

The main problem is that the widths of the textboxes/combobox are not consistent and they are not left-aligned

MAC OS:

image image

Windows:

image
dail8859 commented 7 months ago

I don't have a Mac to develop/test on so hopefully somebody can submit a PR. My guess is something with the layouts just need tweaked.

ErickWei commented 7 months ago

Debug via QT on macos,but get an error,Do you have any suggestions on how to solve this issue?

image
dail8859 commented 7 months ago

I'm assuming you also checked out the submodules?

git clone --recurse-submodules https://github.com/dail8859/NotepadNext.git

I know it is possible to build with mac but beyond that I'm not sure.

ErickWei commented 7 months ago

Just update 4 property of formLayout.

I have tested both on Windows and Mac, and there is no problem.

image

Modified appearance:

image

But there is one thing to note, when I clone the repository to mac and windows, and open the project with qt, the values of the two property below are different:

MAC:

WINDOWS:

So, if you are modifying in the windows, you must change layoutLableAlignment-Horizontal to other value first, then change it back to AlignLeft

dail8859 commented 7 months ago

Can you create a PR for whatever works on Mac and I can review it on Windows and make sure it still looks ok?

ErickWei commented 7 months ago

Can you create a PR for whatever works on Mac and I can review it on Windows and make sure it still looks ok?

Okay,wait for me

dail8859 commented 7 months ago

Closed by #538