mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-09 16:45:46 -07:00
prevent text wrapping, prevent logintimer from reloading (preserve time)
This commit is contained in:
parent
5e90004474
commit
f8dcbfafdb
3 changed files with 9 additions and 3 deletions
|
|
@ -191,8 +191,10 @@ object Helpers {
|
|||
}
|
||||
|
||||
fun formatHtmlLabelText(text1: String, color1: Color, text2: String, color2: Color): String {
|
||||
return "<html><span style='color:rgb(${color1.red},${color1.green},${color1.blue});'>$text1</span>" +
|
||||
"<span style='color:rgb(${color2.red},${color2.green},${color2.blue});'>$text2</span></html>"
|
||||
return "<html><div style='white-space:nowrap;'>" +
|
||||
"<span style='color:rgb(${color1.red},${color1.green},${color1.blue});'>$text1</span>" +
|
||||
"<span style='color:rgb(${color2.red},${color2.green},${color2.blue});'>$text2</span>" +
|
||||
"</div></html>"
|
||||
}
|
||||
|
||||
fun formatNumber(value: Int): String {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue