Im using the MIPs Mars 4.5 and Im trying to find out how to increase the size of text such as the menu bar etc.. Not the editor but the program itself.
Thanks
While there's no way within Mars to explicitly set the scaling, if you have a high dpi display and have everything in Windows scaled up, Windows' built-in compatibility can fix this.
The runMARS.bat calls javaw.exe -jar Mars4_5.jar
Assuming you've got java in your PATH...
Navigate to C:\ProgramData\Oracle\Java\javapath
Right click on javaw.exe, -> Properties
In the Compatibility tab, check Override high DPI scaling behavior
Select System for Scaling performed by
Now, running Mars with runMARS.bat will start it with proper scaling.
If java isn't in your path, do the above steps for whichever executable Mars4_5.jar is using. If you're not sure, the which javaw command might come in handy.
Also, Java9 properly supports hidpi screens, so this won't be a problem.
open mars,
1.click on settings -> editor...
2.select the font-size that you want
3.click on apply
Related
Am I correct in assuming that tools like inspect.exe and UIspy.exe cannot handle java elements in a window? Consider this login box which has java elements (Login, Password, OK, Cancel). Login is not to be confused with the name of the window which is also login.
When I try to inspect the elements I can see only Login (window name), system menu bar and close (the X). I can't see any of the Java fields. Someone told me that he thought inspect.exe could not see Java fields and it could handle only the outer window. I haven't been able to verify. Is this true. If so what other tools are there to automate windows with Java fields? We will no longer be using Test Complete, so would need something else that runs on Windows 10.
If you use Swing, tools like inspect.exe cannot tell what's inside the window because Swing:
paints pictures of buttons, labels, text, checkboxes, etc., into [a] window...[so they are] meaningless pixels within a window from your OS's point of view.
If you use AWT, tools like inspect.exe will work because AWT:
uses the underlying OS or native GUI toolkit...[so] your OS knows about them
See https://stackoverflow.com/a/408830/
Is there a way to remove the option to minimize the application or maximize it, in pygame?
To not make it able to be resized, only add your dimensions to the pygame.display.set_mode function. Do not add options. If what you mean by "removing the option to minimize the application or maximize it" is get rid of the button altogether, you can't do this. When you create a window in pygame, pygame creates a window with whatever window api is for your platform. Pygame doesn't get to decide how your window should look (menu-bar/options). This is why windows in macos and linux look different from windows in windows. To recap, you don't get to chose how your windows look. That's the job of whatever window manager api your system uses.
screen = pg.display.set_mode((width, height), pg.NOFRAME)
Texts resolution and Font size is quite low which is putting a lot of strain on my eyes.
I have tried using Edit->Preferences->fonts and colors and then changing the font sizes but its not working not even on restart.
I have also tried correcting the resolution by changing the High DPI Setting and then overriding the scaling performed by Application. In this case the resolution is increased but font becomes even smaller.
Can anyone tell me how to figure out this?
I was facing the same problem of blurried fonts and textures after installing MySQL Workbench 8.0 on my new Windows 10 machine. The following steps worked for me:
step 1: Fix blurried textures. Go to the MySQL Workbench installation folder (Windows start menu, type in "Workbench" and right click on the icon and select open file location). After that, right click "MySQL Workbench 8.0 CE" and select properties, switch to tab Compatibilityand click the button Change high DPI settings. In the lower part of this window, under High DPI scaling behaviourcheck the box (i.e. "override high DPI scaling behaviour") and select the scaling being performed by Application. Click OK to close the window and click on Apply and OK to save the settings and close the window. (screenshot: Properties Window of MySQL Workbench: overriding high DPI scaling by Application)
step 2: increase text size. In MySQL Workbench, click on Edit and Preferences. In the navigation bar on the left-hand side of the preferences window, click on 'Appearance' (located under the group 'Modeling'). On the right-hand side, the lower section lists the fonts (and sizes) of the respective objects. In order to change the font type and/or size, click on an element within the column "Font" and click it again (do not double click!). By default, the following two font type/size defintions are set: Tahoma 11 and Tahoma Bold 12. (screenshot: Workbench Preferences-window)
optional: zoom in. If you still feel unconfortable with the displayed text size, you can - at least in terms ERD models (and maybe some other aspects) - zoom in. Unfortunately, this is not implemented via clicking and holding CTRL and mouse wheel scrolling. Instead you can either use CTRL + + (or - for zooming out) or you can use the magnifier-icons in the "Bird's Eye" pane (usually upper left pane).
So I'm trying to develop a webapplication and I'm trying to check it out on mobile.
I'm currently using Cordova and JQuery Mobile together with ripple.js to view my application in my browser.
The first issue (as far as I know) is that ripple.js will work best in Google Chrome, so this is my only test platform.
The second issue is that when I toggle Device Mode on, it doesn't show me the black dot (cursor) when I enter the rendered version.
I'll explain my situation or a scenario:
As an example I'll go to http://google.com
I press F12 to enter developer mode
I click the Toggle Device Mode button
I will see my cursor, until I enter the generated mobile canvas. While I would normally see a black transparant dot, I now see nothing.
I can however click and drag like I would normally do, but I can't see what I'm doing.
The things I already tried:
Reset all the flags back to default
Reset all developer tool settings to default
(edit) Installed a previous version of Chrome AND Chromium
So question is, how do I get my cursor back?
Extra: I'm using version 49.0.2623.87 m, but that's not related since my co-worker, has the same version and he sees the cursor.
(edit) currently I'm using the mouse option where I press Ctrl to see the circle which indicates where my cursor is, but this really has to be a temp solution.
(edit) I fixed it by doing a combination of things. So I'm not sure which exact thing fixed it. I removed a few programs that I installed after it still worked. I uninstalled about 4 of them. Also I did an update of my graphics card and then did a reboot. So it could be either the graphics card update, the software uninstall and/or the reboot.
I had the same issue. (note this question might be a duplicate of this one)
Following the advice on the Chrome forum here I changed the Quantization Range in my Intel HD Graphics Control Panel from "Default Range" to "Full Range". The touch pointer (grey circle) appeared immediately.
If that doesn't help you may have to change refresh rate too. Changing from 59p Hz to 60p Hz or some other refresh rate might help.
This should also help.
Open the mouse control panel.
Select the Pointer Options tab in the Mouse Properties window.
Then enable Display pointer trails option.
In case you don't like or are getting annoyed, like me, due to the trailer. Move the slider to the Short position and the trailer becomes near to non-existent or invisible.
I fixed it myself, yet I'm not exactly sure how I did it. I edited my original post and added the solution in the last paragraph.
Had the same on my Asus laptop with Chrome 66
Resolution that worked for me
Graphics Control Panel > Display > General Settings > Scaling > Change to Scale full screen.
OFF your Asus Eye Care Switcher.
I am posting this as answer because above mentioned answer didn't work for me but I had this issue when I had a monitor attached to my laptop, for development work. I played around with my display settings and discovered that IF the scale on my second monitor did not match the scale on my laptop, the mobile development mode cursor would disappear. (windows 10)
If this is an issue for anyone just go into Display settings -> Display -> Scale and Layout --> make sure that both your laptop/desktop matches the display scale of your second monitor.
Hope this will help.
Is it possible to create some kind of fullscreen mode (e.g. no window title bar) in Tk applications?
I used to use the wm overrideredirect trick in my code. Recently I found it to be buggy on Ubuntu. Not sure why, maybe a gnome issue, maybe a glx issue. Currently I'm using:
wm attributes . -fullscreen 1
which so far works on Windows and Linux. Haven't tested on Mac although I don't see why it wouldn't work.
OK read the man page. It says it works on Windows, OSX (Quartz) and X11.
Additional info
for those who didn't believe me
The man page says:
-fullscreen
Places the window in a mode that takes up the entire
screen, has no borders, and covers the general use area
(i.e. Start menu and taskbar on Windows, dock and menubar
on OSX, general window decorations on X11).
which seems to imply that the window decorations (title bar etc) is removed in -fullscreen mode. And in my real-world experience (I just checked my code 2 seconds ago) that seems to be the case on Windows and Ubuntu (linux). Don't know if it's true for OSX but the man page says it should be.
If this is ever not true on any platform then I believe it is a bug in the documentation. In which case it should be noted in the man page clearly on which platform are window decorations not removed.
Yes. You wan to set the overrideredirect flag on a toplevel.
toplevel .top
wm overrideredirect .top 1
If you run this interactively you need to withdraw the window and them deiconify it so that the window manager has a chance to remove the frame from the window.
This only removes the window manager decorations. You need to manage the size as a separate step in the normal way.
For more information see the man page on the wm command