Sublime Column Selection with Left Button? - macos

According to this spec, I have to use right mouse button to drag a rectangle for making column selection. This is very inconvenient because I am using a mouse pad and it's hard to do a right click.
Is there a way to fix this binding so that left mouse button can be used instead of right mouse button?

Related

WIN32: Is there a way to have the button icon (BM_SETIMAGE) on the right side of the text

Is there a way to have a button with text and graphic, with the graphic on the right side of the text, without having to owner-draw the button?
I want to just sent BM_SETIMAGE and whatever else would be needed so the graphic is to the right of the text.
Also, I noticed the image is so tight against the text that it doesn't look good. Is there a way to adjust the margin without having to use a blank space in the text?
Is there a way to have a button with text and graphic, with the graphic on the right side of the text, without having to owner-draw the button?
There are BS_LEFTTEXT and BS_RIGHTBUTTON styles available, but the documentation says they only apply to CheckBoxes and RadioButtons:
Constant
Description
BS_LEFTTEXT
Places text on the left side of the radio button or check box when combined with a radio button or check box style. Same as the BS_RIGHTBUTTON style.
BS_RIGHTBUTTON
Positions a radio button's circle or a check box's square on the right side of the button rectangle. Same as the BS_LEFTTEXT style.
For a standard push button, there does not appear to be a way to control the position of the image other than through owner-drawing.
Is there a way to adjust the margin without having to use a blank space in the text?
Use BCM_SETTEXTMARGIN/Button_SetTextMargin():
Sets the margins for drawing text in a button control.

What does Axes and Keys in NGUI do?

In NGUI of Unity 3D,
there is a script called UI Camera (Script).
At the Bottom of the Inspector, there are parameters for Axes and Keys.
How do you use them, and what are they good for?
From the NGUI documentation for UICamera:
Axes and Keys section lets you choose which axes result in which movement.
http://www.tasharen.com/forum/index.php?topic=6711.0
The axes and keys are controller inputs. You can find the settings for the parameters you see (vertical, horizontal, etc) under Edit> Project Settings> Input.
An example could be using the arrow keys to scroll through buttons and hit the return key to select instead of using your mouse and mouse click. To try that out, take a look at the example scene: "Example 4 - Controller Input".
Attach the UIKeyNavigation component to the play, options, and exit button.
In inspector for UIKeyNavigation on the "play" button, check "starts selected".
In the inspector for UICamera, uncheck mouse and touch so we can see the keyboard input.
Now hit play and press the up or down arrow keys which will now scroll through the buttons.

Restrict Kendo window from going outside of browser window screen

If I drag a kendo window in upward direction the kendo window stops being dragged once kendo window top aligns browser window top, that is min top position is 0. I want similar behavior if I drag the kendo window to left, right or downward direction, window should always stay within the browser window (do not want scrolls to browser window).
After visiting documentation on Kendo site I have got an hint to implement the solution. Here is link to Restrict Windows Position
Idea is to listen to drag event on Window and based on your condition adjust left and top of window.

animated button on the left and right on xcode 4.2

in my interface there is a button named Forme1 and two arrows one on the left and on the right of the button
I want when I click on the arrow on the right/left show me another button: button 2(Forme2)
with an animation

How can I create a menu animated with two arrows?

I have a menu animated with two arrows
one in the left of the button and one in the right of the button
the direction of the arrow is right for the right arrow and left for the left arrow
I want when I click in the arrow in the right show me another one without exit the corrent view ,the same for the left arrow but he show me another button(option) to choose
and when I click on the right or the left button I want that he show me the new button with an animation it appears like a train animation when he change the button
can you give me an idea how can I do this ??
You can create an UIScrollView with UIButtons and put two UIButtons to left and right scroll.
You can follow this tutorial for it -
http://blog.sallarp.com/iphone-sliding-menu/

Resources