Big GUI bug?
Moderator: OpenTTD Developers
Big GUI bug?
I am in the process of making a double size gui to help usability on higher resolution and touchscreen devices but I am getting some wierd behaviour of the toolbar.
With the double size icons the toolbar always switches to the half length mode, even if there would be space for the full toolbar. Is this intended behaviour? Or is it a bug? The grf is not suitable for general consumption yet but I will pm it for testing purposes...
With the double size icons the toolbar always switches to the half length mode, even if there would be space for the full toolbar. Is this intended behaviour? Or is it a bug? The grf is not suitable for general consumption yet but I will pm it for testing purposes...
- Attachments
-
- Unnamed, 13th Jan 1950 Crop.png
- (38.48 KiB) Downloaded 1 time
Re: Big GUI bug?
Seems to be a bug. Could you pm me the grf so I can do some tests?
Re: Big GUI bug?
Not sure whether it's a bug or somewhat of a misfeature; the toolbar is 640 pixels wide for aesthetical reasons. It doesn't get any bigger than that when you use bigger sprites, although you seem to trigger the behaviour implemented for small screen devices.
Re: Big GUI bug?
It did just seem a bit wierd, I have pm'd the grf to Yexo for some testing...
Re: Big GUI bug?
Turns out the scenario editor toolbar behaves very strangely too...
- Attachments
-
- screenshotcrop.png
- (20.42 KiB) Downloaded 1 time
Re: Big GUI bug?
Fixed in r20807. I hope it works as you expect now.
Re: Big GUI bug?
Cool thanks! I noticed one more little bug with the big GUI; when opening a window (excluding the road/rail/etc. building toolbars) with a default position of the top of the viewport it gets positioned at the bottom instead.
You can replicate this by opening the train vehicle list with the big GUI enabled - the window gets placed at the bottom of the viewport instead of the top.
You can replicate this by opening the train vehicle list with the big GUI enabled - the window gets placed at the bottom of the viewport instead of the top.
Re: Big GUI bug?
Awesome, thank you
Re: Big GUI bug?
Funny thing, double size was in the game a bit ago, but it was removed for some reason Personally I'd like it since everything is quite small and unusable at 2560*1600.
- NekoMaster
- Tycoon
- Posts: 4001
- Joined: 16 Aug 2008 22:26
- Skype: neko-master
- Location: Oshawa, Ontario, CANADA
Re: Big GUI bug?
You know, I dont ever remeber double size guis... this might be something nice to try some time :3
Proud Canadian
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
Re: Big GUI bug?
I think it was windows only and thats why it was removed.Ihmemies wrote:Funny thing, double size was in the game a bit ago, but it was removed for some reason Personally I'd like it since everything is quite small and unusable at 2560*1600.
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/
Re: Big GUI bug?
it also conflicted with the blitter rewrite.
Re: Big GUI bug?
*Nudge* Just a little nudge... Is there any chance of support for larger fonts any time soon? I have attached the test new font grfs if any devs feel like testing...
- Attachments
-
- BigFonts.zip
- (24.9 KiB) Downloaded 78 times
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Big GUI bug?
Well, I did play around with them a bit, trying to find where things go wrong. I noticed that some letters were mis-represented within those fonts, though (see attached screenshot snippet): ä, ö, ü, ß are given incorrectly as the æ, ø,... so I guess they are just in the wrong location within that font: it should correctly read "Straßen", "Bahnhöfe", "Flughäfen"Zephyris wrote:*Nudge* Just a little nudge... Is there any chance of support for larger fonts any time soon? I have attached the test new font grfs if any devs feel like testing...
I consider it more of a feature request than a bug (as the current system was still not designed to handle differently sized sprite fonts), but sure, it makes sense, is very useful and is not forgotten. It "just" needs quite a bit more than a quick fix.Zephyris wrote:So... the big GUI/big fonts bugs, is there interest in trying to solve them?
- Attachments
-
- wrong letters
- Unbenannt, 11-01-2050.png (34.42 KiB) Viewed 3519 times
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Big GUI bug?
Looking very nice! Thanks so much! Though I should have known it would be more complex to code than I imagined
I'll have a look at fixing the incorrect characters, it should be simple, all the grfs are generated by scripts!
I'll have a look at fixing the incorrect characters, it should be simple, all the grfs are generated by scripts!
Re: Big GUI bug?
Found the bug, I had two missing sprites (the small up and down arrows, sprites 158 and 159). The scripts are now fixed and I will make corrected big font grfs asap!
Re: Big GUI bug?
New big font grfs... These should have sorted the shifted characters.
- Attachments
-
- OpenGFX+BigFonts.zip
- (24.91 KiB) Downloaded 62 times
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Big GUI bug?
Uhm... something surely is shifted. But then, I'm sure differently than intended:
- Attachments
-
- Unnamed, 27-01-2050.png (67.09 KiB) Viewed 3306 times
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Big GUI bug?
Arg, messed up the big font. This version should be fixed.
- Attachments
-
- OpenGFX+LLFont.grf
- (20.99 KiB) Downloaded 74 times
Who is online
Users browsing this forum: No registered users and 23 guests