mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 07:40:47 +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
a0317c6ad6
commit
7b28e1771c
2 changed files with 9 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue