Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Adjust Window Height to Fit Text
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Jeffmagma




PostPosted: Thu Dec 10, 2015 7:03 pm   Post subject: Adjust Window Height to Fit Text

What is it you are trying to achieve?
Make the window small enough to just fit a line of text


What is the problem you are having?
The window height won't go under around 30 or 40 pixels


Describe what you have tried to solve this problem
I've tried to make the height 0, but nothing has changed


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
Turing:

var error := Window.Open ("graphics:0;0;nocursor;nobuttonbar")


Please specify what version of Turing you are using
OpenTuring 1.0.1,
Sponsor
Sponsor
Sponsor
sponsor
Dreadnought




PostPosted: Fri Dec 11, 2015 3:41 pm   Post subject: Re: Adjust Window Height to Fit Text

I think that Windows has a lower limit on the size a window can have. Seems like 86x36 is the smallest possible window size you can get.
Jeffmagma




PostPosted: Sat Dec 12, 2015 8:11 am   Post subject: Re: Adjust Window Height to Fit Text

ok thanks, i guess ill just add some text border to make it look cool
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: