Can't resize RichTextBox in IDE - vb.net

For some reason, I am unable to change the size of a RichTextBox by dragging on its corners wih the mouse.
To my knowledge, the control is not locked, and Maximum Size is set to 0; 0.
What am missing?
Thank you!

I had set the dock style to fill.
Once I removed that, it worked.

Related

Texts Do Not Change When I Change The Font Size

Does anyone encounter the same issue with the Photoshop?
I have been trying to change my wording sizes, every time I select the text layer, highlight and click the size/fonts (image below), and scroll my mouse to chose, the text on the layer does not change and no preview. Unless I select it and it changes.
It is difficult and wasting time to actually try one by one manually rather than scrolling mouse and see the preview. Do I need to do some setting changes? Help please.
Press and Hold the left mouse button on the 'tT' icon of the fontsize and drag it left or right to decrease or increase the size of the font with a live preview.
I hope this helped :)

Pixate background-image no-repeat?

I am trying to put a background image into a text-field (it's just a search icon). And it is tiling the image in the text field. Is it possible to turn off the repeating of the image? i don't see anything like that, i'm seeing padding and position for background images but nothing to turn off the tiling of the image. is this not possible in pixate yet?
thanks!
You should be able to set background-size to the size of your text-field so it won't have anything to repeat.
I battled this same problem, and in the end, I found I got what I wanted by using multiple objects. Even if you get the search icon to work right, you're probably going to notice the UITextField doesn't pad the text away from the icon.
Anyway, here's how I ended up doing it so that I had full control over the style.
So you can put your search icon in the UIImageView and then define your text field's style (border, background color, etc.) with the UIView. The UITextField ends up being plain white/transparent, and positioned so that its text doesn't overrun the search icon.
I hope that helps.

Unable to set height of NSButton

I have some NSButtons of style Round Textured inserted into an NSToolbar.
I have created some custom images for the buttons and would like to make them vertically bigger, however the height field for the button is greyed out.
Anyone got any ideas why, and if there is a way around it?
Thanks
Gareth
From NSButtonCell Class Reference
NSTexturedRoundedBezelStyle The height of this button is fixed.
You can use NSTexturedSquareBezelStyle Bezel Styles
You have to uncheck Bordered in the latest version of XCode

VB.NET: Scrollbar "button"?

I plan on using a scrollbar for, well, scrolling an image. The image is 200x500, however, the only visible area is 200x250.
So I set the max value to 250, and the min value to 0. The idea is that if I drag the scrollbar's button to the bottom, 250 pixels will have moved for the image, right?
But wait, the scrollbar's button is.... very small. And the scrollbar is actually pretty long. Is there a way to make the scrollbar's button longer?
How did you create this scrollbar? Is it a separate control all together, or it is a component of another control? I do know that scrollbars added separately act kinda funny at times.
What I would suggest is using the scollbars built into another container control, which should achieve the exact same effect.
Create a new panel control on your form, and name it. (I suggest something like panelPicture)
Position the panel where you want your picture to be.
Set the panel's size to 200x250.
Set the panel's "Autoscroll" property to True.
Put a PictureBox inside this panel, and name it. (I suggest something like picMyPicture.)
Set the PictureBox's position to 0, 0.
Set the PictureBox's size to 200x500 (or whatever is necessary).
Set the PictureBox's Image property as desired.
Now, the scrollbar should automatically appear on the picture, and it should look normal.
As a side note (which may or may not be relevant), users typically don't like having to scroll to see the rest of an image, so if you don't need the user to scroll down on the image for some definitive purpose (or because you don't know what the size of the image that will be handled is), I'd try and change the size of things on your form so scrolling will not be necessary.
I hope this helps!

How do I Disable a button with an image without reducing the alpha in obejective C?

After creating a round rect button, i disabled the button and the alpha of the button stays at 1 unless i reduced the alpha to 0.5 manually. But after inserting an image to the button, the alpha of the button would be set to 0.5 automatically even after setting the alpha to 1 after disabling the button.
I would like to disable the button containing an image without affecting it's alpha.
Can anyone Help me?
Regards,
Bob
Have a look at the UIButton's adjustsImageWhenDisabled property. Setting that to NO should do what you want.
There's also a similar property for highlighted buttons.
When no image is set for the disabled state, the system may generate one by modifying the normal state image. To prevent that, set the same image for normal and UIControlStateDisabled. Either use:
- (void)setImage:(UIImage *)image forState:(UIControlState)state;
Or set it in the xib.
yea the adjustsImageWhenDisabled property and setting it to NO is the way.