I continue my struggle to modify a canned bootstrap.min.css, (bootswatch Spacelab), To suit my needs. I think I have the colors/gradient issue licked for the Navbar and buttons. I’ve also been able to modify the Navbar height to be 95 pixels but for the life of me I can’t seem to be able to adjust the Brand Icon size to be larger than 30x30 pixels. It appears that The control will resize whatever icon I throw at it, (Me.Icon = IconName), to have a max witdth/height of 30 pixels even if it is a rectangular icon. I’ve searched the web for clues but there is very little about brand icons that isn’t being done in the HTML rather than the CSS, which of course Xojo is using. Has anyone had any luck with resizing the default brand icon size in CSS?
Bumping because of no replies. Does anyone have a suggestion on resizing the default brand icon size in bootstrap.min.css??
Additionally, is there a way to prevent the toolbar from stretching from edge to edge or allow a control to the be to the left of the toolbar or above the toolbar?
It seems to be - currently - a ‘by design’ thing. No matter what “height” you set for the webtoolbar in the IDE it seems to reset back to 58px at build time - in my testing. The button icons all seem to be hard coded to 24x24 pixels. Inside the button DIV there is a span then img tags - neither have a class assigned for CSS manipulation. The img tag specifically has a height and width attributes set = “24” (again not CSS). You are correct (in your first post) that the toolbar control will resize (on the client browser) as the icon images resize (I tested this by using the Google page inspector and manually adjusting those img attributes back to my icon size of 64x64), although the padding is a bit crazy. This though should be able to be modified through CSS bootstrap.min.css has .nav-link padding for the buttons and .navbar padding around all buttons for the toolbar.
I started out my post saying - currently - because I don’t know what the plans are as Web 2.0 evolves and these controls are modified with properties and styles in the future. To me, the control feels unfinished. I suppose we’d just have to file a feedback request and let them classify it as something that is in the works, by design, or bug.
Thanks for your input Jim. I pretty much have stopped even trying to use the toolbar and Web 2.0 altogether because I’m unable to use it satisfactorily. I’m more than willing to re-write my apps but not until I can successfully achieve the functionality that I have in Web 1.0. I can’t even cobble together something similar because managing control styles are just too cumbersome.