diff options
author | Alex Marsev <alex.marsev@gmail.com> | 2015-09-18 13:28:55 +0300 |
---|---|---|
committer | Alex Marsev <alex.marsev@gmail.com> | 2015-09-18 13:28:55 +0300 |
commit | bf6d2bc178c2da4e75f2742139310f7699ea0e95 (patch) | |
tree | 07ed24aee2d9347764b0865b8e773feaa12fe37c | |
parent | 259346dc1afbb6eb37aa41643fa345a6d10e112f (diff) |
Increase property page default width
-rw-r--r-- | src/MyPropertyPage.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/MyPropertyPage.cpp b/src/MyPropertyPage.cpp index 0d76844..ccdad8c 100644 --- a/src/MyPropertyPage.cpp +++ b/src/MyPropertyPage.cpp @@ -198,10 +198,11 @@ namespace SaneAudioRenderer std::vector<char> dialogData;
- SHORT valueWidth = 130;
+ SHORT valueWidth = 200;
if (resize)
{
+ valueWidth = 130;
valueWidth = std::max(valueWidth, GetTextLogicalWidth(adapterField.c_str(), L"MS Shell Dlg", 8));
valueWidth = std::max(valueWidth, GetTextLogicalWidth(endpointField.c_str(), L"MS Shell Dlg", 8));
}
|