Comments (7)
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.
from notepadnext.
Debug via QT on macos,but get an error,Do you have any suggestions on how to solve this issue?
from notepadnext.
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.
from notepadnext.
Just update 4 property of formLayout.
- layoutLableAlignment-Horizontal:AlignLeft
- layoutFormAlignment-Horizontal:AlignJustify
- layoutSizeConstraint:SetNoConstraint
- layoutFieldGrowthPolicy:First change to ExpandingFieldGrow then change back to AllNonFixedFieldsGrow, and AllNonFixedFieldsGrow is the final value.
The layoutFieldGrowthPolicy must to be modified, or it won't be effective.I guess it is because, without modification, the program will set different default values for different platforms, which causes UI arrangement problems under the Mac platform.
I have tested both on Windows and Mac, and there is no problem.
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:
- layoutLableAlignment-Horizontal:AlignRight
- layoutFormAlignment-Horizontal:AlignHCenter
WINDOWS:
- layoutLableAlignment-Horizontal:AlignLeft
- layoutFormAlignment-Horizontal:AlignLeft
So, if you are modifying in the windows, you must change layoutLableAlignment-Horizontal to other value first, then change it back to AlignLeft
from notepadnext.
Can you create a PR for whatever works on Mac and I can review it on Windows and make sure it still looks ok?
from notepadnext.
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
from notepadnext.
Closed by #538
from notepadnext.
Related Issues (20)
- Error: CreateDXGIFactory2 at dxgi.dll HOT 4
- Can't open large txt files (~100GiB) HOT 1
- fetch-pack: unexpected disconnect while reading sideband packet HOT 1
- [Bug] When show status bar is set to false, does not take effect after application restart HOT 1
- Exit the Application when the last tab closed HOT 2
- [MAC OS] Close the [New 1] tab after a file opened HOT 1
- Opening a file when another instance is already is running sometimes fails HOT 6
- [MAC] Double-click to open a file and cannot activate the minimized NN window HOT 5
- would you please support edit code styles by user HOT 3
- Better Linux Screenshot HOT 4
- [Feature request] Find index match count HOT 1
- [feature request] temporarily store files when close 'x' button for window is pressed HOT 1
- Notepad++ autosave feature HOT 1
- flatpak runtime end of life HOT 13
- can't type in the macOS HOT 3
- MacOS Dark Mode HOT 1
- Run tools HOT 4
- Use QFileSystemWatcher for opened Editors HOT 1
- Support larger icons and icons with text labels HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notepadnext.