Questions tagged [customization]

Modifying the default state of an application to suit a user's preferences or to address the unique requirements of a particular objective.

An app that supports customization may allow users to change default values, colors, or settings and persist those changes for the next time the user runs the app.

Customization can also refer to modifying configuration settings or modifying source code to make a "prepackaged" software product meet a requirement that is unique to a particular customer or environment. For example, if an app needs to fetch data from a server, the specific details of how the app should connect to the server (URL, protocol, credentials) are usually externalized in a configuration file so they can be easily customized without requiring code modifications.

4611 questions
64
votes
6 answers

How to customize the tooltip of a Chart.js 2.0 Doughnut Chart?

I'm trying to show some data using a doughnut chart from Chart.js2. My current chart looks like this: My desired output must show another attribute, which is the percentage, and looks like this: I've read the documentation, but I can't cope with…
RamAlx
  • 6,976
  • 23
  • 58
  • 106
60
votes
11 answers

customize chrome developer tool javascript debugger keyboard shortcuts?

I can't believe that neither a Google or SO search has turned up a definitive answer or even much discussion for this, but: Is it possible to edit/customize keyboard shortcuts in the Google Chrome JavaScript debugger? if so, how? I'm used to…
60
votes
4 answers

Android toggle button custom look

I've been trying to customize the toggle button look but with no success. Here is how I want it to look like: Can someone give me a tutorial?
Mihai Bratulescu
  • 1,915
  • 3
  • 27
  • 43
59
votes
3 answers

Styling part of label in legend in matplotlib

Is it possible to have part of the text of a legend in a particular style, let's say, bold or italic?
englebip
  • 955
  • 1
  • 11
  • 17
58
votes
1 answer

How to add a custom payment gateway to Social Engine

I need to integrate a new payment gateway to our corporate website, which is based on Social Engine. There is an extension for this CMS called Advanced Payment Gateways which allows integration of new gateways. In fact, it gets your gateway name and…
Mehdi Haghgoo
  • 3,144
  • 7
  • 46
  • 91
57
votes
5 answers

Android Animate Rotate

I did some digging in Android code, and saw the use of in the indeterminate progress bar. after trying to create my own drawable with this tag:
oriharel
  • 10,418
  • 14
  • 48
  • 57
57
votes
5 answers

How to create a closed (circular) ListView?

I want to create a customized ListView (or similar) which will behave like a closed (circular) one: scrolling down - after the last item was reached the first begins (.., n-1, n, 1, 2, ..) scrolling upward - after the first item was reached the…
user281076
  • 571
  • 1
  • 5
  • 3
54
votes
6 answers

How to create a C compiler for custom CPU?

What would be the easiest way to create a C compiler for a custom CPU, assuming of course I already have an assembler for it? Since a C compiler generates assembly, is there some way to just define standard bits and pieces of assembly code for the…
JustJeff
  • 12,640
  • 5
  • 49
  • 63
54
votes
7 answers

Plural String Formatting

Given a dictionary of ints, I'm trying to format a string with each number, and a pluralization of the item. Sample input dict: data = {'tree': 1, 'bush': 2, 'flower': 3, 'cactus': 0} Sample output str: 'My garden has 1 tree, 2 bushes, 3 flowers,…
mhlester
  • 22,781
  • 10
  • 52
  • 75
54
votes
7 answers

Print an error message without printing a traceback and close the program when a condition is not met

I've seen similar questions to this one but none of them really address the trackback. If I have a class like so class Stop_if_no_then(): def __init__(self, value one, operator, value_two, then, line_or_label, line_number): …
user2560035
  • 701
  • 2
  • 6
  • 12
53
votes
3 answers

Android Using layer-list for button selector

How do we use a layer-list as a drawable for a button. I have a button:
Amandeep Chugh
  • 727
  • 1
  • 6
  • 11
53
votes
3 answers

Vim: Smart indent when entering insert mode on blank line?

When I open a new line (via 'o') my cursor jumps to a correctly indented position on the next line. On the other hand, entering insert mode while my cursor is on a blank line doesn't move my cursor to the correctly indented location. How do I make…
Dane O'Connor
  • 75,180
  • 37
  • 119
  • 173
53
votes
9 answers

Value cannot be null. Parameter name: value, CreateIdentityAsync?

I created a ViewModel(UserModel) that implement IUser (for customizing ASP.NET Identity 2.0) public class UserModel : IUser { public int Id { get; set; } public string SecurityStamp { get; set; } [Display(Name = "Name")] …
Mohammad Dayyan
  • 21,578
  • 41
  • 164
  • 232
53
votes
7 answers

Is there a "right" way to have NSTextFieldCell draw vertically centered text?

I have an NSTableView with several text columns. By default, the dataCell for these columns is an instance of Apple's NSTextFieldCell class, which does all kinds of wonderful things, but it draws text aligned with the top of the cell, and I want the…
e.James
  • 116,942
  • 41
  • 177
  • 214
52
votes
3 answers

Keycloak retrieve custom attributes to KeycloakPrincipal

In my rest service i can obtain the principal information after authentication using KeycloakPrincipal kcPrincipal = (KeycloakPrincipal) servletRequest.getUserPrincipal(); statement. Keycloak principal doesn't contain all the information i need…
Alex
  • 1,515
  • 2
  • 22
  • 44