Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/sanear.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Marsev <alex.marsev@gmail.com>2015-09-18 13:28:55 +0300
committerAlex Marsev <alex.marsev@gmail.com>2015-09-18 13:28:55 +0300
commitbf6d2bc178c2da4e75f2742139310f7699ea0e95 (patch)
tree07ed24aee2d9347764b0865b8e773feaa12fe37c
parent259346dc1afbb6eb37aa41643fa345a6d10e112f (diff)
Increase property page default width
-rw-r--r--src/MyPropertyPage.cpp3
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));
}