Rubrik, scroll to end?
Hi guys, anyone knows how to do a "scroll-to-end" with rubrik? thanks, Esteban
in an incredible ugly way, yes... :) consoleTextModel := RubScrolledTextModel new. consoleTextArea := consoleTextModel newScrolledText beWrapped. ... consoleTextArea scrollPane vScrollbarValue: 1; updateScrollbars. On Aug 23, 2013, at 11:44 AM, Martin Dias <tinchodias@gmail.com> wrote:
Esteban,
Did you success to do it? do you know how to "scroll-to-end" in spec/morph?
MartÃn
On Thu, Aug 15, 2013 at 5:56 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote: Hi guys,
anyone knows how to do a "scroll-to-end" with rubrik?
thanks, Esteban
thanks! On Fri, Aug 23, 2013 at 11:49 AM, Esteban Lorenzano <estebanlm@gmail.com>wrote:
in an incredible ugly way, yes... :)
consoleTextModel := RubScrolledTextModel new. consoleTextArea := consoleTextModel newScrolledText beWrapped.
...
consoleTextArea scrollPane vScrollbarValue: 1; updateScrollbars.
On Aug 23, 2013, at 11:44 AM, Martin Dias <tinchodias@gmail.com> wrote:
Esteban,
Did you success to do it? do you know how to "scroll-to-end" in spec/morph?
MartÃn
On Thu, Aug 15, 2013 at 5:56 PM, Esteban Lorenzano <estebanlm@gmail.com>wrote:
Hi guys,
anyone knows how to do a "scroll-to-end" with rubrik?
thanks, Esteban
Hi, I've added #scrollToTop and #scrollToBottom in RubScrolledTextMorph. Notice that you can use a RubConfigurationChanged announcement to reconfigure views: | consoleTextModel | consoleTextModel := RubScrolledTextModel new. (consoleTextModel newScrolledText beWrapped embeddedInMorphicWindowLabeled: 'Rubric try') openInWorld. consoleTextModel setText: 'some text .....'. consoleTextModel announce: (RubConfigurationChanged new configurationBlock: [:view | view scrollToBottom ]) or: | consoleTextModel | consoleTextModel := RubScrolledTextModel new. (consoleTextModel newScrolledText beWrapped embeddedInMorphicWindowLabeled: 'Rubric try') openInWorld. consoleTextModel setText: 'some text .....'. consoleTextModel reconfigureViewWith: [:view | view scrollToBottom ]. Cheers Alain Le 23 août 2013 à 11:49, Esteban Lorenzano <estebanlm@gmail.com> a écrit :
in an incredible ugly way, yes... :)
consoleTextModel := RubScrolledTextModel new. consoleTextArea := consoleTextModel newScrolledText beWrapped.
...
consoleTextArea scrollPane vScrollbarValue: 1; updateScrollbars.
On Aug 23, 2013, at 11:44 AM, Martin Dias <tinchodias@gmail.com> wrote:
Esteban,
Did you success to do it? do you know how to "scroll-to-end" in spec/morph?
MartÃn
On Thu, Aug 15, 2013 at 5:56 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote: Hi guys,
anyone knows how to do a "scroll-to-end" with rubrik?
thanks, Esteban
participants (3)
-
Esteban Lorenzano -
Martin Dias -
plantec