DXGL r766 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r765‎ | r766 | r767 >
Date:05:37, 4 December 2017
Author:admin
Status:new
Tags:
Comment:
Fix mismatched scaling between dialog and tabs.
Fix "About" tab appearing offset, covering part of the other tabs.
Modified paths:
  • /dxglcfg/dxglcfg.cpp (modified) (history)
  • /dxglcfg/dxglcfg.rc (modified) (history)

Diff [purge]

Index: dxglcfg/dxglcfg.cpp
@@ -1770,6 +1770,8 @@
17711771 ShowWindow(hTabs[3], SW_HIDE);
17721772 ShowWindow(hTabs[4], SW_HIDE);
17731773 ShowWindow(hTabs[5], SW_HIDE);
 1774+ ShowWindow(hTabs[6], SW_HIDE);
 1775+ ShowWindow(hTabs[7], SW_HIDE);
17741776 tabopen = 0;
17751777
17761778 // Load global settings.
Index: dxglcfg/dxglcfg.rc
@@ -31,9 +31,9 @@
3232 //
3333 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
3434 IDD_DXGLCFG DIALOG 0, 0, 354, 242
35 -STYLE DS_3DLOOK | DS_CONTEXTHELP | DS_SETFONT | WS_CAPTION | WS_SYSMENU
 35+STYLE DS_3DLOOK | DS_CONTEXTHELP | DS_SHELLFONT | WS_CAPTION | WS_SYSMENU
3636 CAPTION "DXGL Config"
37 -FONT 8, "Ms Shell Dlg 2"
 37+FONT 8, "Ms Shell Dlg"
3838 {
3939 LTEXT "Application profile", IDC_STATIC, 7, 7, 58, 8, SS_LEFT, WS_EX_LEFT
4040 COMBOBOX IDC_APPS, 7, 17, 287, 195, WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | 0x00000400, WS_EX_LEFT