Guest Posted December 4, 2010 Posted December 4, 2010 Message from: "Junior/RO" Do you have a TicTacToe sample? Yesterday, I made a conversion to uniGui of a TicTacToe game. I think that still have bugs but worked. The display is : - OK in Firefox and Opera. - Weird in IE8. - OK in Chrome in my machine A and ugly in my machine B. Please see the game. Will be online for the next 3 hours. I will like some comments about it: http://xendra.myvnc.com:8077/ -- Que é essa vida se, com tanto a fazer, não temos tempo para parar e ver? . Quote
Guest Posted December 4, 2010 Author Posted December 4, 2010 Message from: "Farshad Mohajeri" "Junior/RO" wrote in message news:zSYg7V%23kLHA.2084@anaxagvs227... > Do you have a TicTacToe sample? > > Yesterday, I made a conversion to uniGui of a TicTacToe game. > > I think that still have bugs but worked. > > The display is : > - OK in Firefox and Opera. > - Weird in IE8. > - OK in Chrome in my machine A and ugly in my machine B. > > > Please see the game. Will be online for the next 3 hours. I will like some > comments about it: > > http://xendra.myvnc.com:8077/ > > -- Nice! You can never beat the computer because it always does the right move. . Quote
Guest Posted December 6, 2010 Author Posted December 6, 2010 Message from: "Junior/RO" Farshad Mohajeri escreveu: > Nice! You can never beat the computer because it always does the right move. I'm having display problems with the buttons. Works OK with Opera and Firefox, but displays ulgy with Chrome. I have tried with Comics Sans MS and Arial. Any ideas? -- Que é essa vida se, com tanto a fazer, não temos tempo para parar e ver? . Quote
Guest Posted December 6, 2010 Author Posted December 6, 2010 Message from: "Farshad Mohajeri" "Junior/RO" wrote in message news:nSG9NEPlLHA.2316@anaxagvs227... > Farshad Mohajeri escreveu: > >> Nice! You can never beat the computer because it always does the right >> move. > > I'm having display problems with the buttons. > > Works OK with Opera and Firefox, but displays ulgy with Chrome. > > I have tried with Comics Sans MS and Arial. Any ideas? > > -- Well, that's default Ext JS behaviour. I think yo have labels on top of buttons. Why don't you use buttons only? . Quote
Guest Posted December 6, 2010 Author Posted December 6, 2010 Message from: "Junior/RO" Farshad Mohajeri escreveu: > Well, that's default Ext JS behaviour. I think yo have labels on top of buttons. Why don't you use buttons only? Only buttons: TMainForm = class(TUniForm, ITicTacToeUI) Panel1: TUniButton; Panel2: TUniButton; Panel3: TUniButton; Panel4: TUniButton; Panel5: TUniButton; Panel6: TUniButton; Panel7: TUniButton; Panel8: TUniButton; Panel9: TUniButton; QuemComeca: TUniLabel; Historico: TUniMemo; btnComputadorComeca: TUniButton; btnUsuarioComeca: TUniButton; -- Que é essa vida se, com tanto a fazer, não temos tempo para parar e ver? . Quote
Guest Posted December 6, 2010 Author Posted December 6, 2010 Message from: "Junior/RO" Junior/RO escreveu: > Only buttons: Button.Caption := 'X'; Please see the image attached, running with IE8. -- Que é essa vida se, com tanto a fazer, não temos tempo para parar e ver? Quote
Guest Posted December 6, 2010 Author Posted December 6, 2010 Message from: "Farshad Mohajeri" "Junior/RO" wrote in message news:%23EtoHfSlLHA.232@anaxagvs227... > Junior/RO escreveu: > >> Only buttons: > > > Button.Caption := 'X'; > > Please see the image attached, running with IE8. > it seems that IE doesn't align Text properly with large fonts on buttons. For your project it is better to use TUniImage or TUniPanel, but they don't support OnClick right now. In future versions of uniGUI, OnClick will be implemented for almost all of the controls. . Quote
Guest Posted December 6, 2010 Author Posted December 6, 2010 Message from: "Junior/RO" Farshad Mohajeri escreveu: > it seems that IE doesn't align Text properly with large fonts on buttons. Problems with Chrome 8 too. Please see the atached image. -- Que é essa vida se, com tanto a fazer, não temos tempo para parar e ver? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.