mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
* Source/NSTextView.m (-setRulersVisible:): Create a horizontal ruler on
the scroll view if needed - this seems to be the OS X behaviour. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32932 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2042ff816c
commit
9db8881062
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-04-26 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/NSTextView.m (-setRulersVisible:): Create a horizontal ruler on
|
||||
the scroll view if needed - this seems to be the OS X behaviour.
|
||||
|
||||
2011-04-21 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/NSImage.m (-nativeDrawInRect:...): Fix a bug in my recent change
|
||||
|
|
|
@ -1448,6 +1448,10 @@ to make sure syncing is handled properly in all cases.
|
|||
_tf.is_ruler_visible = flag;
|
||||
if (sv != nil)
|
||||
{
|
||||
if (_tf.is_ruler_visible && ![sv hasHorizontalRuler])
|
||||
{
|
||||
[sv setHasHorizontalRuler: YES];
|
||||
}
|
||||
[sv setRulersVisible: _tf.is_ruler_visible];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue