I think Angular's for dynamic (i.e. two way) binding of data to HTML (change 
the variable to move the slider, move the slider to change the variable). 
What's needed here is just better CSS, like
height: 50%;width: 100%;
for the .outlinepane div.
Cheers -Terry

 
      From: Don Dwiggins <[email protected]>
 To: [email protected] 
 Sent: Tuesday, October 4, 2016 11:57 AM
 Subject: Re: mod_http has been (partially) rewritten
   
 Re the static vs. dynamic issue: there are some packages out there that 
address that problem; one example that I'm slightly aware of is AngularJS 
(https://angularjs.org/).  It might be worth some research.
 
 
 Don
 
 On 10/4/16 9:31 AM, Edward K. Ream wrote:
  
 
 On Tue, Oct 4, 2016 at 9:08 AM, Chris George <[email protected]> wrote:
  
  The window that the file/tree renders in is very small, about 1/6 of the area 
of my screen. The little handle in the lower right corner allows me to make the 
window as wide as the browser/screen but won't let me make it as tall. Is it 
possible to simply let the file/tree fill the entire browser/screen, both 
horizontally and vertically?  
 
 ​Good question.  The answer is "yes, but", ​  with several parts to the answer:
 
  1. The easy way is to adjust these settings in
 @data user_http_stylesheet in myLeoSettings.leo:
 
 div.outlinepane {
     resize: horizontal;
     position: absolute;
     top: 10px;
     height: 300px;
     width: 1000px;
 }
 div.bodypane {
     resize: both;
     position: absolute;
     top: 310px;
     height: 500px;
     width: 1000px;
 }
 
  This static solution is weak: you have to make sure that the top of the body 
pane is below the bottom of the outline pane.
 
  2. A better solution would be to adjust all this dynamically, maybe even with 
a slider in between.  But unless you are a .css wiz, I wouldn't go there.
 
  If anybody can show us how to do the job elegantly, I'd like to see it.
 
  Edward
      -- 
 You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
 To unsubscribe from this group and stop receiving emails from it, send an 
email to [email protected].
 To post to this group, send email to [email protected].
 Visit this group at https://groups.google.com/group/leo-editor.
 For more options, visit https://groups.google.com/d/optout.
 
   -- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


   
 

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to