Make controls better size on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -102,6 +102,10 @@ bool wxRichTextFormattingDialog::Create(long flags, wxWindow* parent, const wxSt
|
||||
|
||||
GetFormattingDialogFactory()->SetSheetStyle(this);
|
||||
|
||||
#ifdef __WXMAC__
|
||||
SetWindowVariant(wxWINDOW_VARIANT_SMALL);
|
||||
#endif
|
||||
|
||||
wxPropertySheetDialog::Create(parent, id, title, pos, sz,
|
||||
style | (int)wxPlatform::IfNot(wxOS_WINDOWS_CE, resizeBorder)
|
||||
);
|
||||
|
@@ -145,6 +145,10 @@ bool wxRichTextStyleOrganiserDialog::Create( int flags, wxRichTextStyleSheet* sh
|
||||
|
||||
void wxRichTextStyleOrganiserDialog::CreateControls()
|
||||
{
|
||||
#ifdef __WXMAC__
|
||||
SetWindowVariant(wxWINDOW_VARIANT_SMALL);
|
||||
#endif
|
||||
|
||||
bool hideTypeSelector = false;
|
||||
wxRichTextStyleListBox::wxRichTextStyleType typesToShow = wxRichTextStyleListBox::wxRICHTEXT_STYLE_ALL;
|
||||
|
||||
|
@@ -381,6 +381,10 @@ void wxSymbolPickerDialog::Init()
|
||||
|
||||
void wxSymbolPickerDialog::CreateControls()
|
||||
{
|
||||
#ifdef __WXMAC__
|
||||
SetWindowVariant(wxWINDOW_VARIANT_SMALL);
|
||||
#endif
|
||||
|
||||
////@begin wxSymbolPickerDialog content construction
|
||||
wxSymbolPickerDialog* itemDialog1 = this;
|
||||
|
||||
|
Reference in New Issue
Block a user