Questions tagged [appearance]

333 questions
7
votes
1 answer

Why does -[[UIButton appearance] setBackgroundImage] affect the initial appearance of UIBarItem objects and how do you correct it?

When customizing the appearance of UIButton using the class proxy UIBarItems seem to initially take on the custom properties set for UIButton. Starting with the default Master/Detail project using Core Data. Customize the appearance of UIButton in…
sean woodward
  • 1,750
  • 1
  • 24
  • 36
7
votes
3 answers

Radio Button Styling

I want to style radio buttons with pure CSS, no classes or IDs. Just input[type=radio]. I want to use a background image for unselected and selected. However, the -vendor-appearance:none; doesn't work with Trident or Gecko. Just Webkit. In those…
henryaaron
  • 6,042
  • 20
  • 61
  • 80
7
votes
1 answer

VS code on my MAC after update to v.1.69.2 appearance problem

I update my VS code on my MAC to v.1.69.2 when I open it I can't see the icons on the activity bar the icons are still hidden then when mouse over I can see also when I select my file code I can't see without put the mouse over it any advice to…
Ahmad_Sbaih
  • 131
  • 7
7
votes
2 answers

VB.Net - select whole line in a multicolumn ListView and not only first item

I have a ListView in VB.Net. I want to use it to display a table of data. However I want to be able to click on a row and select it. The component allows me to select a row only by clicking on the first item of each row. Can I change that? Is there…
Stefanos Kargas
  • 10,547
  • 22
  • 76
  • 101
7
votes
4 answers

Set UINavigationBar appearance whenContainedInInstancesOf to my viewcontroller not working

I want to set white barTintColor in some viewcontroller I have set UINavigationBar.appearance().barTintColor for all default color but when I use appearance whenContainedInInstancesOf It's not change my…
Oniikal3
  • 567
  • 1
  • 6
  • 14
7
votes
1 answer

How do you modify the appearance of a disabled button in vb.net?

I'm disabling a button in vb.net and when I do, I cannot control the BackColor or ForeColor properties to change the appearance. I set new values for them but they don't get picked up. The disabled button looks almost exactly like my enabled…
Shawn Steward
  • 6,773
  • 3
  • 24
  • 45
6
votes
3 answers

How to scroll the UITableviewcell scroll up when the keyboard appears?

Possible Duplicate: Table View scroll when text field begin editing iphone I have loaded many UITextFields in UITableview. Maximum i have 15 UITextFields in UITableView cells. I want to move(Scroll) up the the Cell when the…
Yuvaraj.M
  • 9,741
  • 16
  • 71
  • 100
6
votes
2 answers

UIBarButtonItemStyleDone background image using the iOS 5 appearance API

How can I provide a visually distinct bar button item background image for bar buttons with the UIBarButtonItemStyleDone style and the editing state of the Edit/Done button? None of the documented UIControlState values in the UIBarButtonItem…
6
votes
2 answers

How can I check if a feature is available on a specific iOS version?

In my AppDelegate I am using the appearance proxy to make custom UI: //Setup custom appearances [[UINavigationBar appearance] setBackgroundImage:[UIImage imageNamed:@"header"] forBarMetrics:UIBarMetricsDefault]; [[UINavigationBar appearance]…
Sheehan Alam
  • 60,111
  • 124
  • 355
  • 556
6
votes
2 answers

macOS X Mojave - Light and Dark appearance mode toggles

Has anyone found a way to toggle between the Light and Dark appearance modes using macOS X Mojave- with a keyboard shortcut or terminal command?
jakimo
  • 79
  • 2
6
votes
3 answers

Color of the text is not changing when style including textColor is applied to textAppearance of textView

I want to reduce my xml code repetition. So I made some standard styles for text in textView. We can apply styles under 'style' attribute as well as 'android:textAppearance' attribute in textView. Below are some styles I made for text…
Vipul Kumar
  • 653
  • 8
  • 14
6
votes
3 answers

tkk checkbutton appears when loaded up with black box in it

I create a check button / box, with the following call x=ttk.Checkbutton(tab1,state='disabled',command = lambda j=i,x=k: fCheckButton(j,x)) x.state(['selected']) The box appears fine and is selected, but it appears on load up, with a black box in…
Ab Bennett
  • 1,391
  • 17
  • 24
6
votes
1 answer

UITableViewCell appearance not changing textLabel font

I have the following code in my didFinishLaunchingWithOptions function : [[[UITableViewCell appearance] textLabel]setFont:[UIFont fontWithName:@"someFont" size:12]]; But for some reason this does not change the text in my table cells. If in the…
oopsi
  • 1,919
  • 3
  • 21
  • 28
6
votes
1 answer

change shortcode appearance in wordpress tinymce editor

Is it possible to change shortcode appearance in Wordpress TinyMCE editor? One of my clients has no HTML knowledge and it's really hard to explain him what not to edit on subpages. By default, shortcodes look like this: And I want to achieve…
forkie
  • 592
  • 2
  • 6
  • 14
5
votes
2 answers

How to ovverride UINavigationBar appearance if already customized

In the application delegate within my application I call the following method: - (void)customizeAppearance { UIImage *gradientPortrait = [[UIImage imageNamed:@"gradient_portrait"] resizableImageWithCapInsets:UIEdgeInsetsMake(0, 0, 0,…
Lorenzo B
  • 33,216
  • 24
  • 116
  • 190
1 2
3
22 23