Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:18 11 May 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : TFT maximite : how to center e character?

Author Message
f1fco

Senior Member

Joined: 18/03/2012
Location: France
Posts: 155
Posted: 10:08am 15 Jul 2014
Copy link to clipboard 
Print this post

is it a means to center a single character in a TOUCH button on a TFT Maximite ?
and change the size of a single character in a button ?

Pierre, from France
73s de F1FCO
 
atmega8

Guru

Joined: 19/11/2013
Location: Germany
Posts: 723
Posted: 10:39am 15 Jul 2014
Copy link to clipboard 
Print this post

Don't understand your Problem?
Please describe it again with other words.

 
psergiu

Regular Member

Joined: 09/02/2013
Location: United States
Posts: 83
Posted: 10:52am 15 Jul 2014
Copy link to clipboard 
Print this post

If possible, attach a picture with the issue you have.
 
f1fco

Senior Member

Joined: 18/03/2012
Location: France
Posts: 155
Posted: 11:08am 15 Jul 2014
Copy link to clipboard 
Print this post

how to attach a picture ?

a little code :

CLS
TOUCH SIZE 35,35
TOUCH CREATE 0,100,100,"A",1,B
DO
LOOP

you can the the char "A" is not in the center of the square, but on the left side...
try different size of touch is the same problem
its seems it was 2 chars (the A and other invisible char)

I want to create a small DTMF keyboard with 16 touchs (0 to 9,*,#,A,B,C,D)

Pierre



73s de F1FCO
 
f1fco

Senior Member

Joined: 18/03/2012
Location: France
Posts: 155
Posted: 11:09am 15 Jul 2014
Copy link to clipboard 
Print this post

typing error
you can see the char "A" is not in the center of the square, but on the left side...
73s de F1FCO
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 982
Posted: 12:20pm 15 Jul 2014
Copy link to clipboard 
Print this post

  f1fco said   typing error
you can see the char "A" is not in the center of the square, but on the left side...


Without seeing a picture, could you label the square with a space then letter A such as " A" to center the label?
 
f1fco

Senior Member

Joined: 18/03/2012
Location: France
Posts: 155
Posted: 11:35am 16 Jul 2014
Copy link to clipboard 
Print this post

I try you suggestion : " A"
and the A is on the right side of the square, not center !!!

a possibility is to write "A" with the commands :
FONT 2
PRINT @(112,109,5) "A"

and the "A" is (exactly) in the center of the square
but its a "loud" code

Pierre
73s de F1FCO
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025