Different font size for two Xcode windows? - xcode

I am using an external monitor with my Macbook.
I would like the window in the external monitor to have increased font size and the font on the laptop's Xcode window to remain the same.
However, when I do command + plus/minus in one window, it changes font size in both.
How can I adjust font size in different windows independently?

Related

How to manage the application icon on the taskbar?

Intro:
OS: Windows 10
DPI: 96
I got metrics of recommended sizes small (16x16) and large (32x32) icons of my application, called SetClassLong function to set him. Everything is working!
BUT!! After launching the application, the icon displayed in the taskbar has a size of 24x24.
Why such a size? I setted only the recommended 16x16 and 32x32? How can I control the real icon in the taskbar (except for calling SetOverlayIcon)
How can I give the system a 24x24 icon (which one should it be for
other dpi?) If the metric request recommends me 16x16 and 32x32?
Forget about the GetSystemMetrics() since it hasn't been updated in ages. To provide a 24x24 icon that Windows 10 uses for display on the task bar just set the hIcon member of your WNDCLASS to such icon.

Octave GUI Command window flashes after being resized to a bigger size

I am running octave 4.0.2 on windows 7 64 bit vm hosted on a mac with El Capitan in Parallels Desktop.
I have a Thunderbolt display with the resolution 2560x1440.
When I make the main Octave GUI window bigger than a certain size, the command window starts to flash and it displays all sorts of garbage characters. I attached a screenshot I took while the command window was flashing. It seems that a threshold for the command window is approximately 1320x965 including scrollbars, i.e. when the command window becomes bigger, it starts flashing garbage characters. The window is sensitive to increasing either the width or height. Also, if the width is smaller, it will start flashing a higher height.
Any ideas on how to fix this and what might cause it?
Thank you
Update: I posted this: http://savannah.gnu.org/bugs/index.php?47893
This issue is a bug in the software: http://savannah.gnu.org/bugs/?45220.

Reasonable default window size for application

Since there're to much possible screen size, and possible dpi (both mobile and desktop). What is the best way to have a good default window size on all possible platform (windows, linux, mac)?
There are some people that suggests to always maximize your window on the first start and remember the window geometry. But AFAIK on Mac OS/X doesn't usually maximize a window.

Set OS X Lion full-screen desktop image programmatically

In OS X Lion, when user toggle app full-screen, the window moves to the right to the new space and this new space has a default background.
In QuickTime X, when user toggle full screen, desktop background on the new space that gets created is black.
Is there a code to have a custom desktop image for the newly created space?
I know that it's possible to change the desktop background of every space in Lion through system preferences but I need not to change it, but to have it already set up when the space gets created for letting the app going full-screen.
Unfortunately, no. The default linen texture is shown when transitioning an application to a full screen (so that it has it's own space).
It's possible to set different desktop pictures for normal, non-application spaces using the methods available in NSWorkspace (i.e. – setDesktopImageURL:forScreen:options:error:), but they don't really let you control the space that the image is set on – it seems to just set whatever space you're currently on.
So sadly, the answer is no.

Is there a Mac/Xcode equivalent to the Windows Workarea?

I am creating a toolbar on Windows that is being ported over to the Mac, is there such a concept as a workarea on the Mac, like there is on Windows.
If you are unfamiliar of what the workarea on Windows is, it is basically a defined space that all open windows can re-size in. Meaning normally you can re-size your windows to fill the whole screen, but if I change the workarea to a smaller size when you try to maximize your open windows they will stop at the boundaries of the new workarea. For example the Windows taskbar does this. If you move your windows taskbar up or down, then this affects how much space you have left for open windows to utilize, the taskbar is changing your workarea dimensions.
Windows uses the following function SystemParametersInfo with SPI_SETWORKAREA passed into to change the size of a workarea. Is there an equivalent to this on the Mac?
Thanks.
Yes, there is a mechanism in OS X to keep maximized windows from overlapping the Dock. Look at NSScreen's -visibleFrame method.

Resources