Questions tagged [user-preferences]

73 questions
55
votes
3 answers

Vista/7: How to get glass color?

How do you use DwmGetColorizationColor? The documentation says it returns two values: a 32-bit 0xAARRGGBB containing the color used for glass composition a boolean parameter that is true "if the color is an opaque blend" (whatever that…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
34
votes
1 answer

How to register user defaults using NSUserDefaults without overwriting existing values?

I have an AppDelegate class with +(void)initialize method that I use to register some defaults. Here's the code that I use: + (void)initialize { NSDictionary *defaults = [NSDictionary dictionaryWithObjectsAndKeys:@"NO", @"fooKey", @"YES",…
Eimantas
  • 48,927
  • 17
  • 132
  • 168
21
votes
2 answers

How to get programmatically the data usage limit set by user on Android OS configuration?

User can define at Data Usage screen a limite and/or a warning limit for mobile data usage. So how can I get this information by code? Screen of Data Usage configuration of native OS. I wanna the limit value and warning value. I've already tried…
21
votes
3 answers

Storing iPhone application settings in app

My iPhone app has few settings that users is likely to change quite often. I would like to know if there's any suggested way of handling such settings (reading and saving them). On Apple sites I found only a tutorial about integrating your…
RaYell
  • 69,610
  • 20
  • 126
  • 152
16
votes
6 answers

Reset default settings in WebStorm

I have applied this theme to WebStorm, but I do not like it. How can I revert to WebStorm's default setting?
Stalso
  • 1,468
  • 2
  • 12
  • 21
10
votes
3 answers

Windows Ribbon Framework: How to change font face and size?

How do you change the font face and font size used by the Windows Ribbon Framwork's UIRibbon? The font used by the ribbon does not match the font the user has chosen as their Windows preferences - which is the preference my application uses. This…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
7
votes
1 answer

How do you handle user preferences?

Like most software, users are able to specify how they'd like to handle certain things. In my case, users can specify what kind of formatting they would prefer. There are 3 options, leave unformatted, camel case or proper case. I currently have it…
Mike
  • 4,257
  • 3
  • 33
  • 47
6
votes
3 answers

How do I clone my git repo of sublime-text-2 settings to another computer

I have my current sublime-text-2 "Packages/User" folder in a git repo (on github) How do I clone it into an existing folder "Application Support/Sublime Text 2" now that I am on a new computer? Here is the…
andxyz
  • 3,848
  • 2
  • 18
  • 18
5
votes
1 answer

Using user preferences in Firefox addon

I'm building a Firefox Extension. It's injecting CSS into one website. But I want to inject it accordingly to user preferences. This is the most important part in my add-on: exports.main = function() { var pageMod = require("page-mod"); var test =…
user1882981
  • 188
  • 1
  • 2
  • 15
4
votes
1 answer

Archiving Custom Object in Swift - Extended

I am working on an iOS App on Swift 4.0. The app uses an 3rd party SDK where there is a model lets say, class Customer: NSCopying, NSObject { var name: String! var age: Int! var address: Address! } At that point I have no control to…
Sazzad Hissain Khan
  • 37,929
  • 33
  • 189
  • 256
3
votes
2 answers

Settings Bundle - giving a slider item a title

Could anyine tell me what the preferred method is for giving a slider item a title when configuring Root.plist in XCode please? I have scoured all the documentation and played around with a dummy Root.plist file (including getting XCode to crash by…
VectorVictor
  • 693
  • 1
  • 10
  • 20
3
votes
1 answer

How can I make SublimeText version 4's autocomplete behave like version 3?

I recently, too-trustingly, upgraded my Sublime Text 3 to Version 4 (Build 4107). Now auto complete behaves completely differently. It now has a pop-up from which I must select a choice - before I would just hit tab and it would choose the best…
2
votes
0 answers

Persist user preferences in a cookie on a MVC 4 intranet site using windows authentication

I'm building a new intranet site using Windows Authentication. The site has a number of user configurable features that I'd like to persist on the client in something like a cookie. Using cookies with Forms Authentication is a no-brainer, but I…
2
votes
2 answers

WPF version of .ScaleControl?

What is the WPF version of Control.ScaleControl? i am trying to honor the user's font preference by setting the font to the IconTitleFont: private void ApplyUserFontPreferences() { this.FontFamily = SystemFonts.IconFontFamily; this.FontSize =…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
2
votes
3 answers

Where in the IntelliJ preferences/settings do I specify a JVM?

On macOS, we can add another JVM while having old versions of the JVM still installed. How do I point IntelliJ 2017.2 to another version of my JVM? I can find no such setting in the Preferences window. Preferences > Build, Execution, Deployment –…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
1
2 3 4 5