Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
afce80d7
Commit
afce80d7
authored
Jan 31, 2010
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx dialog provider: use default system font for the scripted dialogs
parent
ec59e9f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
modules/gui/macosx_dialog_provider/dialogProvider.m
modules/gui/macosx_dialog_provider/dialogProvider.m
+2
-0
No files found.
modules/gui/macosx_dialog_provider/dialogProvider.m
View file @
afce80d7
...
@@ -964,6 +964,7 @@ static NSView *createControlFromWidget(extension_widget_t *widget, id self)
...
@@ -964,6 +964,7 @@ static NSView *createControlFromWidget(extension_widget_t *widget, id self)
[
field
setEditable
:
NO
];
[
field
setEditable
:
NO
];
[
field
setBordered
:
NO
];
[
field
setBordered
:
NO
];
[
field
setDrawsBackground
:
NO
];
[
field
setDrawsBackground
:
NO
];
[
field
setFont
:[
NSFont
systemFontOfSize
:
0
]];
[[
field
cell
]
setControlSize
:
NSRegularControlSize
];
[[
field
cell
]
setControlSize
:
NSRegularControlSize
];
[
field
setAutoresizingMask
:
NSViewNotSizable
];
[
field
setAutoresizingMask
:
NSViewNotSizable
];
return
field
;
return
field
;
...
@@ -973,6 +974,7 @@ static NSView *createControlFromWidget(extension_widget_t *widget, id self)
...
@@ -973,6 +974,7 @@ static NSView *createControlFromWidget(extension_widget_t *widget, id self)
VLCDialogTextField
*
field
=
[[
VLCDialogTextField
alloc
]
init
];
VLCDialogTextField
*
field
=
[[
VLCDialogTextField
alloc
]
init
];
[
field
setWidget
:
widget
];
[
field
setWidget
:
widget
];
[
field
setAutoresizingMask
:
NSViewWidthSizable
];
[
field
setAutoresizingMask
:
NSViewWidthSizable
];
[
field
setFont
:[
NSFont
systemFontOfSize
:
0
]];
[[
field
cell
]
setControlSize
:
NSRegularControlSize
];
[[
field
cell
]
setControlSize
:
NSRegularControlSize
];
[[
NSNotificationCenter
defaultCenter
]
addObserver
:
self
selector
:
@selector
(
syncTextField
:
)
name
:
NSControlTextDidChangeNotification
object
:
field
];
[[
NSNotificationCenter
defaultCenter
]
addObserver
:
self
selector
:
@selector
(
syncTextField
:
)
name
:
NSControlTextDidChangeNotification
object
:
field
];
return
field
;
return
field
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment