Comments (5)
You are putting the button in a container with layout (GridWrapLayout). The Resize
function on button will be called by the layout to manage the size and position. If you want to manually resize widgets using Resize
, you must put them in a container without a layout (container.NewWithoutLayout
) and then you need to manually manage the size and position. Or more likely what you want is a different layout that allows the buttons to be bigger.
from fyne.
I want make the logo become bigger, using container.NewWithoutLayout is make the size bigger, but not the logo size
from fyne.
The size of the logo is managed by the button widget and is set to a standard size. If you need the icon to be bigger, you will need to use a custom widget, or open a feature request (not a bug report) for allowing the button icons to scale up if the button itself is larger.
from fyne.
can you give me an example of custom widget?
from fyne.
https://docs.fyne.io/extend/custom-widget
from fyne.
Related Issues (20)
- Calling SetContent from Window OnDropped can freeze application HOT 5
- Can I get access to the NewOverlayContainer() func? HOT 2
- Implement storage APIs for web driver HOT 5
- Entry text flickering while typing HOT 4
- Interface of widget.TextSegment has been broken on develop HOT 12
- Conflict between button and progress bar located on two adjacent columns. Regression in fyne 2.4.4 vs 2.4.3
- demo.fyne.io has performence issure HOT 1
- Grid loses its adaptivity if used as a SimpleRenderer in custom widget HOT 2
- Clipboard not working in web app HOT 7
- Fyne app freezes with file dialog in /dev/ HOT 3
- Mouse becomes misaligned
- [Internal optimization] Add a static labelMinSize function that can get the min size of a label without actually creating one
- FileDialog.SetOnClosed not always working HOT 2
- Complete internationalisation support
- New threading model HOT 2
- GridWrap ScrollToOffset API doesn't properly validate offset when viewport is larger than the full content
- Rework fix for #4445 for v2.4.5, avoiding atomic primitives HOT 1
- CTRL+A shortcut not working (CTRL+S etc works though) HOT 6
- run demo error:# runtime/cgo cgo: cannot parse $WORK\b228\_cgo_.o as ELF, Mach-O, PE or XCOFF HOT 1
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 fyne.