Comments (8)
Les élément textuels qui possède des semblable (#bouton du menu) prènne la taille la plus grande possible telle que tout ai la meme taille.
from formiko.
Button test have been fix by using default way to print text.
from formiko.
We still need to find someting for Desc & other thing
from formiko.
/*
public Rectangle2D getStringBounds(String str,FontRenderContext frc);
c'est sencé pemetre d'avoir juste la dimention qu'il faut pour un textes
*/
from formiko.
We still need to fined a funtion to do that. (Fined best size for text gui element)
from formiko.
We have this issue with some JLabel because the text change, so size need to change also.
from formiko.
Maybe calling a gui update for size can be done by having a Layout manager
from formiko.
This simple line was the solution.
public void updateSize(){
setSize((int)(Math.ceil(this.getFontMetrics(this.getFont()).stringWidth(getText()))),FLabel.getDimY());
}
from formiko.
Related Issues (20)
- Move formiko data from Folder to FFolder HOT 1
- Web site symbols insted of world
- color of selected onglet to fix
- Javadoc use same header than web site HOT 2
- Add a gui option to find all our ant & our anthill
- Bigger & personalised FCheckBox
- Add a loading bar to FPanelChargement as for data download.
- Launcher: Launcher can't launch java in /opt/... HOT 6
- Launcher: Downloaded mac version don't work HOT 2
- When uninstalling ask user if we need to remove .formiko/
- Add a thanks for downloading page for every OS
- Step by step download pages on web site
- Launcher GUI
- javadoc favicon is missing
- fichier.downloadAndUnzip() don't work on my computer HOT 1
- Save all size of each stable file so that we can fix game easily.
- Auto translations with Deepl HOT 1
- People translation HOT 1
- FPanelOptions ask to restart game if Frame size have been edited
- Auto save on leave Game/Partie
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from formiko.