-
Notifications
You must be signed in to change notification settings - Fork 86
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
Dual screen Monitor support with different resolutions #508
Comments
@svennissel Can you prepare merge request ? |
My first pull request: #524 |
I found the Problem of "Fullscreen on bigger secondary screen". `public class TestFrame extends JFrame { public static void main(String[] args) throws Exception { If you maximize the window, it will be not bigger than the primary screen. If you commend out "UIManager.setLookAndFeel("org.pushingpixels.substance.api.skin.SubstanceBusinessLookAndFeel");" than the window resize correctly. Also if you commend out in class LogViewMainFrame the line: LookAndFeelUtil.initLf(c.getString(ConfKeys.APPEARANCE_LOOK_AND_FEEL, SubstanceBusinessBlackSteelLookAndFeel.class.getName())); |
Thanks @svennissel |
If the main Monitor has a smaller resolution then the second monitor the Window will positioned out of the monitor. I have also problem to maximize the window on the bigger second monitor.
I found on Problem in the class LogViewMainFrame#initPosition()
Toolkit.getDefaultToolkit().getScreenSize()
is wrong it store the sum of all Monitor sizes. See https://stackoverflow.com/questions/6322627/java-toolkit-getting-second-screen-sizeIn this case is better to use
Also
GuiUtils#centerOnScreen()
better
Also
SuggestionDocumentListener#setSuggestionWindowLocation()
better
suggestionWindow.getGraphicsConfiguration().getDevice().getDisplayMode().getHeight()
The text was updated successfully, but these errors were encountered: